Repository navigation
Conversation
Covers tools/ci-testshard, tools/plugout, tools/gomod-local-update, plugins, internal/testdb, core/services/versioning, core/services/llo/telem, core/services/pipeline/eautils and core/shutdown. Tests that must stay sequential are marked with //nolint:paralleltest and a reason: AllocsPerRun reads global counters, freeport assertions depend on concurrent allocation, and llo/telem subtests share one telemeter.
core/services/chainlink: 98 sites, almost all pure config parsing. core/services/ocrcommon: 38 sites. Three cases stay sequential: - Test_InMemoryDataSourceWithProm asserts on process-global Prometheus counters, so it keeps a nolint. - Test_DiscovererDatabase subtests read rows written by earlier subtests. - Test_SingletonPeerWrapper_Start subtests now build their own keystore and DB handle instead of sharing one, so they can run in parallel.
210 sites across 44 files. Pipeline was the slowest unit-test package in the baseline diagnose run (p50 29.9s); it is now 3.6s. Kept sequential: - TestBridgeTask_Headers and TestBridgeTask_AdapterTimeout subtests share one bridge task, DB handle and captured headers. - TestModeTask/'with json vars' shares table values that JSONWithVarExprs writes back to, so it must not overlap its parallel siblings. - Test_LookupTask now builds its own task and inputs per subtest instead of mutating parent-scoped ones.
Merged
Contributor
CORA - Pending Reviewers
Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown For more details, see the full review summary. |
Contributor
|
✅ No conflicts with other open PRs targeting |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Intent
The last wave of
t.Parallel(), covering 92 files inpipeline,config,ocrcommonand the tools/plugin unit tests. There is no production code here: every file is either a one-line addition or a fixture that had to stop being shared. Deliberately kept off the current stack so wave 3 can be reviewed and re-stacked separately. Part of DX-5066.Changes
78 of 92 files are one added
t.Parallel()lineThe remaining 14 are fixtures that had to move inside their subtest, plus the usual shared-state adjustments:
config_tracing,heartbeat,llo/telem,ocrcommon(data source, discoverer, peer wrapper),pipeline(bridge, lookup, mode),versioningORM,shutdown,internal/testdb,plugins/loop_registryandtools/plugout.Notes
DX-5066/faster-integrationfor now, so this diff shrinks and retargets todevelopwhen Faster, More Stable Tests! #24191 merges.