Skip to content

[skip-release] Make native build timeout configurable#32

Merged
libops-agent merged 1 commit into
mainfrom
harden/configurable-build-timeout
Jul 16, 2026
Merged

[skip-release] Make native build timeout configurable#32
libops-agent merged 1 commit into
mainfrom
harden/configurable-build-timeout

Conversation

@libops-agent

Copy link
Copy Markdown
Contributor

The shared publisher currently hard-codes a 30-minute native build timeout. That is too short for deterministic cold builds such as the API Terraform runner, which compiles exact provider releases for both architectures before publication.

This change:

  • adds a numeric build-timeout-minutes reusable-workflow input with a 30-minute default;
  • restricts accepted values to 5 through 120 minutes;
  • applies the input only to each native build job; and
  • adds a Go contract test for the default, expression, and validation boundary.

Existing callers keep the same bounded default. Callers with reviewed cold-build requirements can opt into a larger timeout without copying the publisher.

Validated locally with actionlint, go test ./ci/github, and git diff --check.

@libops-agent
libops-agent merged commit 78d07d2 into main Jul 16, 2026
1 check passed
@libops-agent
libops-agent deleted the harden/configurable-build-timeout branch July 16, 2026 22:57
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