Skip to content

test(ci): fail on ${{ github.workspace }} in a container job's run script #3035

Closed

Description

@zackees

${{ github.workspace }} / ${{ runner.temp }} interpolate the runner host path (/home/runner/work/...). The runner translates them in env:, with: and working-directory:, but not inside a run: script, where the container sees /__w/... This broke twice: #2705 (flatpak-builder-lint "Failed to spawn") and #3026 (Tier 2 zccache bound never ran, cache grew to 13.9 GB).

Audit of every container job (flatpak-build, flatpak-compiler-consumer, rust-linux-tier2-build, publish flatpak-publish) and the in-repo actions they use (cache, flatpak-builder-lint): no remaining occurrence after #3028.

Add ci/test_container_host_paths.py (stdlib) that fails on these interpolations in any run: of a container job or of a local composite action such a job uses.

Activity

  1. added
    infra
    on Oct 30, 2026
  2. zackees commented on Oct 30, 2026

    @zackees
    MemberAuthor

    Claiming: #3035 together with #3034 and the #3026 restore measurement, one PR (infra/tier2-host-paths). RED: the guard test, shown failing against the pre-#3028 build-project.yaml; GREEN: current tree passes.

  3. added
    ready
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

infraready

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions