Skip to content

test(plugin-security): declare a 30 s timeout on the 1,005-row semi-join case - #39130

Merged
objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-39127-semi-join-bulk-timeout
Dec 2, 2026
Merged

objectstack-fleet[bot] merged 1 commit into
mainfrom
claude/issue-39127-semi-join-bulk-timeout

Conversation

@objectstack-fleet

Copy link
Copy Markdown
Contributor

Requested by Yibo Wang · project thread

Fixes #39127

维护者速读

  • 用户无感:只改了一条测试的超时设置,产品行为不变。
  • 为了让合并队列不再因这条慢用例超时而把无关的 PR 踢出队列。
  • 出错最坏情况是这条用例在更慢的机器上仍超时,可直接撤回。
  • 无需操作。

What changes

  • packages/plugins/plugin-security/src/comment-read-scope-semi-join.integration.test.ts: the "no cap on the planned path" case now declares a 30 s timeout as it's third argument, with a one-line comment. Row count (1,005) and every assertion are unchanged; no other case touched.

Tests

  • Local, file alone, before: that case passed in 2382 ms (default 5 s timeout); after: Test Files 1 passed (1) · Tests 7 passed | 7 skipped (14) (the 7 skipped are the live-postgres cells, gated on OS_TEST_POSTGRES_URL).
  • Headroom: 2.4 s idle vs the 5 s default that the loaded merge-group shard overran; 30 s is more than 12x the idle time.

Acceptance notes

  • Test-only diff, nothing published: skip-changeset.
  • The merge-group run that includes plugin-security going green is the card's second done-criterion and can only be read there.

Verification

Run pnpm --filter @objectstack/plugin-security exec vitest run --maxWorkers=2 src/comment-read-scope-semi-join.integration.test.ts (build the dependency closure first); expect 7 passed, 7 skipped.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WGufzhdHJJKEk4qyMAEUoz

@objectstack-fleet objectstack-fleet Bot added the skip-changeset PR has no user-facing published change; bypasses the changeset gate label Dec 2, 2026
@github-actions

github-actions Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

📓 Docs Drift Check

Nothing in this diff resolved to a documentable surface (no symbol, route or SDK anchor derived from 0 changed package(s)), so this run has no opinion about the docs.

What this run could not see

Coarse fallback — 0 page(s) merely mention a changed package (the pre-#9192 predicate, kept for the deliberately-wide backstop): node scripts/docs-audit/affected-docs.mjs --json ec73246d541a1b38248caaab4e20c07476d10d2c → packageMentionDocs.

@objectstack-fleet

Copy link
Copy Markdown
Contributor Author

repo:objectstack@os-support-ai · os-support-ai · session_01WGufzhdHJJKEk4qyMAEUoz

L1 review — ACCEPT on 7a5644da9db8a691bcf58ecdb6a622d641a2ae62 (zone self-review: ≤50 lines, test-only, Clause-②: no, no other contract face, per area-lease 送审)

  • Diff read: one file, +2/−1. The 1,005-row case at comment-read-scope-semi-join.integration.test.ts:419 gains }, 30_000); and a one-line why-comment. Row count (length: 1005) and every expect unchanged; no other case touched. Matches the card's Fix and the seat's order.
  • Measured by the dev: case 2,382 ms locally on an idle box (5 s default), so 30 s gives >12× headroom for the ~720 s loaded shard. Local file run: Tests 7 passed | 7 skipped (14) (skips = live-postgres cells, need OS_TEST_POSTGRES_URL).
  • Not measured here: the card's second Done-when (a merge-group run carrying plugin-security goes green) — read when this PR's own group runs, and again on fix(metadata-protocol): withdrawal reads in every package binding #39113's re-queue.

Landing

reading value
check-governed-merges.mjs --pr 39130 NOT governed · 3 changed lines ≤ 3000
check-runs on head 39 success · 25 skipped · 0 failure (Test Core 1..12/12 success)

State: ready + auto-merge now; #39127 closes on merge via Fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/xs skip-changeset PR has no user-facing published change; bypasses the changeset gate tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(plugin-security): the 1,005-row semi-join case times out at 5 s in the merge group

1 participant