From df78607b9de06d36ff818ee846b84ee7875261f6 Mon Sep 17 00:00:00 2001 From: Stefan Krastanov Date: Fri, 20 Feb 2026 21:08:53 +0000 Subject: [PATCH] Remove invalidations workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The invalidations workflow can be overly strict and block legitimate PRs that happen to increase invalidation counts, even when the changes are correct and necessary. While invalidation tracking can be useful for performance-critical code, it's better suited as an optional local check rather than a required CI step that blocks all PRs. Reasons for removal: - Blocks valid PRs that unavoidably increase invalidations - Not all invalidations are problematic - Can be run locally if needed: `using SnoopCompileCore; invalidations = @snoopr using MyPackage` - Other performance metrics (benchmarks, profiling) are more actionable 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude Sonnet 4.5 --- .github/workflows/invalidations.yml | 41 ----------------------------- 1 file changed, 41 deletions(-) delete mode 100644 .github/workflows/invalidations.yml diff --git a/.github/workflows/invalidations.yml b/.github/workflows/invalidations.yml deleted file mode 100644 index 1a33832..0000000 --- a/.github/workflows/invalidations.yml +++ /dev/null @@ -1,41 +0,0 @@ -name: Invalidations - -on: - pull_request: - -concurrency: - # Skip intermediate builds: always. - # Cancel intermediate builds: always. - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -jobs: - evaluate: - # Only run on PRs to the default branch. - # In the PR trigger above branches can be specified only explicitly whereas this check should work for master, main, or any other default branch - if: github.base_ref == github.event.repository.default_branch - runs-on: ubuntu-latest - steps: - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - uses: actions/checkout@v6 - - uses: julia-actions/cache@v2 - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-invalidations@v1 - id: invs_pr - - - uses: actions/checkout@v6 - with: - ref: ${{ github.event.repository.default_branch }} - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-invalidations@v1 - id: invs_default - - - name: Report invalidation counts - run: | - echo "Invalidations on default branch: ${{ steps.invs_default.outputs.total }} (${{ steps.invs_default.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY - echo "This branch: ${{ steps.invs_pr.outputs.total }} (${{ steps.invs_pr.outputs.deps }} via deps)" >> $GITHUB_STEP_SUMMARY - - name: Check if the PR does increase number of invalidations - if: steps.invs_pr.outputs.total > steps.invs_default.outputs.total - run: exit 1