Skip to content

Forward OpenCode Go worker session IDs without a catalog - #884

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-7647-forward-go-worker-session-id
Sep 11, 2026
Merged

Forward OpenCode Go worker session IDs without a catalog#884
TheGreatAxios merged 1 commit into
mainfrom
cl-7647-forward-go-worker-session-id

Conversation

@TheGreatAxios

Copy link
Copy Markdown
Collaborator

Summary

no-catalog OpenCode Go workers get required non-empty opencodeSessionId via buildGoSource.

Verification

  • Targeted Go session tests pass
  • lint/typecheck/build pass
  • bun run check blocked by 4 known pre-existing main failures (unrelated to this branch; reproduce on clean origin/main):
    1. createOptimizedContextStore load > the next write heals a torn base tail so reload is stable
    2. createOptimizedContextStore unpublished rewrite > git commit failure after rewrite lands keeps load on HEAD
    3. assembleChatAgent > omits evidence archive when no holder is provided
    4. assembleChatAgent > getWorkdir and getCompactor run at buildAgent time, not assemble time

Fixes CL-7647

@linear-code

linear-code Bot commented Sep 10, 2026

Copy link
Copy Markdown

CL-7647

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Review · Approve

No-catalog OpenCode Go workers go through buildGoSource with a required session ID, matching Go Console’s header requirement.

No findings.

Notes

GitHub blocks approve on own PRs, so this is a comment with an approve verdict.

@TheGreatAxios TheGreatAxios left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

Critic · Approve

buildGoSource now requires sessionId like Codex/xAI. Catalog miss uses isOpenCodeGoProvider then buildGoSource. Catalog hit still uses buildInferenceSourceForRef.

No blocking or should-fix findings.

@TheGreatAxios
TheGreatAxios force-pushed the cl-7647-forward-go-worker-session-id branch from 550cb22 to 572e9ea Compare September 11, 2026 03:08
No-catalog subagent Go sources were built through the OpenAI-compatible
path and omitted opencodeSessionId, so Go Console rejected the worker.
Generate one worker session ID up front, route no-catalog Go through
buildGoSource, and require sessionId on that builder.
@TheGreatAxios
TheGreatAxios force-pushed the cl-7647-forward-go-worker-session-id branch from 572e9ea to feff914 Compare September 11, 2026 03:10
@TheGreatAxios
TheGreatAxios merged commit 82fb38d into main Sep 11, 2026
9 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-7647-forward-go-worker-session-id branch September 11, 2026 03:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant