[BUG] Source-layout check counts clones across independent CI jobs #177

Closed
opened 2026-10-23 19:16:46 +02:00 by erikinkinen · 2 comments
Owner

Summary

The source-layout check fails after host tests were split into separate jobs.
It counts every Clone configured components step in the workflow and expects
one, although each of the three independent jobs needs its own checkout.

Reproduction

At 8dcca3f296330c1140bf4fefbea2c9475c92d32e, run
bash tests/ci-component-source-layout.sh from the Integration repository.
The first clone-count assertion sees three steps and exits 1.

Expected and actual behavior

The integration job should clone components once before its helper checks.
Independent host jobs must be allowed their own clones. Instead, the global
count stops CI before the remaining checks, without an explanatory diagnostic.

Environment and identity

Integration push CI, Linux x86-64 Docker runner, at the revision above.
The earlier workflow at a27acd3a6cb4db13e821bb5cca28cb2ec0fda453 reached VM checks.

Evidence and prior checks

CI 2951
passes both host jobs, Rust and Markdown, then stops immediately after the
coreutils directory fixtures. The following command is the source-layout check.
Its first assertion requires a workflow-wide clone count of one.

Tracking

Related: host-suite split
and PR 12.

  • Retain the failing CI result and identify its first assertion.
  • Check clone count and ordering within the integration job, with useful diagnostics.
  • Exercise missing, duplicate and reordered clones while allowing independent host jobs.
  • Get the affected CI run beyond this check.
## Summary The source-layout check fails after host tests were split into separate jobs. It counts every `Clone configured components` step in the workflow and expects one, although each of the three independent jobs needs its own checkout. ## Reproduction At `8dcca3f296330c1140bf4fefbea2c9475c92d32e`, run `bash tests/ci-component-source-layout.sh` from the Integration repository. The first clone-count assertion sees three steps and exits 1. ## Expected and actual behavior The integration job should clone components once before its helper checks. Independent host jobs must be allowed their own clones. Instead, the global count stops CI before the remaining checks, without an explanatory diagnostic. ## Environment and identity Integration push CI, Linux x86-64 Docker runner, at the revision above. The earlier workflow at `a27acd3a6cb4db13e821bb5cca28cb2ec0fda453` reached VM checks. ## Evidence and prior checks [CI 2951](https://git.erikinkinen.fi/erix/integration/actions/runs/2951) passes both host jobs, Rust and Markdown, then stops immediately after the coreutils directory fixtures. The following command is the source-layout check. Its first assertion requires a workflow-wide clone count of one. ## Tracking Related: [host-suite split](https://git.erikinkinen.fi/erix/integration/issues/175) and [PR 12](https://git.erikinkinen.fi/erix/integration/pulls/12). - [x] Retain the failing CI result and identify its first assertion. - [x] Check clone count and ordering within the integration job, with useful diagnostics. - [x] Exercise missing, duplicate and reordered clones while allowing independent host jobs. - [x] Get the affected CI run beyond this check.
Author
Owner

Fixed in 8501d3f5. The check now scopes clone count and ordering to the integration job and reports missing, duplicate or misplaced steps. Component layout and cache checks are unchanged.

Eight focused controls cover the original failure, valid layouts, missing or duplicate clones, wrong ordering, a missing helper step and an independent host job. CI 2954 is running; the issue remains open until it passes the affected check.

Fixed in [8501d3f5](https://git.erikinkinen.fi/erix/integration/commit/8501d3f52a8ae6019c9db9572da3c9577fab49f5). The check now scopes clone count and ordering to the integration job and reports missing, duplicate or misplaced steps. Component layout and cache checks are unchanged. Eight focused controls cover the original failure, valid layouts, missing or duplicate clones, wrong ordering, a missing helper step and an independent host job. [CI 2954](https://git.erikinkinen.fi/erix/integration/actions/runs/2954) is running; the issue remains open until it passes the affected check.
Author
Owner

CI 2963 passes the integration helper checks and reaches the complete VM scenario catalog. Together with the missing, duplicate and reordered clone controls, this completes the fix’s acceptance criteria.

[CI 2963](https://git.erikinkinen.fi/erix/integration/actions/runs/2963) passes the integration helper checks and reaches the complete VM scenario catalog. Together with the missing, duplicate and reordered clone controls, this completes the fix’s acceptance criteria.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:20 +01:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
erix/integration#177
No description provided.