Skip to content

Tighten warren-api-prefixes-stay-in-sync test to catch stale extras#311

Merged
jayminwest merged 3 commits into
mainfrom
warren/run_d06rt36ga7m2
Jun 7, 2026
Merged

Tighten warren-api-prefixes-stay-in-sync test to catch stale extras#311
jayminwest merged 3 commits into
mainfrom
warren/run_d06rt36ga7m2

Conversation

@jayminwest

Copy link
Copy Markdown
Owner

Summary

Tighten warren-api-prefixes-stay-in-sync to catch stale extras (warren-abaa)

Run

  • Warren run: run_d06rt36ga7m2
  • Agent: pi
  • Cost: $0.365 (44 in / 4.0k out / 357.9k cache-r)

Seeds

  • warren-abaa — Tighten warren-api-prefixes-stay-in-sync test to catch stale extras

Commits (3)

  • 9c082fa Tighten warren-api-prefixes-stay-in-sync to catch stale extras (warren-abaa)
  • b1fdb26 Close warren-abaa
  • 7d7bedf chore(warren): seeds state

Files changed

.seeds/issues.jsonl                   |  6 +++---
 src/preview/proxy/route-match.test.ts | 13 +++++++++++++
 src/preview/proxy/route-match.ts      |  6 ++++--
 3 files changed, 20 insertions(+), 5 deletions(-)

Prompt

Show prompt
work on sd warren-abaa

🤖 Opened by warren run run_d06rt36ga7m2

jayminwest and others added 3 commits June 7, 2026 09:26
…n-abaa)

The sync test only checked one direction — every handler prefix had to
be in the local mirror list. A prefix removed from handlers but left
behind in route-match.ts (a stale extra) slipped through silently. Add
the reverse-direction assertion plus a set-equality check, exporting
WARREN_API_PATH_PREFIXES so the test can enumerate the local list.
@jayminwest jayminwest enabled auto-merge (squash) June 7, 2026 09:28
@jayminwest jayminwest merged commit cd1d835 into main Jun 7, 2026
2 of 3 checks passed
@jayminwest jayminwest deleted the warren/run_d06rt36ga7m2 branch June 7, 2026 09:29
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