Archive gotestsum JSON for unit and acc tests#5068
Merged
Conversation
3 tasks
pietern
added a commit
that referenced
this pull request
Apr 23, 2026
Profiling via gotestsum JSON (PR #5068) shows Windows acceptance tests run at 2.1-2.4x the Linux duration uniformly across every directory, and a large subset of those tests exercise server-side logic through bundle deploy/update cycles without touching OS-specific CLI behavior. Linux coverage alone is sufficient for those subtrees. Skipping on both Windows and macOS (via GOOS.windows/GOOS.darwin = false) in: - `bundle/resources/` — jobs, pipelines, clusters, dashboards, grants, permissions, model_serving_endpoints, postgres_*, quality_monitors, secret_scopes, volumes, models, registered_models, schemas, etc. - `bundle/deployment/bind/` and `bundle/deployment/unbind/` -- server-side state binding - `bundle/run_as/` -- server-side identity impersonation - `bundle/resource_deps/` -- server-side dependency resolution - `bundle/templates/default-python/{combinations,integration_classic, serverless}` -- server-side template rendering; Windows/macOS still smoke-tests the template machinery via `templates/default-python/ classic/`. All `out.test.toml` files regenerated via `make generate-out-test-toml` so the materialized config snapshot reflects the new GOOS filters. Expected impact: - windows/terraform: ~32m -> ~12-15m - macos/terraform: ~13m -> ~7-9m - linux/terraform: unchanged (full coverage preserved) Co-authored-by: Isaac
3a9f772 to
6e061e3
Compare
6e061e3 to
4eb7689
Compare
Previously `task cover` wrote both unit and acc gotestsum output to the same `test-output.json`, so the acc run overwrote the unit run. Match what `task test` already does: - Each gotestsum run writes its own per-run JSON (`test-output-unit.json`, `test-output-acc.json`). - A trailing `cat` step concatenates them into `test-output.json`, so `task cover` and `task test` produce the same final artifact. Upload `test-output.json` as a per-matrix-entry artifact so we can run `gotestsum tool slowest` or ad-hoc queries against the full per-test timing set offline. Co-authored-by: Isaac
4eb7689 to
2d85014
Compare
janniklasrose
approved these changes
May 6, 2026
andrewnester
approved these changes
May 6, 2026
Co-authored-by: Isaac
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.
Summary
task cover(push-to-main path) wrote both the unit and acceptance gotestsum runs to the sametest-output.json, so the acc run overwrote the unit run. Mirror whattask testalready does:test-output-unit.json,test-output-acc.json).catstep concatenates them intotest-output.json, sotask coverandtask testproduce the same artifact.Upload
test-output.jsonas a per-matrix-entry artifact (test-output-<os>-<deployment>) so we can rungotestsum tool slowestor ad-hoc queries against the full per-test timing set offline.This pull request and its description were written by Isaac.