Repository navigation
fix(subagents): retain completion notices across retry and retirement - #199455
dankarization wants to merge 1 commit into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
|
Thanks for the review. Addressed the two paths in 5d46922. For the yielded failure, terminal lifecycle settlement is now independent of notice delivery, while the original run, session and revision fences still apply. The real-storage regression failed on the previous head and passes with this change; it checks the cleared wake, failed lifecycle, denied transcript and single release. For store replacement and expiry, the host retirement diagnostic is limited to the committed original target and still checks the original session ID and revision. The existing storage matrix went from 11 failures / 1 pass on the previous head to 12 passes; an explicit unavailable-operator case remains denied. The focused set passed 21 tests, and formatting, line-cap and lint checks passed. This does not establish the broader host-diagnostic policy or prove an upgrade/live failure path. The integrated follow-up tests and build are still pending; the PR remains draft while hosted checks are unresolved. |
|
Operator integration update (15 November): the reviewed completion-notice repair is now installed in our production Gateway as integration commit Validation of this integrated r2:
The successful live delegation scenario is separate from the real-storage negative-path regressions; it does not substitute for proving denied notice delivery. Hosted checks on published head |
|
Post-install acceptance completed on integration |
5d46922 to
083c504
Compare
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Security-sensitive guard clearedCurrent revision: This PR no longer changes files in the maintainer security-review tier. Separate CODEOWNERS requirements still apply to security policy and enforcement files. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 083c504176
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
Operator acceptance follow-up for the previously reported integration The initial readiness, memory and Canvas checks missed the main WebUI. SDK/E2E bootstrap had rewritten runtime build metadata after the earlier frontend build. The resulting frontend/runtime build-ID mismatch caused WebUI HTTP 503, while Telegram and Gateway readiness remained operational. Recovery rebuilt only the frontend with the exact frozen runtime commit/timestamp. Verified the UI overlay (5,011 files), HTTP 200 for the root and eight initial asset references, and a fresh Chromium application mount with 26 JS/CSS responses, no JavaScript errors and matching WebSocket client build identity. The Gateway PID and configuration were unchanged. This was an operator packaging correction; no additional change to this PR was required. The earlier full artifact manifest describes the package before that UI replacement; the replacement has separate verified overlay evidence. Subsequent acceptance now asserts frontend/runtime identity after all SDK/E2E bootstrap steps and checks actual HTTP assets before cutover. Fresh Chromium proof covers application startup, not the user's authenticated chat history. |
615fa85 to
67bd607
Compare
Rebase the native-owner repair onto main 667304f. Preserve the upstream large-agent-database test entry and register the three completion tests beside related subagent tests. Seven product/test files are identical to the tested 67bd607 tree; registry selection confirms all four new entries exactly once. The five SQLite and seven pressure test results were obtained on main 423ae09; current-head hosted CI remains a separate gate.
67bd607 to
4caed67
Compare
What Problem This Solves
Completion notices could be discarded after a failed append or terminal bookkeeping, and an expired or revoked delivery owner could prevent unrelated sweep work.
Change
Port the repair to the current native completion owners: append the requester-visible expiry outcome before retiring its obligation, fence append to the current requester incarnation, preserve observed receipts through retries, and continue sweeping independent rows when authority changes.
Evidence
Current head:
4caed6730919c4bbba9ae77bfe1373356ead8671, based on main667304f2ddf28bd23295a647f8c7f2a6c4b09e9e; complete treeaf9a2f6610ad7b347a6c766aee295574730ba00f. Eight changed files: three production, four tests and the SQLite test-path inventory. Native upstream owners replace the old broader implementation.On the isolated Linux checkout at previous main
423ae090720, five SQLite integration cases passed in three files, including actual Gateway reset versus compaction, expiry bookkeeping failure/retry and notice receipt failure without redelivery. Seven suspended-pressure cases passed in a separately routed agents-support run. The seven product/test files are byte-identical after the current rebase; only the test-path inventory changed to preserve upstream's large-agent-database entry and register our three paths beside related subagent tests. A Node import/selection check confirmed all four entries exactly once. These are prior-base runtime results plus current-head registry validation, not a new-base full-build claim.Formatting and whitespace checks passed. One initial bootstrap failed on a missing UI dependency link before tests; the corrected checkout completed the named runs. The first infra-only invocation did not select pressure; the separate seven-case run supplies that coverage. Tests use synthetic state and do not prove external Telegram delivery. Parent source review covered requester/incarnation fences, receipt retention, revoked-owner handling and release paths.
Remaining Checks
Required current-head hosted CI, maintainer review and final custom Gateway build/live acceptance remain pending. Older CI, releases and screenshots are not current-head proof. The focused checkout lacks the newer
tokenjuicedependency in this main lockfile; the tests did not require it, so no full-install parity is claimed.Related: #166964.