Skip to content

2.x.x: release failed cache and address-validation flights - #252

Merged
kiwidream merged 1 commit into
2.x.xfrom
release-failed-singleflight-state
Sep 8, 2026
Merged

kiwidream merged 1 commit into
2.x.xfrom
release-failed-singleflight-state

Conversation

@kiwidream

@kiwidream kiwidream commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

Failed public-response computations, background cache refreshes, and payout-address validations kept their in-flight records alive through stored exception tracebacks, even after removal from the lookup maps. Failed origin/RPC frame locals then remained allocated until cyclic GC.

Release completed owner references after waking waiters. Public-cache waiters also drop their flight and temporary exception references before unwinding, while preserving the original shared exception. Error messages, tracebacks, validation error chaining, coalescing, and stale-cache behavior remain intact.

Fixes #251.

Validation:

  • Eleven deterministic lifetime/concurrency regressions: nine fail against the original code; all pass on Python 3.12 and 3.14.7. Coverage includes actual background refresh threads, multiple waiters, both completion orderings, successful results, and preserved diagnostics.
  • Fable implementation validation: 361 focused tests pass on Python 3.14.7 in Docker.
  • Coordinator validation against the merged 2.x.x base: 243 focused tests, 26 mainnet Compose contract tests, Docker ShellCheck/shell syntax, and Docker Python compilation all pass.

Implemented by Fable through Superset and reviewed before integration.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-08T17:56:07.595219Z 2b50184 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.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant