-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbunfig.toml
More file actions
21 lines (21 loc) · 1.03 KB
/
Copy pathbunfig.toml
File metadata and controls
21 lines (21 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Bun test configuration.
#
# coveragePathIgnorePatterns: exclude the worker-thread multi-node TEST
# HARNESS from the coverage denominator. These files are testing tools
# (used to *write* tests), exercised only by the ParallelMultiNodeSpec /
# parallel-pubsub suites — which are quarantined on GitHub's hosted
# runners because Bun there can't respawn functional worker threads after
# the first test (#538). They run + are covered locally and in Docker;
# gating CI line-coverage on infra that can't execute on the hosted runner
# would be a false signal. Product code (incl. LeaseMajority, the cluster,
# persistence) is unaffected.
#
# This block goes away with the quarantine. `nightly-flakes.yml` measures
# whether it still has to stand and carries the decision path (14 consecutive
# green nights); `docs/…/testing/diagnosing-flakes.mdx` states it in prose.
[test]
coveragePathIgnorePatterns = [
"src/testkit/ParallelMultiNodeSpec.ts",
"src/testkit/internal/MultiNodeBroker.ts",
"src/testkit/internal/ParallelMultiNodeBootstrap.ts",
]