Skip to content

ci: add timeout-minutes to devcontainer job - #1085

Open
devsy-app[bot] wants to merge 1 commit into
mainfrom
ci-optimizer/devcontainer-timeout-minutes
Open

ci: add timeout-minutes to devcontainer job#1085
devsy-app[bot] wants to merge 1 commit into
mainfrom
ci-optimizer/devcontainer-timeout-minutes

Conversation

@devsy-app

@devsy-app devsy-app Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Problem

The build job in .github/workflows/devcontainer.yml had no timeout-minutes set. A hung devcontainer build (e.g. a stalled devcontainer build/image pull) would run indefinitely against the GitHub Actions default 6-hour ceiling, wasting CI minutes and blocking the workflow until it is manually cancelled.

Change

Add an explicit timeout-minutes: 15 to the build job:

jobs:
  build:
    name: Build and Run Devcontainer
    runs-on: ubuntu-latest
    timeout-minutes: 15

This is a safety guard only - successful runs complete well within the limit, so there is no behavior change for the normal path.

Runs inspected

Recent devcontainer.yml workflow runs were surveyed via gh run list --repo devsy-org/devsy. No individual run id is cited because the fix is a preventive guard for the absent-timeout-minutes class of issue rather than a response to one specific failure.

Validation

This PR was created by an AI agent as part of an automated daily CI optimization job.

The build job in devcontainer.yml had no timeout-minutes, so a hung devcontainer build could run indefinitely and waste CI minutes. Add an explicit 15-minute timeout as a safety guard. No behavior change for successful runs.
@netlify

netlify Bot commented Aug 17, 2026

Copy link
Copy Markdown

Deploy Preview for devsydev canceled.

Name Link
🔨 Latest commit eef7419
🔍 Latest deploy log https://app.netlify.com/projects/devsydev/deploys/6a82d4aa6a5a1800086838a2

@netlify

netlify Bot commented Aug 17, 2026

Copy link
Copy Markdown

Deploy Preview for images-devsy-sh canceled.

Name Link
🔨 Latest commit eef7419
🔍 Latest deploy log https://app.netlify.com/projects/images-devsy-sh/deploys/6a82d4aa9dd7c00008942821

@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

AI Reviewer: run a review on demand. To trigger the first review automatically, go to your organization or repository integration settings. AI can make mistakes. Always validate suggestions.

Run reviewer

TIP This summary will be updated as you push new changes.

@skevetter
skevetter marked this pull request as ready for review August 17, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants