Skip to content

ci: skip test-local-dev-simulation on non-component PRs #1345

Closed

Description

@jeremyeder

Problem

test-local-dev-simulation runs on every PR (on: pull_request with no paths filter). It does a full make kind-up + integration test suite and takes ~10-15 min. This is unnecessary for docs-only, CI-workflow, or spec changes.

Proposed fix

  1. Add a paths filter to .github/workflows/test-local-dev.yml:

    on:
      pull_request:
        paths:
          - 'components/*/Dockerfile'
          - 'components/manifests/**'
          - 'components/backend/**'
          - 'components/operator/**'
          - 'components/frontend/**'
          - 'components/runners/**'
          - 'Makefile'
          - 'tests/**'
          - '.github/workflows/test-local-dev.yml'
  2. Update .mergify.yml to handle skipped checks. Mergify's check-success fails when the check doesn't run at all. Options:

    • Use check-success-or-neutral or check-skipped conditions
    • Switch to GitHub branch protection required checks (which handle skipped jobs natively)
    • Add a lightweight "gate" job that always runs and reports success when the path filter skips

Context

Discovered while working on PR #1294 (CI caching improvements) — a workflow-only change was blocked waiting 15+ min for a full kind cluster build that tested nothing relevant.

Activity

  1. added
    ambient-code:auto-fix
    on Apr 17, 2026
  2. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    🤖 Amber is working on this issue. A PR will be created shortly with the ambient-code:managed label.

  3. added a commit that references this issue on Apr 17, 2026
    3fe0b6c
  4. github-actions commented on Apr 17, 2026

    @github-actions
    Contributor

    🤖 Amber session completed (phase: Running). View session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ambient-code:auto-fix

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions