Skip to content

fix(observability): retain queue failure source locations - #1319

Merged
steipete merged 1 commit into
mainfrom
codex/queue-error-locations
Aug 31, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/queue-error-locations

Conversation

@steipete

@steipete steipete commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Resolves a problem where operators investigating exact-review queue failures can see that a Durable Object threw, but cannot locate the original failure. The remote call replaces the originating stack before the outer Worker receives it.

Related: #1317

Why This Change Was Made

Record only the first numeric source coordinates inside the Durable Object, before rethrowing the original exception. Cover both initialization barriers and request handling. Keep the fixed public error response and existing retry policy. This is a diagnostic prerequisite; it does not claim to fix the underlying intermittent queue failure.

User Impact

Operators can map a failure to the matching deployed worker bundle. Error messages, SQL, paths, raw stacks, request payloads, and credentials are excluded from these application logs. Clients retain the same response and recovery behavior.

OpenClaw Bay Impact

Bay is unaffected: no queue, lifecycle, telemetry data contract, public response, or browser behavior changes. The new event is a server-only diagnostic log.

Documentation Impact

Updated the active docs/live-dashboard.md operator runbook with the event shape and requirement to match coordinates to the exact deployment bundle. The Worker and queue implementation own this contract; changes to the log shape, module name, or bundling require the runbook to be updated. Added a changelog entry.

Evidence

pnpm run check passed on Node 24.18.1: 4,152 unit tests passed, 8 skipped, plus all 13 static checks. The 11 focused tests passed. Codex precommit and committed-branch reviews found no actionable findings at their configured P0 scope.

Real Behavior Proof

Claim and surface: the real Worker -> Durable Object -> SQLite failure path retains originating coordinates before remote transport replaces the stack, without changing the public failure or leaking error text.

Revision/environment: candidate 61e6308bac3e83dcd3808b712cace125fec7dea7, tested tree d5b37aee2a51c962df0b4972e0c1680ce73745b2, compared with main 62241350beef738542b4802c172c28d7a8013db7. Crabbox provider aws, lease cbx_500a9817fb0b, run run_2c0cbab8167d, image ami-0461d919be7deb53c; Node 24.18.1, pnpm 11.10.0, Miniflare 4.20260701.0, workerd 1.20260701.1, esbuild 0.28.1. The instance had no instance role or production credentials.

Scenario: bundle the actual Worker and queue into workerd with real SQLite Durable Objects. Send a signed publications-list POST, inject one native SQL failure on the next request, and retry the same request after that fault. Separately inject a native SQL failure in the constructor schema barrier. The fault contains a synthetic private marker. Only the fixture captures application log events into a response header for assertions.

Observed before: healthy 200 -> failure 500 -> recovery 200. Request and initialization failures expose only the outer {remote:true,retryable:false,overloaded:false} flags; the original SQL location is absent.

Observed after: the same 200 -> 500 -> 200 sequence and identical public {error:"exact_review_queue_unavailable"} body. Each failure additionally logs exact_review_queue_handler_failed, phase fetch or initialize, and [38412,44], exactly matching the injected native SQL line in the generated bundle. The outer flags remain intact. Assertions reject private marker text and private paths in application logs.

Commands/artifact: the standalone reproducible driver and exact normalized trace are included below. Save the driver as /tmp/clawsweeper-queue-locations-proof.mjs. Install the pinned fixture tools outside the repository, then run it from the relevant checkout:

mkdir -p /tmp/clawsweeper-queue-stack-tools
npm install --prefix /tmp/clawsweeper-queue-stack-tools --no-audit --no-fund [email protected] [email protected]
node /tmp/clawsweeper-queue-locations-proof.mjs before # base revision
node /tmp/clawsweeper-queue-locations-proof.mjs after  # candidate revision

Limits: controlled native-runtime fault injection, not reproduction of the unknown production cause. No live queue mutation or apply/close action was performed. A stack without a matching deployed module frame logs null. Production coordinates must be matched to that deployment's bundle, not the fixture's line numbers. This change does not add retries or alter alarm handling.

Normalized before/after trace
{"phase":"before","faultLine":38388,"healthy":200,"failure":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]},"recovery":200,"initialization":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]}}
{"phase":"after","faultLine":38412,"healthy":200,"failure":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_handler_failed",{"phase":"fetch","location":[38412,44]}],["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]},"recovery":200,"initialization":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_handler_failed",{"phase":"initialize","location":[38412,44]}],["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]}}
Standalone native-runtime proof driver (includes deferred initialization)
import assert from 'node:assert/strict';
import {createRequire} from 'node:module';
import {createHmac} from 'node:crypto';
import {readFileSync,mkdirSync} from 'node:fs';
import {resolve} from 'node:path';
const require=createRequire('/tmp/clawsweeper-queue-stack-tools/package.json');
const {build}=require('esbuild');
const {Miniflare,Log,LogLevel}=require('miniflare');
const phase=process.argv[2];assert.ok(['before','after','merged','deferred-probe'].includes(phase));
mkdirSync('.artifacts',{recursive:true});
const output=resolve('.artifacts/worker.js');
await build({stdin:{contents:`
import worker,{ExactReviewQueue} from './dashboard/worker.ts';
const events=[];
console.error=(...args)=>events.push(args);
function faultingState(state, shouldFail) {
 const sql=new Proxy(state.storage.sql,{get(target,name){
  if(name==='exec')return (query,...args)=>{
   if(shouldFail(query)) return target.exec('SELECT * FROM synthetic_private_sql_marker');
   return target.exec(query,...args);
  };
  const value=Reflect.get(target,name,target);
  return typeof value==='function'?value.bind(target):value;
 }});
 const storage=new Proxy(state.storage,{get(target,name){
  if(name==='sql')return sql;
  const value=Reflect.get(target,name,target);
  return typeof value==='function'?value.bind(target):value;
 }});
 return {storage,blockConcurrencyWhile:state.blockConcurrencyWhile.bind(state),waitUntil:state.waitUntil.bind(state),id:state.id};
}
export class FaultingQueue extends ExactReviewQueue {
 requests=0;arm;
 constructor(state,env){
  let armed=false;
  super(faultingState(state,query=>{if(armed&&/SELECT item_key, item_json/.test(query)){armed=false;return true}return false}),env);
  this.arm=()=>{armed=true};
 }
 async fetch(request){if(++this.requests===2)this.arm();return super.fetch(request)}
}
export class FaultingInitQueue extends ExactReviewQueue {
 constructor(state,env){super(faultingState(state,query=>/CREATE TABLE/.test(query)),env)}
}
export class FaultingDeferredQueue extends ExactReviewQueue {
 constructor(state,env){super(faultingState(state,query=>/CREATE TABLE IF NOT EXISTS exact_review_queue_meta/.test(query)),env)}
}
export default {async fetch(request,env,ctx){
 const selected=request.headers.get('x-proof-init')==='deferred'?{...env,EXACT_REVIEW_QUEUE:env.DEFERRED_QUEUE}:request.headers.get('x-proof-init')==='1'?{...env,EXACT_REVIEW_QUEUE:env.INIT_QUEUE}:env;
 const original=await worker.fetch(request,selected,ctx);
 const response=new Response(original.body,{status:original.status,headers:original.headers});
 response.headers.set('x-proof-events',JSON.stringify(events.splice(0)));
 return response;
}};`,resolveDir:process.cwd(),sourcefile:'queue-locations-proof.ts',loader:'ts'},bundle:true,format:'esm',platform:'neutral',target:'es2022',external:['cloudflare:workers'],outfile:output});
const faultLine=readFileSync(output,'utf8').split('\n').findIndex(line=>line.includes('SELECT * FROM synthetic_private_sql_marker'))+1;
assert.ok(faultLine>0);
const mf=new Miniflare({modules:true,scriptPath:output,compatibilityDate:'2026-05-11',durableObjects:{EXACT_REVIEW_QUEUE:{className:'FaultingQueue',useSQLite:true},INIT_QUEUE:{className:'FaultingInitQueue',useSQLite:true},DEFERRED_QUEUE:{className:'FaultingDeferredQueue',useSQLite:true}},bindings:{CLAWSWEEPER_WEBHOOK_SECRET:'synthetic-proof-secret'},log:new Log(LogLevel.NONE)});
async function request(init=false){
 const body=JSON.stringify({limit:1});
 const response=await mf.dispatchFetch('https://clawsweeper.openclaw.ai/internal/exact-review/publications/list',{method:'POST',headers:{'content-type':'application/json','x-proof-init':init==='deferred'?'deferred':init?'1':'0','x-clawsweeper-exact-review-signature':'sha256='+createHmac('sha256','synthetic-proof-secret').update(body).digest('hex')},body});
 const text=await response.text();
 let responseBody;try{responseBody=JSON.parse(text)}catch{throw new Error('unexpected fixture response: '+text)}
 return {status:response.status,body:responseBody,logs:JSON.parse(response.headers.get('x-proof-events'))};
}
function verifyFailure(result,expectedPhase){
 assert.equal(result.status,500);assert.deepEqual(result.body,{error:'exact_review_queue_unavailable'});
 const origin=result.logs.filter(entry=>entry[0]==='exact_review_queue_handler_failed');
 if(phase==='before')assert.deepEqual(origin,[]);
 else {
  assert.equal(origin.length,1);assert.equal(origin[0][1].phase,expectedPhase);
  assert.equal(origin[0][1].location[0],faultLine);assert.ok(origin[0][1].location[1]>0);
  assert.deepEqual(Object.keys(origin[0][1]).sort(),['location','phase']);
 }
 const transport=result.logs.filter(entry=>entry[0]==='exact_review_queue_request_failed');
 assert.equal(transport.length,1);
 assert.deepEqual(Object.keys(transport[0][1]).sort(),['overloaded','remote','retryable']);
 assert.ok(!JSON.stringify(result).includes('synthetic_private_sql_marker'));
 assert.ok(!JSON.stringify(result).includes('file:///'));
}
try{
 if(phase==='deferred-probe'){const deferred=await request('deferred');verifyFailure(deferred,'initialize');console.log(JSON.stringify({phase,faultLine,deferred}));}else{
 const first=await request();assert.equal(first.status,200);assert.deepEqual(first.logs,[]);
 const failure=await request();verifyFailure(failure,'fetch');
 const recovery=await request();assert.equal(recovery.status,200);assert.deepEqual(recovery.logs,[]);
 const initialization=await request(true);verifyFailure(initialization,'initialize');
 const deferred=await request('deferred');verifyFailure(deferred,'initialize');
 console.log(JSON.stringify({phase,faultLine,healthy:first.status,failure,recovery:recovery.status,initialization,deferred}));
}
}finally{await mf.dispose()}

Review Finding Disposition

The reported P2 duplicate initialization log was investigated on the exact candidate in real workerd, rather than treating a Promise-only test double as the Durable Object runtime. Rejected for the deployed path: a failure inside blockConcurrencyWhile terminates/resets the object, so the surrounding request catch does not run. Cloudflare documents this reset behavior.

The extended driver above adds FaultingDeferredQueue: the constructor lifecycle schema barrier succeeds, then the first publications-list request fails native SQLite specifically at CREATE TABLE IF NOT EXISTS exact_review_queue_meta inside deferred full initialization. verifyFailure asserts exactly one origin event, phase initialize, coordinates matching the actual injected SQL line, the unchanged public 500, the existing transport flags, and no private marker/path. This directly covers the missing scenario and both proposed Rank-up moves' underlying concern. No production error-deduplication state is needed. The lightweight direct-call unit harness does not implement platform reset semantics, so it is not the oracle for this lifecycle claim.

The constructor, deferred initialization, request fault, and recovery cases were rerun together on unchanged head 61e6308bac3e83dcd3808b712cace125fec7dea7 in AWS lease cbx_500a9817fb0b, run run_ef8740eb29bd, with the same pinned environment. No source changed after the two Codex autoreviews or full check. Current CI passed: https://github.com/openclaw/clawsweeper/actions/runs/33370859506 ; CodeQL passed: https://github.com/openclaw/clawsweeper/actions/runs/33370859425.

Extended exact trace:

{"phase":"after","faultLine":38412,"healthy":200,"failure":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_handler_failed",{"phase":"fetch","location":[38412,44]}],["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]},"recovery":200,"initialization":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_handler_failed",{"phase":"initialize","location":[38412,44]}],["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]},"deferred":{"status":500,"body":{"error":"exact_review_queue_unavailable"},"logs":[["exact_review_queue_handler_failed",{"phase":"initialize","location":[38412,44]}],["exact_review_queue_request_failed",{"remote":true,"retryable":false,"overloaded":false}]]}}

@clawsweeper

clawsweeper Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@clawsweeper clawsweeper Bot added P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Aug 31, 2026
@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 31, 2026, 4:12 AM ET / 08:12 UTC.

ClawSweeper review

What this changes

The PR adds sanitized Durable Object logs containing a failure phase and deployed-bundle source coordinates while preserving the fixed public queue-error response.

Merge readiness

✅ Ready for maintainer review

Keep open: this diagnostic behavior is not on current main. The prior double-logging concern is resolved by the supplied same-head native workerd trace, which shows one correctly phased initialization event after deferred initialization fails; no blocking defect was found in the introduced patch.

Priority: P2
Reviewed head: 61e6308bac3e83dcd3808b712cace125fec7dea7

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) The patch is narrowly implemented, covered by focused tests, and backed by real runtime before/after evidence.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (logs): The changed production owner is the Exact Review Queue’s failure wrapper. The supplied AWS Crabbox workerd trace bundles the Worker and queue, drives a signed route through real SQLite Durable Objects with injected native faults, and records after-fix single fetch or initialize coordinate events, unchanged 500 recovery behavior, and exclusion of the planted private marker.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (logs): The changed production owner is the Exact Review Queue’s failure wrapper. The supplied AWS Crabbox workerd trace bundles the Worker and queue, drives a signed route through real SQLite Durable Objects with injected native faults, and records after-fix single fetch or initialize coordinate events, unchanged 500 recovery behavior, and exclusion of the planted private marker.
Evidence reviewed 5 items Introduced diagnostic boundary: The PR catches failures inside the Durable Object, records only a static phase plus numeric worker.js coordinates or null, and rethrows the original error.
Public response remains owned by Worker: The existing outer Worker catch still emits only platform flags and the fixed exact_review_queue_unavailable response; the PR rethrows into that boundary.
Focused regression coverage: Focused tests cover numeric-frame extraction, private-marker exclusion, fetch failures, and constructor schema-barrier failures.
Findings None None.
Security None None.

How this fits together

The exact-review queue is a Cloudflare Durable Object behind the Worker’s internal review-publication routes. Requests enter through the Worker, the queue initializes and reads durable storage, and failures return a fixed unavailable response while operator logs retain diagnostics.

flowchart LR
  A[Internal review request] --> B[Worker route]
  B --> C[Exact-review queue]
  C --> D[Initialization and storage]
  D --> E[Sanitized failure log]
  E --> F[Fixed unavailable response]
Loading

Before merge

None.

Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Production versus test delta production +31 net, tests +45 net The focused test growth covers the added privacy-preserving error-log behavior and its failure phases.
Files affected 5 files: 1 queue implementation, 2 tests, 1 runbook, 1 changelog The change remains narrowly scoped to queue observability and its operator contract.

Technical review

Best possible solution:

Land the sanitized in-Durable-Object diagnostic event so operators can map queue faults to the matching deployed bundle without exposing error text or changing client recovery behavior.

Do we have a high-confidence way to reproduce the issue?

Yes. The supplied workerd trace runs the signed Worker-to-Durable-Object SQLite route against the base and candidate revisions, injects the relevant failure, and records the changed log and unchanged response behavior.

Is this the best way to solve the issue?

Yes. Capturing a tightly constrained numeric location before remote transport replaces the stack is the narrowest solution and preserves the existing Worker response boundary.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 62241350beef.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): The changed production owner is the Exact Review Queue’s failure wrapper. The supplied AWS Crabbox workerd trace bundles the Worker and queue, drives a signed route through real SQLite Durable Objects with injected native faults, and records after-fix single fetch or initialize coordinate events, unchanged 500 recovery behavior, and exclusion of the planted private marker.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.

Label justifications:

  • P2: This is a bounded operator-observability repair for exact-review queue failures.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (logs): The changed production owner is the Exact Review Queue’s failure wrapper. The supplied AWS Crabbox workerd trace bundles the Worker and queue, drives a signed route through real SQLite Durable Objects with injected native faults, and records after-fix single fetch or initialize coordinate events, unchanged 500 recovery behavior, and exclusion of the planted private marker.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed production owner is the Exact Review Queue’s failure wrapper. The supplied AWS Crabbox workerd trace bundles the Worker and queue, drives a signed route through real SQLite Durable Objects with injected native faults, and records after-fix single fetch or initialize coordinate events, unchanged 500 recovery behavior, and exclusion of the planted private marker.

Evidence

What I checked:

  • Introduced diagnostic boundary: The PR catches failures inside the Durable Object, records only a static phase plus numeric worker.js coordinates or null, and rethrows the original error. (dashboard/exact-review-queue.ts:734, 61e6308bac3e)
  • Public response remains owned by Worker: The existing outer Worker catch still emits only platform flags and the fixed exact_review_queue_unavailable response; the PR rethrows into that boundary. (dashboard/worker.ts:4651, 62241350beef)
  • Focused regression coverage: Focused tests cover numeric-frame extraction, private-marker exclusion, fetch failures, and constructor schema-barrier failures. (test/dashboard-worker-durable-object-error.test.ts:39, 61e6308bac3e)
  • Deferred-initialization proof resolves prior finding: The provided PR-body trace from AWS Crabbox workerd run run_2c0cbab8167d exercises the real signed Worker-to-Durable-Object SQLite path and shows a single initialize event for deferred initialization, with the same fixed 500 body and no private marker or path in application logs. The body has an omitted reproducer region, but the supplied before/after and deferred normalized traces identify the environment, scenario, observed result, and candidate revision. (61e6308bac3e)
  • Recent queue history: Recent main history shows shared ownership of the queue path, including the queue recovery change immediately preceding this PR. (dashboard/exact-review-queue.ts, 9f343df8bfd7)

Likely related people:

  • steipete: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • yetval: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-31T08:04:35.912Z sha 61e6308 :: needs changes before merge. :: [P2] Avoid double-logging failed queue initialization

@steipete

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

The main PR body now contains an executed native workerd proof for the reported deferred-initialization case, on the unchanged current head. It asserts exactly one initialize event after the constructor barrier succeeds. Cloudflare resets the object when blockConcurrencyWhile rejects, so the request catch does not emit a duplicate event. The body includes the complete reproducer, exact trace, platform contract, finding disposition, and green CI. Please evaluate the finding against that real runtime behavior.

@clawsweeper

clawsweeper Bot commented Aug 31, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event exact_review_queue).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@clawsweeper clawsweeper Bot added rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. labels Aug 31, 2026
@steipete
steipete merged commit e3ebd2b into main Aug 31, 2026
26 checks passed
@steipete
steipete deleted the codex/queue-error-locations branch August 31, 2026 08:15
@steipete

Copy link
Copy Markdown
Contributor Author

Landed as e3ebd2b.

Validation: pnpm run check passed on Node 24.18.1 (4,152 unit tests passed, 8 skipped; all 13 static checks), and the 11 focused diagnostics/export tests passed. Both required Codex review passes were clean at their configured P0 scope. CI passed at https://github.com/openclaw/clawsweeper/actions/runs/33370859506 and CodeQL at https://github.com/openclaw/clawsweeper/actions/runs/33370859425. The current hosted review accepted the deferred-initialization runtime evidence: https://github.com/openclaw/clawsweeper/actions/runs/33371643132.

Repeated the native workerd/SQLite proof on merged main in Crabbox provider aws, lease cbx_500a9817fb0b, run run_5f11521eb623. The merged tree exactly matches the tested candidate. Request handling, constructor initialization, and deferred initialization each retain exactly one correctly phased numeric source location. The client error stays fixed, the synthetic private marker stays out of application logs, and a subsequent normal request succeeds. The full reproducible driver remains in the PR body.

The automatic Worker deployment passed, including live smoke: https://github.com/openclaw/clawsweeper/actions/runs/33372016381. The public health endpoint reports the merge SHA. This ships diagnostics only; the underlying intermittent queue failure is still being investigated. No live apply/close or queue-recovery mutation was performed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant