Commit 260adc7
committed
zmedium: auto re-auth detection and CF block retry-with-backoff
- Detect external re-auth via cookie cache mtime and reset session CF
counter on next call (no MCP server restart needed).
- Retry transient Cloudflare blocks up to 3 times with random 1-4s
backoff before surfacing the user-visible "blocked" guidance.
classifyError stays pure; counter / mtime side effects move to the
retry orchestrator and only commit after every attempt fails.
- Add tests for the re-auth reset path and a sleep seam for fast tests.
- Ignore local gem Output/ artifacts.1 parent a92ecfb commit 260adc7
6 files changed
Lines changed: 304 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
11 | 14 | | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments