Skip to content

#5250: Add more context to CI ephemeral build cache keys and configure dependent jobs to fail on cache misses.#5254

Draft
joeparsons wants to merge 3 commits intomainfrom
issue/5250-update-ci-workflow
Draft

#5250: Add more context to CI ephemeral build cache keys and configure dependent jobs to fail on cache misses.#5254
joeparsons wants to merge 3 commits intomainfrom
issue/5250-update-ci-workflow

Conversation

@joeparsons
Copy link
Copy Markdown
Member

Description

Release notes

Related issues

How to test

Types of changes

Arizona Quickstart (install profile, custom modules, custom theme)

  • Patch release changes
    • Bug fix
    • Accessibility, performance, or security improvement
    • Critical institutional link or brand change
    • Adding experimental module
    • Update experimental module
  • Minor release changes
    • New feature
    • Breaking or visual change to existing behavior
    • Upgrade experimental module to stable
    • Enable existing module by default or database update
    • Non-critical brand change
    • New internal API or API improvement with backwards compatibility
    • Risky or disruptive cleanup to comply with coding standards
    • High-risk or disruptive change (requires upgrade path, risks regression, etc.)
  • Other or unknown
    • Other or unknown

Drupal core

  • Patch release changes
    • Security update
    • Patch level release (non-security bug-fix release)
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major or minor level update
  • Other or unknown
    • Other or unknown

Drupal contrib projects

  • Patch release changes
    • Security update
    • Patch or minor level update
    • Add new module
    • Patch removal that's no longer necessary
  • Minor release changes
    • Major level update
  • Other or unknown
    • Other or unknown

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • My change requires release notes.

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the CI workflow cache strategy to add more context to the cache key and to fail jobs when the expected cache is missing.

Changes:

  • Compute a composite CACHE_KEY in the composer job based on workflow, source ref, SHA, run ID, and run attempt.
  • Switch all cache save/restore steps in the CI workflow to use key: ${{ env.CACHE_KEY }} instead of the previous SHA-based key.
  • Enable fail-on-cache-miss: true for all cache restore steps that consume the scaffolding build artifact.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
Comment thread .github/workflows/ci.yml Outdated
joeparsons and others added 2 commits January 28, 2026 12:38
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@joeparsons joeparsons changed the title #5250: Add more context to CI workflow cache key and fail on cache misses. #5250: Add more context to keys used for ephemeral caches used in CI workflow and configure subsequent jobs to fail on cache misses. Jan 28, 2026
@joeparsons joeparsons requested a review from Copilot January 28, 2026 19:57
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@joeparsons joeparsons changed the title #5250: Add more context to keys used for ephemeral caches used in CI workflow and configure subsequent jobs to fail on cache misses. #5250: Add more context to CI workflow ephemeral build cache keys and configure dependent jobs to fail on cache misses. Jan 28, 2026
@joeparsons joeparsons changed the title #5250: Add more context to CI workflow ephemeral build cache keys and configure dependent jobs to fail on cache misses. #5250: Add more context to CI ephemeral build cache keys and configure dependent jobs to fail on cache misses. Jan 28, 2026
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.

2 participants