Skip to content

fix: retain causes in startup maintenance warnings - #172138

Merged
steipete merged 1 commit into
mainfrom
solid2/rest-startup-diagnostic
Oct 14, 2026
Merged

steipete merged 1 commit into
mainfrom
solid2/rest-startup-diagnostic

Conversation

@steipete

@steipete steipete commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

What Problem This Solves

Gateway post-ready maintenance warnings discard nested error causes and storage error codes, leaving operators with only the outer failure message.

User Impact

Maintenance warnings now include the underlying cause and error code when available. Startup scheduling, lease handling, cancellation and best-effort completion are unchanged.

Why This Change Was Made

Use the existing shared error formatter at the maintenance logging boundary. During a catalog-reload failure investigation, the artifact exposed only a wrapped storage failure; this diagnostic preserves the information needed to investigate the owner. It does not claim to repair the catalog reload or lease failure.

Evidence

Proof Result
Existing maintenance test Extended to require the outer message, nested cause and SQLITE_BUSY code, while retaining assertions that the other maintenance owners complete
Shared formatter Source and existing cause/code tests inspected
Scoped formatting and whitespace Passed
Independent review Scoped-clean through P2; no actionable findings
Runtime and types Exact-head CI 38568035334 passed at 9053500e6916a45890c48fcb1f6f332cfcad943c; local runs were deferred under the shared-host capacity limit and installed dependency mismatch

Production LOC: 413 → 416 (+3). Test LOC: 891 → 895 (+4). Two files changed. No UI, dependency, schema or lease behavior changes; no screenshot or UI build is needed.

@clawsweeper

clawsweeper Bot commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 14, 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-14T13:01:16.079656Z 9053500 PR opened
ℹ️ 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.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Oct 14, 2026
@steipete
steipete merged commit 2cd10e9 into main Oct 14, 2026
126 checks passed
@steipete
steipete deleted the solid2/rest-startup-diagnostic branch October 14, 2026 15:43
@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

gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant