[codex] stabilize plugin store DB startup timeout - #935
Conversation
Co-Authored-By: Paperclip <noreply@paperclip.ing>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
|
/test |
|
Hey @kkroo! Before this PR can be reviewed, a few things need attention: Missing or incomplete:
Once updated, push a new commit and these checks will re-run automatically. — commitperclip |
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: f70661b
Looks good. No Critical or Important issues found.
Strengths
- The suite-specific setup timeout now matches the server project's documented
hookTimeout: 120_000, removing the accidental 20-second override without weakening the individual behavioral assertions. - The change is narrowly scoped to test infrastructure and does not affect production runtime behavior.
Recommended Action
Approve and merge once required CI checks are green.
allyblockcast
left a comment
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: f70661b
Looks good. No Critical or Important issues found.
Strengths
- The suite-specific setup timeout now matches the server project's documented
hookTimeout: 120_000, removing the accidental 20-second override without weakening the individual behavioral assertions. - The change is narrowly scoped to test infrastructure and does not affect production runtime behavior.
Recommended Action
Approve and merge once required CI checks are green.
Duplicate Ally approval for the same head; keeping review 4836929908 as the operative attestation.
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 38c2d08
Looks good. No Critical or Important issues found.
Strengths
- The suite-specific setup timeout at
server/src/__tests__/plugin-store-consistency.test.ts:253now matches the server project’s established 120-second hook budget for contended embedded-Postgres startup. - Individual behavioral test timeouts remain unchanged, so the added setup headroom does not weaken detection of activation hangs.
- The change is isolated to test infrastructure and does not affect production SQL, runtime behavior, trust boundaries, or type design.
Recommended Action
Approve and merge once required CI checks are green.
allyblockcast
left a comment
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 38c2d08
Looks good. No Critical or Important issues found.
Strengths
- The suite-specific setup timeout at
server/src/__tests__/plugin-store-consistency.test.ts:253now matches the server project’s established 120-second hook budget for contended embedded-Postgres startup. - Individual behavioral test timeouts remain unchanged, so the added setup headroom does not weaken detection of activation hangs.
- The change is isolated to test infrastructure and does not affect production SQL, runtime behavior, trust boundaries, or type design.
Recommended Action
Approve and merge once required CI checks are green.
Dismiss duplicate Ally bot approval; keeping operative Ally user approval 4838391530 for head 38c2d08.
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 74ebffb
Looks good. No Critical or Important issues found.
Strengths
- The setup hook at
server/src/__tests__/plugin-store-consistency.test.ts:253now has the same 120-second budget as the server test project's embedded-Postgres startup allowance. - Individual behavioral test timeouts remain unchanged, so this does not hide activation hangs or weaken the fail-closed assertions.
- The change is isolated to test infrastructure and introduces no production SQL, runtime, trust-boundary, error-handling, or type-design risk.
Recommended Action
Approve and merge once required CI checks are green.
allyblockcast
left a comment
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 74ebffb
Looks good. No Critical or Important issues found.
Strengths
- The setup hook at
server/src/__tests__/plugin-store-consistency.test.ts:253now has the same 120-second budget as the server test project's embedded-Postgres startup allowance. - Individual behavioral test timeouts remain unchanged, so this does not hide activation hangs or weaken the fail-closed assertions.
- The change is isolated to test infrastructure and introduces no production SQL, runtime, trust-boundary, error-handling, or type-design risk.
Recommended Action
Approve and merge once required CI checks are green.
Dismiss duplicate Ally bot approval; keeping operative Ally user approval 4839575603 for head 74ebffb.
|
@allyblockcast please review current head 9d20758. Prior approvals were dismissed because branch updates changed the head. |
|
/ally review Current head: 9d20758. Previous approvals were dismissed as stale after branch updates. |
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 9d20758
Looks good. No Critical or Important issues found.
Strengths
- The setup hook at
server/src/__tests__/plugin-store-consistency.test.ts:253now matches the server test project's established 120-second embedded-Postgres hook budget. - Individual behavioral test timeouts remain unchanged, so the added startup headroom does not hide activation hangs or weaken the fail-closed assertions.
- The change is isolated to test infrastructure, and the affected server CI shard passes on this head.
Recommended Action
Approve and merge once the remaining required CI check is green.
allyblockcast
left a comment
There was a problem hiding this comment.
Ally — Consolidated PR Review
Lenses: pr-review-toolkit (code, tests, comments, errors, types) + gstack/review + native-codex.
Reviewed head: 9d20758
Looks good. No Critical or Important issues found.
Strengths
- The setup hook at
server/src/__tests__/plugin-store-consistency.test.ts:253now matches the server test project's established 120-second embedded-Postgres hook budget. - Individual behavioral test timeouts remain unchanged, so the added startup headroom does not hide activation hangs or weaken the fail-closed assertions.
- The change is isolated to test infrastructure, and the affected server CI shard passes on this head.
Recommended Action
Approve and merge once the remaining required CI check is green.
Dismiss duplicate Ally bot approval; keeping operative Ally user approval 4839748706 for head 9d20758.
Thinking Path
General tests (server 4/4)on PR #850 failed before the plugin-store consistency assertions ran becausestartEmbeddedPostgresTestDatabaseexceeded the suite's local20_000beforeAll timeout. The server Vitest config already documents loaded ARC embedded-Postgres startup reaching roughly 40 seconds and sets the project hook timeout to120_000. This PR removes that accidental narrow override for the plugin-store embedded-DB setup while keeping the test body timeouts unchanged.Linked Issues or Issue Description
No dedicated Paperclip issue yet. This is a CI stabilization follow-up from the failing
plugin-store-consistency.test.tsjob observed while unblocking the Paperclip PR queue.What Changed
torn plugin store — activation fails closedembedded-PostgresbeforeAlltimeout from20_000to120_000.Verification
pnpm install --frozen-lockfilecompleted, with the known plugin SDK bin-link warnings.pnpm exec vitest run --project @paperclipai/server server/src/__tests__/plugin-store-consistency.test.tspassed (10passed,2skipped).git diff --checkpassed.Risks
Low. This only gives the setup hook the same headroom already used by the server test project and other embedded-Postgres suites. A truly broken database startup will still fail; it just will not fail at the obsolete 20 second local cap.
Model Used
Checklist
Fixes: #/Closes #/Refs #OR (b) described the issue in-PR following the relevant issue template