Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,4 +89,4 @@ Read the index in `overview.md` and follow one link. Grouped by what they cover:
## Planning conventions

- Closure discipline: `plans/closure/<subsystem>/NNN-status.md`. Compilation ≠ closure. History never rewritten — correctives are new `NNNa` plans; superseded material goes to `plans/archive/`.
- Current handoff (source: `plans/registry.md`): CI/Release M003pa remains **closed** under `plans/implementation/ci-release-orchestration/003pa-process-group-signal-recheck-corrective.md`; closure `plans/closure/ci-release-orchestration/003pa-status.md` records implementation `329a3dfdb166580de4770b2c6b2f046358983003` and hosted run `44118309795` green on all four lanes; corrective M003pb is **active** under `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md`; no other implementation milestone is **active** or registered **ready**; the descendant fixture is synchronized and five focused runs plus the canonical local gate pass; await explicit commit/push authorization for hosted CI; Release Manifest M004's ADR-0006 publication and compatibility-record obligation is closed (the `eggpack-manifest 0.1.1` event remains historical); the 2026-10-23 review chain and follow-up corrective chains through CI/Release M003pa remain closed under their closure records; M003pb remains active pending authorized hosted CI. The latest published manifest is `eggpack-manifest 0.1.2`; the six workspace crates now carry source version `0.1.2` but remain unpublished, and matching version numbers do not merge their release identities (see `docs/release-process.md`). **Blocked** are Ecosystem M004 (Gregg sibling bundle), Ecosystem M005 (CodeGG runfile bundle), and Ecosystem M006 (Egress archive pair), each on its named adoption evidence and bundle/archive review; the provenance/authenticity line is **planned** pending a dedicated trust ADR, and Python/wheel adapters are **planned** behind broader native adoption. Contract M003, Bootstrap M003, and Ecosystem M003a/M003b are closed, so the contract-conformance and bootstrap-installers subsystems have no open work. M003pb is the current active corrective; after it closes, the next Eggpack line is whatever the registry lists as `ready`; if that table is empty, the next action is plan authoring, not implementation.
- Current handoff (source: `plans/registry.md`): CI/Release M003pa and M003pb are **closed**. M003pb closure `plans/closure/ci-release-orchestration/003pb-status.md` records implementation `edce774bf3597a37789ba59587cc2a5be56e3cee`, merged main `23ebb10941bb2b38b808f61edddff3ed3d1f2961`, exact push/PR runs `44935151048` and `44935155340`, merged-main run `44941146518`, five focused runs, and the canonical local gate. Workspace Release M001 is the sole active milestone at `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`: the user approved publishing the six workspace crates at 0.1.2 and a public source-only GitHub `v0.1.2` release, with no prebuilt CLI binaries; `eggpack-manifest 0.1.2` is already published and excluded. No workspace crate, project `v0.1.2` tag, or GitHub Release has yet been published; final-source CI, clean package checks, dependency-ordered publication/readback, and release verification remain required. The 2026-10-23 review chain and follow-up correctives through M003pb remain closed under their closure records. **Blocked** are Ecosystem M004 (Gregg sibling bundle), M005 (CodeGG runfile bundle), and M006 (Egress archive pair), each on its named adoption evidence and bundle/archive review; provenance/authenticity remains planned pending a dedicated trust ADR, and Python/wheel adapters remain planned behind broader native adoption. Contract M003, Bootstrap M003, and Ecosystem M003a/M003b are closed.
86 changes: 86 additions & 0 deletions plans/closure/ci-release-orchestration/003pb-status.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
# CI/Release M003pb Closure — Live-Descendant Fixture Startup Handshake

Status: closed

Source plan: `plans/implementation/ci-release-orchestration/003pb-process-group-descendant-fixture-startup-handshake-corrective.md`

Roadmap: `plans/subsystems/ci-release-orchestration-roadmap.md`

Reviewed baseline: `eef4f9d0be4014dc0e76489de3f8fe9aedacadb9` — the committed parent named by the corrective plan.

