Skip to content

Also skip server-side test subtrees on macOS (follow-up to #5072)#5073

Closed
pietern wants to merge 1 commit intotest-time-windows-skipfrom
test-time-windows-skip-more
Closed

Also skip server-side test subtrees on macOS (follow-up to #5072)#5073
pietern wants to merge 1 commit intotest-time-windows-skipfrom
test-time-windows-skip-more

Conversation

@pietern
Copy link
Copy Markdown
Contributor

@pietern pietern commented Apr 23, 2026

Summary

Stacks on #5072. Two changes:

1. Also skip on macOS

The subtrees skipped on Windows in #5072 exercise server-side logic via bundle deploy/update cycles; none of them exercise OS-specific CLI behavior. Linux gives full coverage. Extending the skip to macOS removes redundant CI minutes and trims macOS/terraform wall-clock.

2. More subtrees that match the same pattern

Gotestsum profiling (PR #5068) shows Windows runs at ~2.1-2.4x Linux per test uniformly. After the #5072 cuts the remaining big contributors to windows/terraform are still all server-side:

Directory Windows cumulative Linux cumulative Ratio
bundle/resources/jobs 486s 231s 2.1×
bundle/deployment/bind 441s 209s 2.1×
bundle/resources/model_serving_endpoints 376s 173s 2.2×
bundle/resources/dashboards 369s 175s 2.1×
bundle/resources/clusters 311s 152s 2.0×
bundle/resources/pipelines 251s 104s 2.4×
bundle/resources/grants 250s 120s 2.1×
bundle/run_as/pipelines 178s 72s 2.5×
bundle/resources/postgres_* 469s 191s 2.5×
bundle/resource_deps/* ~300s ~120s ~2.5×

None of these exercise Windows/macOS-specific CLI behavior — they're all server-side resource management through bundle deploy. Linux coverage is sufficient.

Changes

  • GOOS.windows = false; GOOS.darwin = false hoisted to bundle/resources/test.toml (covers all resources/, subsumes the permissions-specific entry from Skip server-side acceptance tests on Windows and macOS #5072).
  • Same pair added to existing test.toml files for templates/default-python/{combinations,integration_classic,serverless} (replaces the Windows-only skip from Skip server-side acceptance tests on Windows and macOS #5072).
  • New test.toml files for bundle/deployment/bind/, bundle/deployment/unbind/, bundle/run_as/.
  • Same pair added to bundle/resource_deps/test.toml.
  • out.test.toml files regenerated via make generate-out-test-toml.

Expected impact (stacked on #5072)

  • windows/terraform: ~23m → ~12-15m (from ~3500s additional cumulative cut at ~4-5x parallelism)
  • macos/terraform: ~12m → ~7-9m
  • linux/terraform: unchanged (full coverage)

Test plan

  • windows/terraform and macos/terraform still pass
  • Linux timings unchanged
  • Wall-clock delta matches expectation

This pull request and its description were written by Isaac.

Extends the windows skip from the parent PR to macOS. Same argument:
the subtrees that were skipped on windows exercise server-side logic
through bundle deploy/update cycles and don't exercise
OS-specific CLI behavior. Linux runs cover them fully.

Also hoists the permissions skip to the parent `resources/` test.toml
(so every `resources/*` directory inherits it) and adds four more
subtrees that match the same pattern:

- `bundle/resources/` (parent -- was just `permissions/` before): covers
  jobs, pipelines, clusters, dashboards, grants, model_serving_endpoints,
  postgres_*, quality_monitors, secret_scopes, volumes, 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

`out.test.toml` files regenerated via `make generate-out-test-toml`.

Expected incremental impact on top of the parent PR:
- windows/terraform: should drop from ~23m toward ~12-15m
- macos/terraform: should drop from ~13m toward ~7-9m
- linux/terraform unchanged (full coverage preserved)

Co-authored-by: Isaac
@pietern pietern closed this Apr 23, 2026
@pietern pietern deleted the test-time-windows-skip-more branch April 23, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant