|
| 1 | +# PR 3761 Branch Status |
| 2 | + |
| 3 | +## Scope |
| 4 | + |
| 5 | +This note summarizes the branches involved in PR `#3761` and the final state of each one from this worktree. |
| 6 | + |
| 7 | +PR: `https://github.com/simstudioai/sim/pull/3761` |
| 8 | + |
| 9 | +## Branches |
| 10 | + |
| 11 | +### `staging` |
| 12 | + |
| 13 | +- Role: base branch of PR `#3761` |
| 14 | +- Expected state: unchanged by this worktree |
| 15 | +- Relationship to this work: `feat/opencode-optional-runtime` is intended to merge into `staging` |
| 16 | + |
| 17 | +### `feat/opencode-optional-runtime` |
| 18 | + |
| 19 | +- Role: feature branch for the OpenCode integration and optional runtime overlay |
| 20 | +- Local state: in sync with `origin/feat/opencode-optional-runtime` |
| 21 | +- Worktree state at the end of this session: clean |
| 22 | +- Latest commit at the end of this session: `5ab2b5f4c` |
| 23 | + |
| 24 | +### `origin/feat/opencode-optional-runtime` |
| 25 | + |
| 26 | +- Role: remote branch backing PR `#3761` |
| 27 | +- Remote state at the end of this session: matches local `feat/opencode-optional-runtime` |
| 28 | +- Latest pushed commit at the end of this session: `5ab2b5f4c` |
| 29 | + |
| 30 | +## Final State Of `feat/opencode-optional-runtime` |
| 31 | + |
| 32 | +At the end of this session, the branch contains: |
| 33 | + |
| 34 | +- OpenCode block integration in Sim |
| 35 | +- OpenCode tools, API routes, and `apps/sim/lib/opencode` |
| 36 | +- optional OpenCode runtime overlay under `docker/` and dedicated compose files |
| 37 | +- OpenCode hidden by default behind `NEXT_PUBLIC_OPENCODE_ENABLED` |
| 38 | +- `docker-compose.local.yml` and `docker-compose.prod.yml` preserved as defaults |
| 39 | +- external runtime hardening, including configurable `OPENCODE_REPOSITORY_ROOT` |
| 40 | +- fail-fast production overlay behavior when `OPENCODE_SERVER_PASSWORD` is missing |
| 41 | +- focused fixes for review feedback around: |
| 42 | + - stale session retry handling |
| 43 | + - repository resolution reuse |
| 44 | + - internal URL leakage in route errors |
| 45 | + - Docker runtime detection caching |
| 46 | + - async selector refetch behavior in dropdown/combobox |
| 47 | + - OpenCode retry session persistence |
| 48 | + - root-path and retry-error hardening |
| 49 | + - entrypoint port validation |
| 50 | + |
| 51 | +## Final Commit Sequence Applied In This Session |
| 52 | + |
| 53 | +- `1e174f75a` `fix(opencode): avoid redundant resolution and url leaks` |
| 54 | +- `35fac8dd3` `fix(opencode): clean up low severity review notes` |
| 55 | +- `35949bb16` `fix(opencode): harden root path and retry errors` |
| 56 | +- `3458868ba` `refactor(opencode): keep base url helper private` |
| 57 | +- `a27de0d7c` `fix(editor): avoid stale open-change fetch gating` |
| 58 | +- `a8fb07354` `fix(opencode): persist fresh retry sessions` |
| 59 | +- `2bb744a38` `fix(opencode): tighten retry and entrypoint guards` |
| 60 | +- `5ab2b5f4c` `fix(editor): stabilize async option refetching` |
| 61 | + |
| 62 | +## End-State Summary |
| 63 | + |
| 64 | +- Current branch: `feat/opencode-optional-runtime` |
| 65 | +- Base branch: `staging` |
| 66 | +- PR branch remote: `origin/feat/opencode-optional-runtime` |
| 67 | +- Local/remote divergence at the end of this session: none |
| 68 | +- Worktree cleanliness at the end of this session: clean |
0 commit comments