Repository navigation
test(proxies): pin clef mtime cache and design-code keep-alive/error contracts (#782) - #3190
Conversation
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 42 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
🤖 Agent note · handed off
|
|
🤖 Agent note · correction
|
|
@codex review |
|
Codex Review: Didn't find any major issues. Delightful! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
Tests only — no behaviour changes to either proxy. Closes the regression-net gap filed as #782 for PR #768.
What is pinned
clef-proxy mtime credential cache (
bin/clef-proxy.test.mjs, newclef-proxy config cache contract (#782)suite; stub gateway via the #692CLEF_PROXY_GATEWAY_BASEseam observes the exact token each request presents; mtimes controlled withfs.utimesSync, tempHOME):design-code-proxy keep-alive pools + response error handling (
bin/design-code-proxy.test.mjs; the stub now also records the source port of each backend connection and gains anerror-mid-streammode — head + partial body, then the socket is destroyed):Verification
node --test bin/clef-proxy.test.mjs bin/design-code-proxy.test.mjs— 25/25 pass on the laptop (18 pre-existing + the new contracts).agent: false+ backend response error handlers removed): exactly the four new contract tests fail — unchanged-mtime cache, pool reuse, before-headers fallback (hangs to the client abort), after-headers teardown (rejects only at the client abort, failing the promptness bound). The remaining new assertions pin behaviour both versions share.Queue task 1252. Refs #782 — this PR satisfies its acceptance criteria; the issue closes when it merges.
Need help on this PR? Tag
@codesmith-botwith what you need.