Skip to content

test: fix flaky/order-dependent tests (#855 #860 #861) and drop LEGACY_FLAT - #864

Merged
antosubash merged 3 commits into
mainfrom
fix/followups-855-860-861
Nov 6, 2026
Merged

antosubash merged 3 commits into
mainfrom
fix/followups-855-860-861

Conversation

@antosubash

@antosubash antosubash commented Nov 6, 2026 •

Copy link
Copy Markdown
Owner

Summary

No CHANGELOG entry: the changes are test and docs only.

Closes #855
Closes #860
Closes #861

Verification

https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq

…ratchet

- users (#860): the password-offload test patched the shared PASSWORD_HELPER
  instance; monkeypatch's undo leaves a bound method in its __dict__ that
  shadows later class-level patches. Patch the class instead and assert the
  shared helper carries no instance attributes.
- background_tasks (#861): "" is the intended "no owner" reset (it keeps a
  headerless worker task from adopting an ambient user, #759); document it,
  prove a stranded prerun never reaches the next task's owner, and unwind
  any stranded task binding after each test.
- tenants (#855): on SQLite a losing invite can also get the retryable
  admission_conflict under lock contention; accept either refusal there,
  still requiring exactly one success and one invitation row.
- Every module now follows the layout: remove LEGACY_FLAT and its dead
  checks, and update docs/module-layout.md and CLAUDE.md.

Claude-Session: https://claude.ai/code/session_01FXHA3ZicrtZ4C5QPEgxfgq
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 6, 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
🔒 Security Review ✅ Completed 2026-11-06T10:26:46.600930Z 9256f2d 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.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying simple-module-python with  Cloudflare Pages  Cloudflare Pages

Latest commit: 9256f2d
Status: ✅  Deploy successful!
Preview URL: https://eaef989b.simple-module-python.pages.dev
Branch Preview URL: https://fix-followups-855-860-861.simple-module-python.pages.dev

View logs

@antosubash
antosubash merged commit 32977c3 into main Nov 6, 2026
43 of 47 checks passed
@antosubash
antosubash deleted the fix/followups-855-860-861 branch November 6, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant