[codex] test(server): make bounds-cache test synchronous (BLO-21754) - #1253
[codex] test(server): make bounds-cache test synchronous (BLO-21754)#1253kkroo wants to merge 1 commit into
Conversation
Replace the 261-request HTTP loop with direct cache-entry seeding through the production trim path. Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
🔗 Paperclip issue: BLO-21754 |
1 similar comment
|
🔗 Paperclip issue: BLO-21754 |
|
Closing as stale — this draft can no longer be landed as a diff. Measured against master
At that distance the surrounding code has moved out from under the patch, so "resolve the conflicts" would mean rewriting it against a codebase it was never written for — not merging it. Reopening is cheap if the branch is still wanted; the commits are untouched. Closing the PR does not close the underlying issue. Where this PR referenced a BLO issue, that issue remains the record of intent and the place to re-implement from, against current master. No judgement here on whether the original problem still exists — I did not verify that per-PR, and it should be re-checked before any re-implementation, since some of these may already have been fixed independently. |
Thinking Path
Linked Issues or Issue Description
The issue is Paperclip-tracked as BLO-21754. Refs #1039: the App-authored original cannot supply the required independent review path. The test previously made 261 sequential HTTP round trips and could time out before finishing its assertion.
What Changed
setIssueListResponseCacheEntry, the production insert-and-trim path.server/src/routes/issues.tsand its focused route test only;pnpm-lock.yamlis unchanged.Verification
pnpm --filter @paperclipai/server exec vitest run src/__tests__/issue-list-assignee-filter-routes.test.ts --reporter=verbose: 14/14 passed; the bounds-cache test took 24ms.pnpm --filter @paperclipai/server typecheck.git diff --check.Risks
Low risk: production cache behavior and its 256-entry constant are unchanged. The helper delegates directly to the existing production insertion path, and the test remains an eviction regression check without asynchronous shared-state exposure.
Model Used
OpenAI GPT-5 via Codex, with terminal tooling for PR comparison, isolated implementation, and local verification. The host does not expose a separate context-window value.
Checklist