Skip to content

perf(ci): skip the unused macOS/Windows Tier 2 cook; guard container run scripts against host paths (#3034, #3035) - #3036

Merged
zackees merged 3 commits into
masterfrom
infra/tier2-host-paths
Oct 30, 2026
Merged

zackees merged 3 commits into
masterfrom
infra/tier2-host-paths

Conversation

@zackees

@zackees zackees commented Oct 30, 2026

Copy link
Copy Markdown
Member

Fixes #3034
Fixes #3035
Refs #3026, #3027, #3028

#3034: macOS/Windows Tier 2 cook

validate.sh/validate.ps1 build every Rust crate with --target <triple> --target-dir build/cargo-native-* and through Corrosion in the CMake tree, so the soldr cook --release output in workspace target/ is never read. Same fix as #3028: prebuild-deps: none + cargo-registry-cache: true.
Baseline (run 41018705718): macOS soldr setup 31 s (cook 20.7 s + base load ~2 s); Windows 50 s (cook 22.4 s). Run 41006697912: 46 s / 43 s.

  • RED test(ci): RED: macOS/Windows Tier 2 skip ...: test_cook_profiles fails 2 (macOS/Windows still prebuild-deps-flags: --release), test_rust_cache_policy fails cook_free == 3 (was 1).
  • GREEN: workflow change + docs/ci-tooling.md note; both pass.

#3035: host-path guard

ci/test_container_host_paths.py (stdlib) fails on ${{ github.workspace }}, ${{ runner.temp|tool_cache|workspace }} or ${{ github.action_path }} inside any run: of a job with container:, and of the local composite actions such a job uses. env:/with:/working-directory: are translated by the runner and left alone (the Tier 2 build log shows OBS_TIER2_SRC resolving to /__w/...).
Audit: flatpak-build, flatpak-compiler-consumer, rust-linux-tier2-build, publish/flatpak-publish, and actions cache + flatpak-builder-lint: nothing left to fix after #3028.
Local RED evidence: against bfae421^:.github/workflows/build-project.yaml it reports rust-linux-tier2-build: run at job line 97 (the #3026 bound); against ca9369b89^ flatpak-builder-lint it finds both #2705 run scripts. Current tree: clean.

Tiers 1-4 do not apply (CI configuration only). No features.md line (not user-visible). Test cost: Python only, 2 tests in 0.01 s.
./lint: only the known local ci/test_check_changes.py "git: command not found" failure.

@zackees zackees left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Coordinator review: LGTM.

  • #3034: same reasoning as #3028. validate.sh/.ps1 build with --target <triple> into build/cargo-native-* and through Corrosion, so the workspace cook was never read. RED → GREEN via test_cook_profiles and cook_free == 3.
  • #3035: a guard that turns the #2705 and #3026 class of bug into a lint failure, and it also covers the local composite actions a container job uses. The local RED evidence against both historical breakages is the right proof. It leaves env:/with:/working-directory: alone, which matches how the runner translates paths.
  • Interaction with #1801: with no Tier 2 cook on macOS or Windows, the deps macOS/Windows shapes now serve only the Rust Tests lanes. Worth rechecking those shape sizes in the #1801 GREEN.

Queue on green.

@zackees
zackees added this pull request to the merge queue Oct 30, 2026
Merged via the queue into master with commit 5fe22f0 Oct 30, 2026
36 checks passed
@zackees
zackees deleted the infra/tier2-host-paths branch October 30, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

test(ci): fail on ${{ github.workspace }} in a container job's run script perf(ci): macOS/Windows Tier 2 cook --release output is never read

1 participant