Skip to content

Fence manual proxy startup across account transitions - #711

Closed
AnthonyRonning wants to merge 4 commits into
masterfrom
codex-maple-issue-655-proxy-lifecycle-maple
Closed

AnthonyRonning wants to merge 4 commits into
masterfrom
codex-maple-issue-655-proxy-lifecycle-maple

Conversation

@AnthonyRonning

@AnthonyRonning AnthonyRonning commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • capture the initiating account and an in-memory auth generation before first-time manual API-key creation
  • reject delayed work before native startup when logout or an account transition changes that generation
  • invalidate in-flight startup synchronously when logout cleanup begins, and scrub a proxy if native startup completes after the account changed

Backward compatibility

Validation

  • focused proxy lifecycle tests: 8 passed
  • full frontend tests: 389 passed, 0 failed, 1,351 assertions
  • frontend format, typecheck, production build, and lint: 0 errors; 13 pre-existing warnings
  • Rust: 213 passed, 0 failed, 1 expected OCR test ignored; cargo fmt check passed
  • managed workspace smoke passed with OpenSecret, Postgres, Continuum feature flags, billing, and billing Postgres
  • rebuilt isolated macOS GUI: released-format ownerless config cold-started while signed out, retained the same saved key and auto-start setting after Pro login, showed Proxy running / Online, and returned 10 models; normal logout then stopped and scrubbed it exactly as master does
  • three fresh-context final reviews found no high or critical blocker

Closes #655

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 28, 2026 •

Copy link
Copy Markdown

Deploying maple with  Cloudflare Pages  Cloudflare Pages

Latest commit: 99621f1
Status: ✅  Deploy successful!
Preview URL: https://23ce99bc.maple-ca8.pages.dev
Branch Preview URL: https://codex-maple-issue-655-proxy.maple-ca8.pages.dev

View logs

@AnthonyRonning
AnthonyRonning force-pushed the codex-maple-issue-655-proxy-lifecycle-maple branch from 29a6303 to 696de63 Compare July 28, 2026 19:53
@AnthonyRonning

Copy link
Copy Markdown
Contributor Author

Closing without merge. After implementation and backward-compatibility validation, we decided this hypothetical in-flight startup race does not justify the added lifecycle complexity. Existing logout already stops and scrubs the local proxy. See #655.

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.

Fence manual proxy startup against logout and account transitions

1 participant