Skip to content

fix(ci): scope hashFiles glob in cached-seed to avoid timeout#15022

Closed
davidkonigsberg wants to merge 1 commit intomainfrom
devin/1776257269-fix-cached-seed-hashfiles-timeout
Closed

fix(ci): scope hashFiles glob in cached-seed to avoid timeout#15022
davidkonigsberg wants to merge 1 commit intomainfrom
devin/1776257269-fix-cached-seed-hashfiles-timeout

Conversation

@davidkonigsberg
Copy link
Copy Markdown
Contributor

@davidkonigsberg davidkonigsberg commented Apr 15, 2026

Description

Fixes a consistent CI failure where the hashFiles('**/Dockerfile*') call in the cached-seed action times out after 120 seconds during the post-job cache save step.

Error: hashFiles('**/Dockerfile*') couldn't finish within 120 seconds.

Changes Made

  • Scoped the hashFiles glob from **/Dockerfile* (entire workspace) to generators/**/Dockerfile*, docker/**/Dockerfile*, packages/**/Dockerfile* (only directories containing Dockerfiles)

Root cause: The ** glob scans the entire workspace, including the seed/ output directory which grows to 900MB+ with hundreds of thousands of generated files during seed tests. This causes hashFiles to exceed its 120-second timeout.

Testing

  • Manual testing completed — this can only be validated by CI running the cached-seed action successfully
  • Verified all Dockerfiles in the repo exist under generators/, docker/, or packages/ — no Dockerfiles are missed by the scoped globs

Review Checklist

  • Confirm the three directory prefixes cover all Dockerfile locations (verified via find — they do)
  • Note: this changes the cache key, so there will be a one-time cache miss after merge

Link to Devin session: https://app.devin.ai/sessions/48ea5e97c4284bdcbd4b66a2b6accb3b
Requested by: @davidkonigsberg


Open with Devin

The hashFiles('**/Dockerfile*') glob was scanning the entire workspace
including the massive seed/ output directory, causing it to exceed the
120-second timeout. Scoped the glob to only generators/, docker/, and
packages/ where Dockerfiles actually exist.

Co-Authored-By: David Konigsberg <davidakonigsberg@gmail.com>
@devin-ai-integration
Copy link
Copy Markdown
Contributor

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Copy link
Copy Markdown

@claude claude bot left a comment

Choose a reason for hiding this comment

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

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

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

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@davidkonigsberg davidkonigsberg deleted the devin/1776257269-fix-cached-seed-hashfiles-timeout branch April 16, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant