GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||
GeezerVison is showing github.com — chore(opencode): merge upstream v2.3.2 and remove Loom session mirroring by internetisalie · Pull Request #24 · internetisalie/opencode Conversation
|
|
Remediation at |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Qualification hold on |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
d11e4140de — verdict: approve for mergeMerging is not stage promotion: the stage hold in the description stands, and the rollout conditions below are not met by this PR.
Method. Compared the fork-only delta of the candidate (v2.3.2..d11e4140de, 75 files, +2917/−112) with the fork-only delta of the previous fork (v2.2.3..v2.2.3-internetisalie.2, 87 files), then read the three session commits (06d29b9312, cb61c8967a, d11e4140de) and the mirror removal (c5677c9625) in full. Static review plus CI; I did not run the suites locally.
Child permission denial — sound.
Permission.DeclinedError(); a service close fails it with DeclinedError({ shutdown: true }) (packages/core/src/permission.ts:161,254,277 vs :339,353). The step classifies each decline from that marker instead of from isLocationClosed() at settlement time (packages/core/src/session/runner/step.ts:188-194), so a reload that overlaps settlement can no longer relabel an accepted denial as a shutdown and continue the model.StepDeclinedError (step.ts:330). Recovery, overflow compaction and retry are all gated on declines.length === 0 (step.ts:207,247,255), so nothing re-issues the request after a denial.SessionExecution settles it as interrupted / user: the job is cancelled, the claim released and one cancelled report reaches the parent (packages/core/src/session/execution.ts:51-57,171-181).Shutdown and recovery — sound.
declined latch (execution.ts:112,131,171) covers an owner interrupt replacing the typed exit after masked settlement. It is set only on a path that always ends in StepDeclinedError, and consumed by the one settled hook per busy period; the run coordinator does not loop after a failed drain, so it cannot leak into a later execution.Completed({ needsContinuation: true }) when the Location is closed (drain returns Reloaded), otherwise an interrupt that keeps the claim (step.ts:332-337). LocationLifecycle.shutdown sets closed before permission.close, so the second branch is defensive.Asynchronous child completion — sound. SubagentJob, SubagentReport and job.ts are upstream v2.3.2 unchanged. The only fork change on that path is the terminal classification above.
Mirror removal and ordinary import/export — preserved.
packages/core/src/session/transfer.ts, session/store.ts, packages/server/src/handlers/session.ts, packages/protocol/src/groups/session.ts, groups/permission.ts, packages/schema/src/session-event.ts, packages/server/src/event-feed.ts, fetch.ts, process.ts, options.ts and packages/server/test/session-import.test.ts are byte-identical to upstream v2.3.2 at head. Import/export is upstream's code path with nothing of the fork left in it.remoteProxy, OPENCODE_REMOTE_PROXY_*, SessionOwnership or session.mirror.updated remains under packages/.20260926002438_project-association at m48); the four upstream migrations added since 2.2.3 all sort after it.linux-server passed on d11e4140de; it runs session-execution.test.ts, session-runner.test.ts, database-migration.test.ts and session-import.test.ts.ghcr.io/internetisalie/opencode-stable:v2.3.2-internetisalie.1-poc.5 resolves to sha256:7e4319e1…f6acf and carries revision label d11e4140de….packages/core/test/session-runner.test.ts:5628-5835) and assert request count, claim state, execution events and the parent notice.step.ts:191 falls back to locationClosed for QuestionTool.CancelledError. A user dismissal followed by a Location reload before settlement is recorded as "the location shut down" and the model continues after the reload — the ordering cb61c8967a fixed for permissions. Carry a marker from Form.close the same way.terminal() lets the latch outrank every exit (execution.ts:52). A defect raised after onDecline would be reported as a user interruption. Not reachable today; check the latch after the success and defect branches, or log the discarded cause.store.isMirror in execution.ts at 2.2.3) is gone and nothing replaces it: a 2.2.3 database row with event_sequence.owner_id = 'mirror:<source>' is an ordinary executable session at head. Safety rests on the storage gate in opencode-stack-tests, which its own kit says is not installed in any environment (docs/paired-upgrade-qualification.md:213). Rollout condition, as the description already says.Upstream code between 2.2.3 and 2.3.2; fork changes outside the four focus areas beyond a patch-equivalence check (project association, plugin HTTP routes, persistent PTY, global roots — across the merge their patches are unchanged, differ only by the mirror removal, or are test fixtures); the retained evidence archive.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
New integration evidence on the reviewed PoC 5 digest: when the server accepted a child permission rejection (HTTP 204) and was then stopped, the denied tool and interrupted child state survived restart, but the test did not observe the parent cancellation notice. This reproduced twice. Five other async cases passed, including reject then reload and teardown with permission pending. The earlier make test-stack run did not compile this tagged test. Investigation is checking durable storage versus notice consumption or observation; product attribution is still open. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…ore shutdown A subagent's cancellation notice can be admitted to the parent inbox before the parent takes an execution claim. When shutdown lands in that gap the outbox row is retired and nothing wakes the parent after restart. Restart now finds idle, succeeded parents with an admitted steer notice from a subagent and wakes them once recovery finishes. Parents the restart budget already failed are left alone. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…ast outcome The restart sweep woke only parents whose last turn succeeded, while the normal report path wakes the parent regardless. The sweep now skips only a parent whose last turn failed, which the restart budget uses to leave its notices parked. The inbox query moves into SessionInbox, and a test covers the non-subagent source filter. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.