Repository navigation
test(crawler): stabilize throttle spacing checks - #1519
WilliamK112 wants to merge 2 commits into
Conversation
|
Thank you William. We reviewed this: it is sound, and it gives the same results as the fix we had for #1516 under source mutations (no spacing, spacing removed, a smaller spacing, the Crawl-delay cap all turn the tests red) and stays stable under load. We will fold it into the next release with one small addition on top: a check on the total span first to last start, next to your median. nik |
|
Reviewed head: 1e7aa76 Thanks William. Verdict: pending maintainer review. The change is small, test-only and reads correct, and it matches the maintainer note above (adopt it, plus a total-span check next to the median). "CLI tests" was cancelled at this head, so the new timing bounds have not run in CI yet. Findings, most severe first:
Repo conventions: DCO sign-off present, no new dependency, no rule docs or CHANGELOG entry needed for a test-only change (changelog guard passes). Format, lint, typecheck, CodeQL, secret scan and docs pass. nik |
Signed-off-by: Ching-Wei Kang <[email protected]>
Signed-off-by: Ching-Wei Kang <[email protected]>
1e7aa76 to
e6c7dbe
Compare
|
Thanks for the review. Updated head: e6c7dbe.
|
|
Reviewed head: e6c7dbe Thanks William. Verdict: pending maintainer review. Every point from the earlier review is now addressed in the diff and your notes. The only open item is that both "CLI tests" jobs were still running at this head when I looked, so the result under CI is not yet known. Earlier findings, one by one:
New observations, low severity:
Repo conventions: DCO sign-off on both commits, no new dependency, test-only so no rule docs or CHANGELOG entry needed. Format, lint, typecheck, CodeQL, secret scan, changelog guard and docs pass. nik |
|
CI is complete at e6c7dbe:
All checks on the updated head are now green. |
|
Landed in v0.0.158 as nik |
Summary
Closes #1516
Verification
bun test apps/cli/tests/crawler/per-host-throttle.test.ts— 6 passedyesprocesses alongside — 10/10 passedperHostDelayMs: 0— failed as expected (9.5 < 20)bun run --cwd apps/cli format:check— 547 files passedoxlint -c oxlint.config.mjs tests/crawler/per-host-throttle.test.tsbun run --cwd apps/cli typecheckgit diff --checkChecklist
Signed-off-byline (git commit -s).Docs: none. Skill: none.