Skip to content

fix(update): keep schema inspection running under progress backpressure - #170955

Merged
steipete merged 1 commit into
mainfrom
codex/qa1123-inspection-progress
Oct 13, 2026
Merged

steipete merged 1 commit into
mainfrom
codex/qa1123-inspection-progress

Conversation

@steipete

@steipete steipete commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes update schema inspection failing when its advisory progress pipe temporarily fills. This completes the candidate-worker sibling of the metadata-inventory repair in #168493.

User Impact

A transient progress-write failure can omit a status update without aborting schema inspection or snapshot work. Real output errors remain failures with their existing diagnostics. No schema, migration, configuration, or backup format changes.

Why This Change Was Made

The candidate worker's shared progress reporter called synchronous stderr writes without handling EAGAIN or EWOULDBLOCK. The separate metadata inventory path already handled those errors. The reporter now drops only those two transient writes; it retains the existing bounded legacy output and propagates EIO, EBADF, and EPIPE. No retries, queue, or additional progress owner is introduced.

Evidence

A regression invokes the public schema inspection operation and its actual child process, injecting an error into a named schema-progress write. A causal marker proves the child reached that write. The unchanged source failed both transient cases; the three non-transient controls continued to fail as intended.

All 33 tests across the complete schema-lifetime and diagnostics files pass on the updated base in 35.019 seconds. Core types passed in 51.438 seconds, infra-test types in 44.283 seconds, and scoped lint in 7.487 seconds; formatting and whitespace checks pass. Independent review through P2 found no actionable issues.

The first CI run exposed an inherited migrated-finalizer worker-lifetime hang, repaired separately in #170978. This patch was rebased unchanged onto that repair, and the full focused proof was repeated. Replacement-head GitHub CI is pending. No live operator update was performed.

@clawsweeper

clawsweeper Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@steipete
steipete marked this pull request as ready for review October 13, 2026 10:37
@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: S labels Oct 13, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-13T11:58:29.205250Z 16ced09 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@steipete
steipete enabled auto-merge (squash) October 13, 2026 10:40
@steipete
steipete disabled auto-merge October 13, 2026 11:09
@steipete
steipete force-pushed the codex/qa1123-inspection-progress branch from 2caa1ff to 16ced09 Compare October 13, 2026 11:55
@steipete
steipete merged commit 3b6d451 into main Oct 13, 2026
120 of 121 checks passed
@steipete
steipete deleted the codex/qa1123-inspection-progress branch October 13, 2026 12:09
@steipete

Copy link
Copy Markdown
Contributor Author

Merged via squash.

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

Labels

docs Improvements or additions to documentation size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant