Skip to content

feat: INF-3764 add default timouts overwritable with input#127

Merged
jmpalomares merged 2 commits into
mainfrom
feat/inf-3764-default-timeout
May 26, 2026
Merged

feat: INF-3764 add default timouts overwritable with input#127
jmpalomares merged 2 commits into
mainfrom
feat/inf-3764-default-timeout

Conversation

@jmpalomares
Copy link
Copy Markdown
Contributor

Description

Adding default timeouts that can be overwritten with an input

https://parcellab.atlassian.net/browse/INF-3764

Copilot AI review requested due to automatic review settings May 25, 2026 11:21
@jmpalomares jmpalomares requested a review from a team as a code owner May 25, 2026 11:21
Copy link
Copy Markdown
Contributor

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

Adds a configurable default job timeout to the repository’s reusable GitHub Actions workflows, so callers can override timeout behavior via a workflow input.

Changes:

  • Introduces a timeoutMinutes workflow input (default 40) on multiple reusable workflows.
  • Applies the input by setting timeout-minutes: ${{ inputs.timeoutMinutes }} on the corresponding jobs (and propagates it to nested reusable workflow calls where applicable).
  • Adds a fixed timeout-minutes: 40 to a couple of non-reusable CI workflows/jobs.

Reviewed changes

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

Show a summary per file
File Description
.github/workflows/yaml.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the YAML lint job.
.github/workflows/terraform.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the Terraform job.
.github/workflows/shell.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the ShellCheck job.
.github/workflows/release.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the Release Drafter job.
.github/workflows/python.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the Python job.
.github/workflows/preview.remove-tag.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the preview tag removal job.
.github/workflows/preview.build-image.yaml Adds timeoutMinutes input and applies it via timeout-minutes to both preview build and PR comment jobs.
.github/workflows/pr.yaml Adds timeoutMinutes input and applies it via timeout-minutes to PR labeling and title validation jobs.
.github/workflows/npm.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the npm publish job.
.github/workflows/kubernetes.yaml Adds timeoutMinutes input, applies it to jobs, and forwards it into the nested build-image reusable workflow call.
.github/workflows/json.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the JSON lint job.
.github/workflows/js.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the JS job.
.github/workflows/docs.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the docs (jekyll) job.
.github/workflows/deployment.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the deployment job.
.github/workflows/container.yaml Adds timeoutMinutes input and applies it via timeout-minutes to the container job.
.github/workflows/ci.update-major-version-tag.yaml Adds a fixed timeout-minutes: 40 to the update-major-tag job.
.github/workflows/ci.pr.yaml Adds a fixed timeout-minutes: 40 to the actionlint job.
.github/workflows/ci-requirements.yaml Adds timeoutMinutes input (default 40) and sets job timeout-minutes accordingly.
.github/workflows/build-image.yaml Adds timeoutMinutes input and applies it via timeout-minutes across build-image workflow jobs.

Copy link
Copy Markdown
Contributor

@andibeuge andibeuge left a comment

Choose a reason for hiding this comment

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

I think the hard coded timeout is not necessary for the internal ci... pipelines - maybe consider removing them if you agree. There is no downside/upside in having them.

@jmpalomares jmpalomares merged commit a4a753b into main May 26, 2026
5 checks passed
@jmpalomares jmpalomares deleted the feat/inf-3764-default-timeout branch May 26, 2026 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants