ci: run two jobs on the runner and give molecule 45 minutes #367

Merged
Defame1297 merged 2 commits from ci/243-capacity-two into main 2026-11-25 13:15:04 +00:00
Owner

Why

The runner now takes two jobs at a time (#243). Testing showed:

  • A Lint and a Build of one pull request start together.
  • Memory headroom is enough for two concurrent jobs (checked 2026-11-25).
  • Two full molecule runs sharing the runner (a nightly run plus a dispatch, or two dispatches) take longer than 30 minutes. Both test runs hit the timeout, and every scenario that finished was green. A single full run stays well inside it, and so does a pull request run, which tests only the changed roles.

What

  • .gitea/workflows/molecule.yml: timeout-minutes goes from 30 to 45, and so does the sweep age. The existing script test holds the two equal and passes. A one-line comment says why.
  • .gitea/workflows/image.yml: the comment no longer describes a single-capacity runner. max-parallel: 1 keeps the builds one at a time, and a build may share the runner with one other job.

No changelog fragment: nothing consumer-visible changes.

Trade-off

A run that genuinely hangs is killed 15 minutes later. The alternative was a shared concurrency group that queues full runs, which would give up the overlap #166 allowed.

Refs #243

Assisted-by: Claude Code:claude-opus-5-5

## Why The runner now takes two jobs at a time (#243). Testing showed: - A Lint and a Build of one pull request start together. - Memory headroom is enough for two concurrent jobs (checked 2026-11-25). - Two full molecule runs sharing the runner (a nightly run plus a dispatch, or two dispatches) take longer than 30 minutes. Both test runs hit the timeout, and every scenario that finished was green. A single full run stays well inside it, and so does a pull request run, which tests only the changed roles. ## What - `.gitea/workflows/molecule.yml`: `timeout-minutes` goes from 30 to 45, and so does the sweep age. The existing script test holds the two equal and passes. A one-line comment says why. - `.gitea/workflows/image.yml`: the comment no longer describes a single-capacity runner. `max-parallel: 1` keeps the builds one at a time, and a build may share the runner with one other job. No changelog fragment: nothing consumer-visible changes. ## Trade-off A run that genuinely hangs is killed 15 minutes later. The alternative was a shared concurrency group that queues full runs, which would give up the overlap #166 allowed. Refs #243 Assisted-by: Claude Code:claude-opus-5-5
Claude added 1 commit 2026-11-25 11:53:42 +00:00
ci: run two jobs on the runner and give molecule 45 minutes
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 2m23s
Molecule / molecule (pull_request) Successful in 17m21s
8133e8453e
The runner now takes two jobs at a time, so a Lint and a Build of one pull
request start together. The image.yml comment no longer says builds run on a
single-capacity runner: max-parallel keeps the builds to one at a time, and a
build may share the runner with one other job.

Two full molecule runs sharing the runner (a nightly run and a dispatch)
take longer than 30 minutes; both were cut off at the timeout with every
finished scenario green. The timeout goes to 45 minutes, and the sweep age
with it (a script test holds the two equal).

Refs #243

Assisted-by: Claude Code:claude-opus-5-5
CODEOWNERS rules requested review from Defame1297 2026-11-25 11:53:42 +00:00
Defame1297 approved these changes 2026-11-25 12:58:25 +00:00
Dismissed
Defame1297 added 1 commit 2026-11-25 12:58:29 +00:00
Merge branch 'main' into ci/243-capacity-two
Build / build (pull_request) Successful in 27s
Lint / lint (pull_request) Successful in 2m23s
Molecule / molecule (pull_request) Successful in 16m4s
a0b875fe65
Defame1297 dismissed Defame1297's review 2026-11-25 12:58:29 +00:00
Reason:

New commits pushed, approval review dismissed automatically according to repository settings

CODEOWNERS rules requested review from Defame1297 2026-11-25 12:58:29 +00:00
Defame1297 scheduled this pull request to auto merge when all checks succeed 2026-11-25 12:58:35 +00:00
Defame1297 approved these changes 2026-11-25 12:58:45 +00:00
Defame1297 merged commit 696fe92142 into main 2026-11-25 13:15:04 +00:00
Defame1297 deleted branch ci/243-capacity-two 2026-11-25 13:15:06 +00:00
Sign in to join this conversation.
No Reviewers
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#367