Skip to content

chore(runtime): consolidate the M0 epic follow-up nits#278

Merged
mfw78 merged 7 commits into
developfrom
chore/m0-epic-followups
Jul 9, 2026
Merged

chore(runtime): consolidate the M0 epic follow-up nits#278
mfw78 merged 7 commits into
developfrom
chore/m0-epic-followups

Conversation

@mfw78

@mfw78 mfw78 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What

Groups the M0 builder, launch and task follow-up nits from the epic #79 train into one PR, superseding the individual follow-up PRs #268, #271, #275, #276 and #277. Each change is preserved as its own reviewable commit:

Why

These are small reviewer-requested touch-ups and deferred-item implementations that accumulated as separate top-of-train cars, inflating the outstanding-PR count without moving the merge frontier. Collapsing them into one PR reduces that count while preserving the per-change history. It targets develop directly.

Closes

Closes #267.

The other changes resolved review threads on #194, #195 and #196 or implemented deferred items with no filed issue. The shutdown-tally tweak originally folded in from #276 was dropped following review: TaskExit has a single variant, so the drain match stays exhaustive rather than taking a Some(_) catch-all. This PR no longer touches task.rs, so #270's parked note (the match staying catch-all-free) is unaffected and the rest of that bundle remains open.

Testing

  • cargo clippy -p nexum-runtime -p nexum-cli --all-targets clean.
  • cargo test -p nexum-runtime builder, component and task suites pass, including the with_executor end-to-end launch test.
  • Each commit was verified in its original PR.

AI Assistance: Claude Code (Opus 4.8) used for the consolidation, the executor and doc touch-ups, and PR authoring.

@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 74b3468 to d1846cd Compare July 8, 2026 06:40
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from a0d1cb0 to 5af5158 Compare July 8, 2026 06:40
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from d1846cd to de9631e Compare July 8, 2026 07:07
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch 2 times, most recently from deb55d9 to 7df51b1 Compare July 8, 2026 07:20
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from de9631e to ce8d2f3 Compare July 8, 2026 07:21
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 7df51b1 to 48d4d93 Compare July 8, 2026 07:21
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from ce8d2f3 to 222a725 Compare July 8, 2026 07:36
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 48d4d93 to f904fdd Compare July 8, 2026 07:36
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 222a725 to 19d363d Compare July 8, 2026 07:46
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from f904fdd to a5dff05 Compare July 8, 2026 07:46
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 19d363d to aa57509 Compare July 8, 2026 07:54
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from a5dff05 to ec3f266 Compare July 8, 2026 07:54
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from aa57509 to 6f55105 Compare July 8, 2026 08:36
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from ec3f266 to f4d7a23 Compare July 8, 2026 08:36
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 6f55105 to 5428cc1 Compare July 8, 2026 08:45
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from f4d7a23 to bb88b17 Compare July 8, 2026 08:45
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 5428cc1 to d7be58c Compare July 8, 2026 08:51
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from bb88b17 to b388962 Compare July 8, 2026 08:51
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from d7be58c to 2ee3ac0 Compare July 8, 2026 08:55
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from b388962 to 146d6cb Compare July 8, 2026 08:55
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 2ee3ac0 to c2427ff Compare July 8, 2026 09:02
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 146d6cb to 5177c22 Compare July 8, 2026 09:03
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from c2427ff to ccbb368 Compare July 8, 2026 09:19
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 5177c22 to 25bccb5 Compare July 8, 2026 09:19
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from e6096f8 to d23e944 Compare July 8, 2026 12:50
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from f25ce1b to 5186aff Compare July 8, 2026 12:50
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from d23e944 to 31639ce Compare July 8, 2026 13:44
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 5186aff to cc3d720 Compare July 8, 2026 13:44
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 31639ce to cb3dda3 Compare July 8, 2026 14:00
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from cc3d720 to 0088a67 Compare July 8, 2026 14:00
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from cb3dda3 to 32f4b35 Compare July 8, 2026 14:09
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 0088a67 to aadc89c Compare July 8, 2026 14:09
Comment thread crates/nexum-runtime/src/runtime/task.rs Outdated
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from 32f4b35 to cdf86ce Compare July 8, 2026 22:33
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch 2 times, most recently from 348a66e to a22852e Compare July 8, 2026 23:05
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch from cdf86ce to 9234883 Compare July 8, 2026 23:05
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from a22852e to d635bbe Compare July 8, 2026 23:24
@mfw78 mfw78 force-pushed the fix/m1-cow-sweep branch 2 times, most recently from bfde480 to de6fc52 Compare July 8, 2026 23:29
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from d635bbe to 35a3c85 Compare July 8, 2026 23:29
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from 35a3c85 to c13c909 Compare July 9, 2026 01:18
@mfw78 mfw78 changed the base branch from fix/m1-cow-sweep to develop July 9, 2026 01:21
mfw78 added 4 commits July 9, 2026 07:28
Return a BuildError naming the failing component slot (chain, store, or
extension) from ComponentsBuilder::build, instead of an opaque
anyhow::Result. The leaf ComponentBuilder::build stays anyhow because the
backends fail for heterogeneous reasons (I/O for the store, network for
the chain). Callers that propagate into anyhow keep working through the
std::error::Error conversion.
Pass the executor explicitly with .with_executor(&TokioExecutor) in the
CLI builder chain, rather than relying on the builder's implicit tokio
default. This names the launch root as the point where an embedder or a
non-tokio target substitutes its own executor. Behaviour-preserving: the
binary still spawns on tokio.
The RuntimeAddOns -> RuntimeAddOn rename shortened the parameter type so
the signature now fits within the width limit; re-format to match.
@mfw78 mfw78 force-pushed the chore/m0-epic-followups branch from c13c909 to 8a272d5 Compare July 9, 2026 07:29
@mfw78 mfw78 merged commit 1a480de into develop Jul 9, 2026
11 checks passed
@mfw78 mfw78 deleted the chore/m0-epic-followups branch July 9, 2026 07:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

observability: rename the RuntimeAddOns trait to RuntimeAddOn (singular)

2 participants