Repository navigation
Conversation
The second check compared counter with len(config.Nodes) twice, so a config with fewer nodes than config2 was reported as equal.
Each test process now creates its own Postgres database and truncates tables between tests instead of recreating the entire schema. Paralellization is also enabled by dynamically assigning free ports + unique temp dirs allowing servers to run in parallel during testing. Benchmarking on my machine shows a reduction in time for a full test run from 15+ minutes to approx 3 minutes for a full test run.
Only run coverage on pushes to main, this keeps PR runs fast and prevents runs from failing in forks due to lacking API keys to publish the results.
…complex devcontainer setup with a more streamlined version matching what a developer without a devcontainer based workflow would use
- Run CI on pushes to dev and limit coverage to pushes to main, since coverage repeats the suite - Remove the unused FreePorts, FreePort and FreePortsOrPanic helpers, which kept the release-before-bind race that ReservePorts avoids - Use t.TempDir in newTestColoniesController instead of os.MkdirTemp, which never removed its directory The Config.Equals fix was split out of "Test performance improvements" into its own commit earlier in the branch.
ossko
force-pushed
the
testperf
branch
2 times, most recently
from
October 5, 2026 12:49
817baa9 to
e5c0f06
Compare
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.
No description provided.