Skip to content

Conversation

justin-tahara
Copy link
Contributor

@justin-tahara justin-tahara commented Sep 25, 2025

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

  • [Optional] Override Linear Check

@justin-tahara justin-tahara requested a review from a team as a code owner September 25, 2025 02:36
Copy link

vercel bot commented Sep 25, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
internal-search Ready Ready Preview Comment Sep 25, 2025 2:45am

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a 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

Copy link
Contributor

@greptile-apps greptile-apps bot left a 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 and pr-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)
Loading

2 files reviewed, no comments

Edit Code Review Agent Settings | Greptile

Copy link

blacksmith-sh bot commented Sep 25, 2025

4 Jobs Failed:

Run Integration Tests v2 / integration-tests (connector_job_tests/sharepoint, connector-sharepoint) failed on "Wait for service to be ready"
[...]
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Service not ready yet (HTTP status 000curl_error). Retrying in 5 seconds...
Timeout reached. Service did not become ready in 5 minutes.
Error: Process completed with exit code 1.
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"
[...]
  retry-exempt-status-codes: 400,401,403,404,422
env:
  PRIVATE_REGISTRY: experimental-registry.blacksmith.sh:5000
  PRIVATE_REGISTRY_USERNAME: ***
  PRIVATE_REGISTRY_PASSWORD: ***
  OPENAI_API_KEY: ***
  SLACK_BOT_TOKEN: ***
  CONFLUENCE_TEST_SPACE_URL: ***
  CONFLUENCE_USER_NAME: ***
  CONFLUENCE_ACCESS_TOKEN: ***
  JIRA_BASE_URL: ***
  JIRA_USER_EMAIL: ***
  JIRA_API_TOKEN: ***
  PERM_SYNC_SHAREPOINT_CLIENT_ID: ***
  PERM_SYNC_SHAREPOINT_PRIVATE_KEY: ***
  PERM_SYNC_SHAREPOINT_CERTIFICATE_PASSWORD: ***
  PERM_SYNC_SHAREPOINT_DIRECTORY_ID: ***
  GITHUB_REPO_NAME: ***/onyx
Error: One or more upstream jobs failed or were cancelled.

1 job failed running on non-Blacksmith runners.


Summary: 7 successful workflows, 2 failed workflows

Last updated: 2025-09-25 03:05:49 UTC

@justin-tahara justin-tahara merged commit 4420a50 into main Sep 25, 2025
53 of 59 checks passed
@justin-tahara justin-tahara deleted the jtahara/turn-caching-back-on branch September 25, 2025 21:08
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.

1 participant