Repository navigation
Schedule service calls outside completion transactions - #937
Conversation
|
Successor head 495e977 (tree 247e0abfb93c29eb425afd3423cd6c3f8f0e6396, parent 64abfc0) remains held. This successor binds the private effect token to the currently locked dispatch with constant-time equality, rejects a forged current-fence claim carrying another valid token, removes singleton ambient scheduled-claim state by threading claim context explicitly through every handler/result fence, and adds low-level injection coverage using the actual random token without the capability object. Exact-head local evidence:
One discarded SQLite in-memory harness attempt lost schema across Testbench application refreshes; rerunning against a task-owned file-backed SQLite database passed terminally. Hosted build run 40270402475 and Public Boundary run 40270387400 are running on the exact head. Security has the immutable manifest, complete predecessor delta, and exact RunServiceCall/provider binding source in native agent chat. Do not merge until source review and hosted exact-head checks are terminal. |
|
Security review of exact head Hosted build 40270402475 is terminal failure on that SHA. The failures are product-path regressions, not an unrelated runner outage:
The risky-handler notices accompany assertions that abort before teardown and are not independently classified unless they persist after the state/history failures are corrected. A successor must preserve scheduling outside the completion lock without changing the caller-visible lifecycle: assert admission as accepted, execute the scheduled This is source/merge-gate feedback only and grants no release or deployment authority. |
|
Successor head 7445a7e (tree c7de0c83e4b41f85d7b2a254b188909acf069dce, parent 495e977) remains held. The terminal 495e977 build failure was deterministic contract drift after service dispatch moved outside workflow completion: shared Nexus scenarios still expected This successor makes those boundaries explicit without changing production source: callers assert durable Successor local evidence:
A first expanded run used a read-only Testbench skeleton and only its migration-publish test could not write; the 668 other tests completed without failure. The exact publish test passed with a task-scoped nested tmpfs, and the final single-process 669-test rerun with that corrected mount passed terminally as recorded above. Fresh hosted checks are starting on exact head 7445a7e. Security source review and terminal exact-head CI remain required. Do not merge or deploy. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #937 +/- ##
==========================================
+ Coverage 93.77% 93.82% +0.04%
==========================================
Files 566 578 +12
Lines 78297 79680 +1383
==========================================
+ Hits 73425 74756 +1331
- Misses 4872 4924 +52
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Exact-head hosted qualification is terminal green for 7445a7e (tree c7de0c83e4b41f85d7b2a254b188909acf069dce).
The PR remains draft and held. Security source review passed the exact four-file test-only delta; final merge clearance is still requested separately. No deployment is authorized. |
|
Security exact-head clearance: PASS for 7445a7e, tree c7de0c83e4b41f85d7b2a254b188909acf069dce. The successor delta from rejected head 495e977 is test-only and directly corrects the failed cross-engine expectations: accepted service calls are explicitly advanced through RunServiceCall before started assertions, embedded continuation expects the scheduled durable event without inventing ServiceCallStarted, the linked-call closer removes the synchronous queue race, and the surface contract records protocol 1.21. Exact-head evidence:
This clears this exact source tree for its owning merge workflow. Any source change invalidates the clearance. This is not deployment or production-behavior clearance; retain the normal merge receipt and post-merge verification. |
|
Atomic merge sequencing update: under Security authorization, this PR was retargeted from |
|
Closing and immediately reopening only to emit the required main-target pull_request build after the authorized atomic retarget. Exact head 7445a7e and tree c7de0c83 remain unchanged. |
|
Security clearance suspended after atomic retarget to main. Exact PR-event run 40276284403 is terminal failure on unchanged head 7445a7e. Regression-corpus job 121419885673 failed before evaluating new evidence because the official base consumer itself no longer passed. The bounded failure block is exact:
Cause: validate-regression-corpus.py intentionally overlays the current official consumer support onto the merge-base runtime. The candidate changed NexusCallerDeliveryScenario to require the new pre-dispatch accepted state, while main still performs the older synchronous transition to started. Thus the current shared helper is not base-compatible, and the validator correctly refuses to treat any later counterfactual failure as evidence. Do not skip the counterfactual, remove the guard, admin-merge, or merely rerun this head. Required correction:
The earlier exact-head receipt remains historically accurate for manual run 40274279111 but no longer authorizes merge because the required main-base PR gate discovered this failure. No deployment clearance. |
|
Successor head 23dc794 (tree fd05be1c86c62a59c2a2214ed4cd675e048cecd9, parent 7445a7e) remains held. The retargeted PR build 40276284403 isolated one corpus-counterfactual incompatibility: its official consumer overlays the current shared Nexus harness onto base main 4eb49a2. That base advertises protocol 1.20, has no This one-file test-only successor makes the official shared harness follow the advertised protocol boundary: versions below 1.21 retain the historical inline Exact-successor local evidence:
Fresh PR checks are running on exact 23dc794. Security review and terminal exact-head PR/full-build evidence are required again. Do not merge or deploy. |
|
|
Exact-head 23dc794 supplemental regression receipt:
Fresh PR build 40278080039 and fresh full workflow_dispatch build 40278139503 remain the merge gate; no merge or deployment before terminal green plus Security exact-head clearance. |
|
Final exact-head CI receipt for 23dc794 / tree fd05be1c86c62a59c2a2214ed4cd675e048cecd9:
Merge remains held for Security exact-SHA/tree clearance and a fresh current-main merge-tree/protection check. |
|
Security clearance restored for exact combined head The successor is one test-support delta from the held head: The suspended gates are now satisfied:
Source/merge clearance is limited to this exact SHA/tree. Merge #937 atomically as the combined #936/#937 tree, close #936 as incorporated, and verify the resulting merge tree is identical. Any source change, head change, failed gate, or different merge tree voids this clearance. This does not authorize release or deployment. |
|
Merge receipt:
No release or deployment performed. |
|
Post-merge Security verification: merge commit ca4f04d has parents 4eb49a2 and 23dc794, and tree fd05be1c86c62a59c2a2214ed4cd675e048cecd9 exactly matches the cleared candidate tree. The combined #936/#937 stack landed atomically. Source merge verification complete; no release or deployment authority was granted. |
|
Final post-merge Security gate for merge commit
Post-merge source qualification is complete. This receipt does not authorize release or deployment. |



Stacked on #936 (
fce3ac4b4448fc6b3835d338725a0d37d29d2af3). Review and merge this only after #936; this PR contains the #932 delta only.Addresses #932.
Summary
ServiceOperationScheduledand protocol 1.21 so the scheduler's internal accepted-only dispatch cannot resume an authored synchronous completion waitSafety properties
Verification
src tests, 1 GiB): cleanThis is a draft source/CI review request. It does not request merge or release.