Implementation commit: `edce774bf3597a37789ba59587cc2a5be56e3cee` (`chore: refresh dependencies and fix process-group fixture`), pushed on `feat/auto-20261117-f257539b` and merged by PR [#6](https://github.com/eggstack/eggpack/pull/6). Merge commit: `23ebb10941bb2b38b808f61edddff3ed3d1f2961`.

The implementation commit and merge commit have the same source tree `880352cfea924f0434e4b176cbcf8a81b7fdbd3c`. Thus the exact-source push and pull-request CI below exercise the merged tree as well.

## Hosted CI

Both workflows on the exact implementation SHA completed successfully on all required lanes:

- [Push run 44935151048](https://github.com/eggstack/eggpack/actions/runs/44935151048) — Linux stable, Linux 1.89.0, macOS, and Windows passed.
- [Pull-request run 44935155340](https://github.com/eggstack/eggpack/actions/runs/44935155340) — Linux stable, Linux 1.89.0, macOS, and Windows passed.

The merged commit was then tested by [main push run 44941146518](https://github.com/eggstack/eggpack/actions/runs/44941146518), conclusion `success`, on exact SHA `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; all four lanes passed.

## Executive finding

M003pb is closed. The live-descendant test fixture now makes its process-group leader wait for the descendant-ready marker before exiting. This removes the startup race that previously allowed the test to check for a child before the child had started. The descendant’s release-file handshake, bounded waits, group-termination assertion, and cleanup remain in place.

The correction is test-only. Production process-group signaling, retry behavior, and failure classification are unchanged. The original failure was a fixture-startup assertion, not evidence of a production runner defect.

## Requirement-to-evidence matrix

| Requirement | Evidence | Result |
|---|---|---|
| Leader does not exit before the descendant is ready | Updated fixture in `crates/eggpack-core/src/builder.rs`; the leader waits for the ready marker before exiting | pass |
| The descendant remains live until group termination and cannot write its survivor marker afterward | `terminating_an_exited_leader_still_signals_a_live_group_descendant`, with the existing release-file handshake and bounded cleanup | pass |
| No process leak or unbounded wait | Five consecutive focused runs; the existing bounded deadline and cleanup paths remain unchanged | pass |
| Production process-runner semantics remain unchanged | Reviewed diff: the change is confined to the Unix test fixture in `builder.rs`; no production signal/retry code changed | pass |
| Required broader process-group regression filter passes | `cargo test -p eggpack-core --all-targets --all-features --locked group_signal -- --nocapture` — 1 passed, 0 failed | pass |
| Formatting and whitespace checks pass | `cargo fmt --all -- --check`; `git diff --check` | pass |
| Canonical local gate passes | `scripts/check-local.sh`, exit code 0 | pass |
| Exact candidate passes hosted CI | Runs 44935151048 and 44935155340 on `edce774bf3597a37789ba59587cc2a5be56e3cee`; all four lanes green | pass |
| Merged main tree remains green | Run 44941146518 on `23ebb10941bb2b38b808f61edddff3ed3d1f2961`; all four lanes green and tree identical to the implementation commit | pass |

## Verification executed

The focused regression passed five consecutive times:

```sh
for attempt in 1 2 3 4 5; do cargo test -p eggpack-core --all-targets --all-features --locked terminating_an_exited_leader_still_signals_a_live_group_descendant -- --nocapture || exit $?; done
```

The broader process-group filter passed:

```sh
cargo test -p eggpack-core --all-targets --all-features --locked group_signal -- --nocapture
```

Also passed: `cargo fmt --all -- --check`, `git diff --check`, and the canonical `scripts/check-local.sh` gate with exit code 0. The gate includes workspace checks, lint, tests, docs, dependency trees, local package checks, and the Rust 1.89 MSRV lane. Its `cargo package --allow-dirty` commands were local verification only; they are not release publication checks.

## Production implementation evidence

None. The only process-group change is in the test fixture in `crates/eggpack-core/src/builder.rs`; no production code was changed. The same commit separately refreshes compatible lockfile resolutions and corrects stale GitHub architecture citations, as authorized in the preceding task. Those edits do not broaden M003pb’s runtime scope.

## Invariant review

- Process-group signaling and M003pa retry/error behavior are unchanged.
- The test still proves descendant readiness, live-descendant termination, and survivor-marker prevention.
- Waits and cleanup remain bounded.
- No API, schema, package manifest, workflow, or publication behavior changed as part of M003pb.
- The compatible lockfile refresh was separate from the test-fixture corrective; no dependency declaration was added for M003pb.

## Failure and recovery review

The original local-gate failure occurred because the test leader exited immediately after starting a background shell, before the child-ready marker was guaranteed. Five repeated focused runs, the broader `group_signal` filter, the full local gate, exact-candidate push/PR CI, and the merged-main CI all pass after the handshake. No process leak or remaining test failure was observed. GitHub emitted a non-blocking Node.js 20 deprecation annotation for `actions/checkout@v4`; it did not fail a lane.

## Compatibility, security, and operations review

No public API, wire format, manifest schema, dependency declaration, network behavior, credential handling, workflow permission, tag, or release changed. No credentials or captured process output were exposed. This corrective does not itself authorize publication; the separately user-authorized workspace release is tracked under `plans/implementation/workspace-release/001-eggpack-0.1.2-crates-and-github-source-release.md`.

## Unresolved findings

No blocker or medium/high-severity finding remains. The CI action deprecation annotation is informational and unrelated to the test fixture.

## Roadmap disposition and registry updates

M003pb is closed in the CI/release roadmap and registry. Its closure records the exact implementation SHA, local gate, exact-SHA hosted runs, and merged-main hosted run. M003pa and earlier closure records remain unchanged. The next registered work is the separately authorized Workspace Release M001; no package, tag, or GitHub release has been created by this corrective.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CI/Release M003pb — Process-Group Descendant Fixture Startup Handshake Corrective

Status: active
Status: closed

Corrects: CI/Release M003pa, closed at implementation 329a3dfdb166580de4770b2c6b2f046358983003 and recorded in plans/closure/ci-release-orchestration/003pa-status.md. That closure remains historical and unchanged.

Expand All @@ -16,9 +16,9 @@ Make the live-descendant process-group regression deterministic by ensuring the

## 2. Why ready and current evidence

The user's request authorizes fixing the local validation failure and revalidating locally and through hosted CI. No schema, API, dependency, or cross-repository prerequisite is involved. Commit/push remains separately gated on explicit user authorization.
The user's request authorizes fixing the local validation failure and revalidating locally and through hosted CI. No schema, API, dependency, or cross-repository prerequisite is involved. The user separately authorized commit/push on 2026-11-21; implementation commit `edce774bf3597a37789ba59587cc2a5be56e3cee` was pushed and merged to `main` at `23ebb10941bb2b38b808f61edddff3ed3d1f2961`.

The saved scripts/check-local.sh output exited 101 in the core unit tests at terminating_an_exited_leader_still_signals_a_live_group_descendant, failing the assertion that the descendant fixture had started (crates/eggpack-core/src/builder.rs:1776). The same focused test passed in isolation. The fixture starts a background shell and immediately exits its leader; the Rust test only then waits a bounded interval for the child's start marker. Scheduling delay can therefore yield a false test failure before the termination behavior is meaningfully exercised. There is no evidence that the production retry logic failed. After the handshake edit, the focused test passed five consecutive runs, formatting and git diff --check passed, and scripts/check-local.sh exited 0. Hosted CI remains pending explicit commit/push authorization.
The saved scripts/check-local.sh output exited 101 in the core unit tests at terminating_an_exited_leader_still_signals_a_live_group_descendant, failing the assertion that the descendant fixture had started (crates/eggpack-core/src/builder.rs:1776). The same focused test passed in isolation. The fixture starts a background shell and immediately exits its leader; the Rust test only then waits a bounded interval for the child's start marker. Scheduling delay can therefore yield a false test failure before the termination behavior is meaningfully exercised. There is no evidence that the production retry logic failed. After the handshake edit, the focused test passed five consecutive runs, formatting and git diff --check passed, and scripts/check-local.sh exited 0. Exact-SHA push and pull-request CI runs 44935151048 and 44935155340 passed all four lanes; merged-main run 44941146518 passed all four lanes on `23ebb10941bb2b38b808f61edddff3ed3d1f2961`.

## 3. Invariants

Expand All @@ -40,13 +40,13 @@ The saved scripts/check-local.sh output exited 101 in the core unit tests at ter

- Any changes to production runner or signal semantics, the generated workflow, dependency versions, schemas, or user-facing release behavior.
- Package publication, tags, releases, or remote workflow dispatch.
- Commit or push until explicit user authorization is received.
- Commit/push and publication without explicit authorization. The user authorized this corrective's commit/push; its separate release is tracked by Workspace Release M001.

## 5. Ordered work packages

1. Update the fixture command so the background descendant writes its ready marker and waits on the release file, while the group leader waits for the ready marker before exiting.
2. Run the focused regression repeatedly; confirm it observes a successful leader exit, a started live descendant, successful group termination, and no survivor marker. Confirm failure paths still terminate/release the fixture.
3. Reverify source citations, run formatting and the canonical local gate, then request authorization before pushing the exact candidate for hosted CI.
3. Reverify source citations, run formatting and the canonical local gate, then obtain authorization before pushing the exact candidate. Authorization was received; the exact candidate and merged source passed the hosted runs recorded in the closure.

## 6. Failure, restart, and compatibility

Expand All @@ -64,7 +64,7 @@ cargo test -p eggpack-core --all-targets --all-features --locked group_signal --
cargo fmt --all -- --check
scripts/check-local.sh

The canonical gate includes workspace checks, clippy, tests, docs, packaging, and the Rust 1.89 MSRV lane. Hosted CI on the exact implementation SHA (Linux stable, Linux 1.89.0, macOS, Windows) is required for closure, but may be triggered only after explicit authorization to commit and push. Passing older hosted runs on M003pa is not evidence for this candidate.
The canonical gate includes workspace checks, clippy, tests, docs, packaging, and the Rust 1.89 MSRV lane. Hosted CI on the exact implementation SHA (Linux stable, Linux 1.89.0, macOS, Windows) is required for closure. The user authorized commit/push; exact-SHA runs 44935151048 and 44935155340 passed all four lanes, and merged-main run 44941146518 also passed all four lanes. Passing older hosted runs on M003pa is not evidence for this candidate.

## 8. Documentation, acceptance, and stop conditions

Expand Down
Loading
Loading