5 Commits
Author SHA1 Message Date
bewestandBen West 4feeb015fe Update documentation and tooling for identifying and running flaky tests
Updates flaky test documentation with observed flakiness rates and corrects npm script syntax for isolating tests. Introduces a generic isolate runner and clarifies harness behavior regarding database state, removing the claim of automatic resets and noting reliance on Mocha hooks for cleanup.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 3be0ef95-aa69-441e-a33e-a8bd64e908de
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: b7dbc77f-8b96-4ac3-8453-8976ddb7ee24
Replit-Helium-Checkpoint-Created: true
2026-01-19 13:14:46 -08:00
bewestandBen West b77fb38452 Add documentation and harnesses for identifying flaky tests
Add new npm scripts and update documentation to isolate and identify flaky tests, specifically addressing issues in api.entries.test.js, api3.socket.test.js, and api.partial-failures.test.js.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 3be0ef95-aa69-441e-a33e-a8bd64e908de
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: 77966b3b-e3ca-4c97-bfee-13046aeae8fc
Replit-Helium-Checkpoint-Created: true
2026-01-19 13:14:46 -08:00
bewestandBen West b68e538d2c Add script to run tests repeatedly to find flaky tests
Introduces a new script `scripts/flaky-test-runner.js` to execute Mocha tests multiple times, capturing JSON output to identify and analyze flaky test behavior. New npm scripts (`test:flaky`, `test:flaky:quick`, `test:flaky:thorough`) are added to package.json for easy execution. The script includes robust JSON parsing with error handling for potentially malformed output.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 9bea85b0-6b8f-4d55-b964-1080f91ee9a0
Replit-Commit-Checkpoint-Type: intermediate_checkpoint
Replit-Commit-Event-Id: ffee9763-d3c3-40a4-a414-ca0b03d54310
Replit-Helium-Checkpoint-Created: true
2026-01-19 13:14:21 -08:00
Sulka Haro 7e662ac1df Cleanup: move cache buster token generation to /bin, remove /scripts 2017-10-15 10:20:13 +03:00
Sulka Haro cea9bff5d2 Forgot cache buster generator script 2017-08-27 14:37:38 +03:00