Skip to content

Harden CodeGraph runtime bootstrap / 强化 CodeGraph 运行时启动可靠性#3623

Merged
esengine merged 1 commit into
main-v2from
codex/codegraph-bootstrap-resilience
Jun 9, 2026
Merged

Harden CodeGraph runtime bootstrap / 强化 CodeGraph 运行时启动可靠性#3623
esengine merged 1 commit into
main-v2from
codex/codegraph-bootstrap-resilience

Conversation

@SivanCola

Copy link
Copy Markdown
Collaborator

Summary

  • keep the main package light by downloading CodeGraph on demand, with official R2 first and GitHub release fallback
  • verify downloaded CodeGraph archives against SHA256 values embedded in Reasonix instead of trusting mirror-provided checksums
  • start built-in CodeGraph only in the background, ignoring legacy eager/lazy tier values so chat startup is never blocked
  • default boot workspace discovery to the nearest git root when no explicit workspace root is provided
  • add the release workflow step that mirrors upstream CodeGraph assets into R2 after checksum verification

Verification

  • go test ./internal/codegraph ./internal/boot ./internal/config ./internal/cli
  • go test -run 'Codegraph|MCPServer|Capabilities' -count=1 -v in the desktop module
  • go run github.com/goreleaser/goreleaser/v2@latest check

@SivanCola SivanCola requested a review from esengine as a code owner June 9, 2026 04:15
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@github-actions github-actions Bot added desktop Wails desktop app (desktop/**) tui Terminal UI / CLI (internal/cli, internal/control) v2 Go rewrite (1.x) — main-v2 branch, active development mcp MCP servers / plugins (internal/plugin, codegraph) config Configuration & setup (internal/config) updater Auto-update / installer / release packaging labels Jun 9, 2026

@esengine esengine left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed the diff: the fix is correct, focused, and CI is green. Approving for merge.

@esengine esengine merged commit 823fdce into main-v2 Jun 9, 2026
10 checks passed
@esengine esengine deleted the codex/codegraph-bootstrap-resilience branch June 9, 2026 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

config Configuration & setup (internal/config) desktop Wails desktop app (desktop/**) mcp MCP servers / plugins (internal/plugin, codegraph) tui Terminal UI / CLI (internal/cli, internal/control) updater Auto-update / installer / release packaging v2 Go rewrite (1.x) — main-v2 branch, active development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants