[BUG] Kernel producer requires an absent build parent #171

Closed
opened 2026-10-20 19:37:03 +02:00 by erikinkinen · 3 comments
Owner

Summary

The Kernel build producer fails when its evidence and target directories are
siblings under a fresh Cargo build directory. Exsh stops its frame matrix after
the first case, before the Kernel build or the remaining five cases.

Reproduction

Run Exsh CI 618 at b0d37e66769f0c595859a97436f7f7e8b9186a53,
which selects Integration helper cb5a848f72b3f75bb376cc9fc5c3fe367db2e00a.
The runtime/release caller selects build-target/kernel-return-correspondence
for evidence and a sibling build-target/kernel-return-target for the target.
The common parent does not exist in the fresh Kernel gateway.

Expected and actual behavior

The producer should validate the selected invocation, create its allowed common
parent, then acquire both fresh output directories exclusively.

It creates the evidence directory first and raises FileNotFoundError. The
first frame's earlier 60-second timeout remains a separate failure; fixing this
directory error does not establish the frame proof.

Environment and identity

Original Exsh push CI 618, Integration helper revision above, Linux x86_64,
Python 3.13.5, target x86_64-unknown-none. This happens before a native Kernel
command and grants no guest or deployment authority.

Evidence and prior checks

The complete original log contains the first frame timeout followed by the
missing correspondence directory. A literal directory regression reproduces the
old producer's failure before any native command; the corrected source passes
all 21 related controls, including refusal before output acquisition and
preservation of existing evidence.

Tracking

  • Reproduce the fresh-parent failure before the native Kernel build.
  • Create the selected common parent after validation and preserve exclusive outputs.
  • Reach all six original matrix cases with their unchanged deadlines in current CI.

Implementation belongs in Integration PR #12 and its caller
in Exsh PR #3. Complete frame acceptance remains in Exsh #4.

## Summary The Kernel build producer fails when its evidence and target directories are siblings under a fresh Cargo build directory. Exsh stops its frame matrix after the first case, before the Kernel build or the remaining five cases. ## Reproduction Run [Exsh CI 618][ci] at `b0d37e66769f0c595859a97436f7f7e8b9186a53`, which selects Integration helper `cb5a848f72b3f75bb376cc9fc5c3fe367db2e00a`. The runtime/release caller selects `build-target/kernel-return-correspondence` for evidence and a sibling `build-target/kernel-return-target` for the target. The common parent does not exist in the fresh Kernel gateway. ## Expected and actual behavior The producer should validate the selected invocation, create its allowed common parent, then acquire both fresh output directories exclusively. It creates the evidence directory first and raises `FileNotFoundError`. The first frame's earlier 60-second timeout remains a separate failure; fixing this directory error does not establish the frame proof. ## Environment and identity Original Exsh push CI 618, Integration helper revision above, Linux x86_64, Python 3.13.5, target `x86_64-unknown-none`. This happens before a native Kernel command and grants no guest or deployment authority. ## Evidence and prior checks The [complete original log][ci] contains the first frame timeout followed by the missing correspondence directory. A literal directory regression reproduces the old producer's failure before any native command; the corrected source passes all 21 related controls, including refusal before output acquisition and preservation of existing evidence. ## Tracking - [x] Reproduce the fresh-parent failure before the native Kernel build. - [x] Create the selected common parent after validation and preserve exclusive outputs. - [x] Reach all six original matrix cases with their unchanged deadlines in current CI. Implementation belongs in [Integration PR #12][integration-pr] and its caller in [Exsh PR #3][exsh-pr]. Complete frame acceptance remains in [Exsh #4][frames]. [ci]: https://git.erikinkinen.fi/erix/exsh/actions/runs/618 [integration-pr]: https://git.erikinkinen.fi/erix/integration/pulls/12 [exsh-pr]: https://git.erikinkinen.fi/erix/exsh/pulls/3 [frames]: https://git.erikinkinen.fi/erix/exsh/issues/4
Author
Owner

Fixed the output-directory ordering in 7fa39495. The producer validates the invocation before creating its selected common parent, then acquires fresh evidence and target directories exclusively. Exsh’s helper update is prepared; all six current CI cases remain pending. Also corrected the original selected helper revision above to cb5a848f, whose producer body matches the reproduced failure.

Fixed the output-directory ordering in [`7fa39495`](https://git.erikinkinen.fi/erix/integration/commit/7fa39495acf92cca340bbe313cfb0160da2c70c1). The producer validates the invocation before creating its selected common parent, then acquires fresh evidence and target directories exclusively. Exsh’s helper update is prepared; all six current CI cases remain pending. Also corrected the original selected helper revision above to `cb5a848f`, whose producer body matches the reproduced failure.
Author
Owner

Exsh now selects the published fix in d35289ad. The remaining criterion is to reach all six original matrix cases in its new CI run, with their deadlines unchanged.

Exsh now selects the published fix in [`d35289ad`](https://git.erikinkinen.fi/erix/exsh/commit/d35289ad56c12fb636292696beb30717921fe97a). The remaining criterion is to reach all six original matrix cases in its new CI run, with their deadlines unchanged.
Author
Owner

Closed after Exsh CI 620 reached all six original matrix cases without the missing Kernel evidence-parent error. Each case kept its original deadline. The frame proofs remain incomplete and are tracked separately in Exsh #4.

Closed after [Exsh CI 620](https://git.erikinkinen.fi/erix/exsh/actions/runs/620) reached all six original matrix cases without the missing Kernel evidence-parent error. Each case kept its original deadline. The frame proofs remain incomplete and are tracked separately in [Exsh #4](https://git.erikinkinen.fi/erix/exsh/issues/4).
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#171
No description provided.