feat: redesign fork-dependent systems for overlay-build world (#1097) - #1110
Merged
jeonghun-jj-lee merged 1 commit intoSep 13, 2026
Merged
Conversation
Redesign 5 systems that assumed a live fork checkout: - Rebuild: uses build:binary from overlay tree (single mode, bun required) - repo-sync: retire --fork mode, remove fork access check, add overlay health - Doctor: staleness via anomalyco/opencode releases, not fork tags - Upgrade: amicode repo git discipline + build:binary, not fork checkout - VSIX build: remove AMICODE_OPENCODE_SRC, use build:binary Key changes: - SurfaceContext.rootRepoFork is now optional (deprecated for S6 migration) - SurfaceContext.upstreamVersion replaces fork-tag-based staleness - queryUpstreamVersion() queries gh api repos/anomalyco/opencode/releases/latest - serverBinaryVerb operates on rootRepoAmicode, not rootRepoFork - Fixture constants updated: FUTURE_BUILD/PAST_BUILD use meaningful versions Part of fork-absorption campaign #1091.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
jeonghun-jj-lee
marked this pull request as ready for review
September 13, 2026 23:22
jeonghun-jj-lee
merged commit Sep 13, 2026
32b8b4f
into
jj/1091-absorb-opencode-fork
9 of 10 checks passed
This was referenced Sep 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Redesigns the 5 systems that assumed a live fork checkout, completing Phase 4a of the fork-absorption campaign (#1091).
Systems redesigned
chat_bridge.ts,main_source_resolver.tsscripts/repo-sync.sh×2--forkexits 2 with explanation; fork access check → overlay manifest healthsurfaces.tsanomalyco/opencodereleases;rootRepoForkoptional;--upstream-versionflag for hermetic testingupgrade.tsmaterialize → build:binary → smoke → freeze; operates onrootRepoAmicodechat_bridge.tsopencodePathneeded; noAMICODE_OPENCODE_SRCNet delta
14 files changed, 267 insertions, 387 deletions — net reduction of 120 lines.
Verification
Notes
checkPendingPromotioninmain_source_resolver.tsstill querieslocal/amicodebut is informational-only and silently degrades — cleanup deferred to S6test/helpers.tsremain for backward compat — test migration is S6's scopeCloses #1097. Part of #1091.