-
Notifications
You must be signed in to change notification settings - Fork 1.9k
fix(github): Revert cache being turned off #5487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No issues found across 2 files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Greptile Overview
Summary
This PR reverts a previous change that disabled Docker layer caching in the GitHub Actions integration test workflows. The change removes no-cache: true
from six Docker build steps across both the standard and MIT integration test workflows.
Key changes:
- Re-enables Docker layer caching for backend, model server, and integration test image builds
- Should improve build performance by allowing Docker to reuse unchanged layers
- Affects both
pr-integration-tests.yml
andpr-mit-integration-tests.yml
workflows - No functional changes to test execution, only build optimization
This is a test PR to investigate whether caching was the root cause of integration test failures, as mentioned in the PR description.
Confidence Score: 5/5
- This PR is safe to merge with minimal risk
- Score reflects the low-risk nature of this change - it only reverts Docker cache settings and has no impact on application logic or test execution. Re-enabling caching is standard practice and should improve build performance.
- No files require special attention
Important Files Changed
File Analysis
Filename | Score | Overview |
---|---|---|
.github/workflows/pr-integration-tests.yml | 5/5 | Removed no-cache: true from three Docker build steps to re-enable caching for better build performance |
.github/workflows/pr-mit-integration-tests.yml | 5/5 | Removed no-cache: true from three Docker build steps to re-enable caching for better build performance |
Sequence Diagram
sequenceDiagram
participant Dev as Developer
participant GHA as GitHub Actions
participant Registry as Private Registry
participant Docker as Docker Buildx
Note over Dev,Docker: PR Integration Tests Workflow
Dev->>GHA: Push PR / Merge group event
GHA->>GHA: discover-test-dirs
GHA->>GHA: prepare-build (OpenAPI generation)
par Build Backend Image
GHA->>Docker: Setup Docker Buildx
GHA->>Registry: Login to private registry
Docker->>Docker: Build backend image (WITH cache enabled)
Docker->>Registry: Push backend image
and Build Model Server Image
GHA->>Docker: Setup Docker Buildx
GHA->>Registry: Login to private registry
Docker->>Docker: Build model server image (WITH cache enabled)
Docker->>Registry: Push model server image
and Build Integration Image
GHA->>Docker: Setup Docker Buildx
GHA->>Registry: Login to private registry
Docker->>Docker: Build integration image (WITH cache enabled)
Docker->>Registry: Push integration image
end
GHA->>GHA: Run integration tests using built images
Note over Docker: Cache Change Impact
Note over Docker: Previously: no-cache: true (disabled caching)
Note over Docker: Now: cache enabled (faster subsequent builds)
2 files reviewed, no comments
4 Jobs Failed: Run Integration Tests v2 / integration-tests (connector_job_tests/sharepoint, connector-sharepoint) failed on "Wait for service to be ready"
Run Integration Tests v2 / integration-tests (tests/playwright, tests-playwright) failed on "Unknown Step"Run Integration Tests v2 / required failed on "Run actions/github-script@v7"
1 job failed running on non-Blacksmith runners. Summary: 7 successful workflows, 2 failed workflows
Last updated: 2025-09-25 03:05:49 UTC |
Description
[Provide a brief description of the changes in this PR]
We are now trying to test that caching is the issue that leads to integration tests being broken. This is a test PR
How Has This Been Tested?
[Describe the tests you ran to verify your changes]
We are testing this with this PR
Additional Options