[BUG] Native text-workload assertions lag behind the manual commands #182

Closed
opened 2026-10-24 01:26:21 +02:00 by erikinkinen · 1 comment
Owner

Summary

The initial-shell plan unit test still expects the old text workload after
pathname and manual commands were added. Rust CI fails before the host/VM jobs.

Reproduction

Run Integration's rootd-orchestration library tests at
4092943e28, as in
CI2987.
The failing case is coreutils_variants_are_bounded_and_keep_exact_authority.

Expected and actual behavior

The test should preserve the expanded workload's exact bounds and authorities.
It instead expects 10 external-command prefixes and observes 12. The text-script
row also still expects two authority entries; the scoped manual READ makes three.
The unit suite records 370 passes and one failure, with status 101; downstream
host and VM jobs are skipped.

Environment and identity

  • Component: Integration 4092943e28.
  • Route: CI Rust job, rootd-orchestration hosted library units.
  • Runtime input: the maintained native text script and exact authority table.
  • No guest execution is required to reproduce the assertion mismatch.

Evidence and prior checks

The complete original job log identifies the prefix-count assertion at
src/initial_exsh/tests/plan_tests.rs:302. Inspecting the same test identifies
the stale authority count that would be reached after that first failure.
This is a test-contract mismatch, not evidence for broadening runtime authority.

Tracking

Related to native manuals
and Integration PR12.

  • Update both exact expectations for the current workload.
  • Assert the manual guard and exact invocation-scoped File READ entry.
  • Complete the affected maintained plan tests on the repaired source.
## Summary The initial-shell plan unit test still expects the old text workload after pathname and manual commands were added. Rust CI fails before the host/VM jobs. ## Reproduction Run Integration's rootd-orchestration library tests at 4092943e28d44636cfcab09f08c4f94a743e28e6, as in [CI2987](https://git.erikinkinen.fi/erix/integration/actions/runs/2987). The failing case is coreutils_variants_are_bounded_and_keep_exact_authority. ## Expected and actual behavior The test should preserve the expanded workload's exact bounds and authorities. It instead expects 10 external-command prefixes and observes 12. The text-script row also still expects two authority entries; the scoped manual READ makes three. The unit suite records 370 passes and one failure, with status 101; downstream host and VM jobs are skipped. ## Environment and identity - Component: Integration 4092943e28d44636cfcab09f08c4f94a743e28e6. - Route: CI Rust job, rootd-orchestration hosted library units. - Runtime input: the maintained native text script and exact authority table. - No guest execution is required to reproduce the assertion mismatch. ## Evidence and prior checks The complete original job log identifies the prefix-count assertion at src/initial_exsh/tests/plan_tests.rs:302. Inspecting the same test identifies the stale authority count that would be reached after that first failure. This is a test-contract mismatch, not evidence for broadening runtime authority. ## Tracking Related to [native manuals](https://git.erikinkinen.fi/erix/coreutils/issues/5) and [Integration PR12](https://git.erikinkinen.fi/erix/integration/pulls/12). - [x] Update both exact expectations for the current workload. - [x] Assert the manual guard and exact invocation-scoped File READ entry. - [x] Complete the affected maintained plan tests on the repaired source.
Author
Owner

Fixed in ce365f29. The affected plan test passes in CI2990 on Integration4002, in both the default suite (371 tests) and all-feature suite (372 tests). The repaired assertions retain the three exact invocation-scoped authority rows.

Fixed in [ce365f29](https://git.erikinkinen.fi/erix/integration/commit/ce365f296dde31d2d44ecaea913dcb73e9c6b9dd). The affected plan test passes in [CI2990](https://git.erikinkinen.fi/erix/integration/actions/runs/2990/jobs/0) on Integration4002, in both the default suite (371 tests) and all-feature suite (372 tests). The repaired assertions retain the three exact invocation-scoped authority rows.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 09:34:21 +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#182
No description provided.