WIP: Validate production logging configurations #4

Draft
erikinkinen wants to merge 4 commits from feature/posix-compat into main
Owner

Summary and rationale

Make Logd's declared production output configurations pass strict validation. Retry and delivery tests now use explicitly output-eligible warnings; separate release tests prove requested kernel routing and queued serial/framebuffer replay cannot bypass INFO filtering. A serial-only idle test verifies delivery without duplication. Consolidate direct-transport inclusion for the sinks that use it and correct configuration-dependent test helpers/imports.

Tracking and scope

Tracks #1, #2 and #3. Includes existing dependency-pin alignment, a shared bounded CI validation driver, current component documentation and formatting of touched include fragments. This review remains WIP pending coherent product runtime-image adoption.

Architecture, authority and failure behavior

Production output filtering, retained-record ownership, capability validation and sink-call semantics are preserved. Direct transport is included only with serial/framebuffer output. Test-only synthetic delivery records explicitly use warnings; independent negative tests retain the original INFO payload while refusing external output. No warning lint is relaxed and no existing test is skipped. CI selects and hashes its Cargo executable and pinned Integration helpers, allowlists child environment inputs, retains owned command status/output and enforces hard, inactivity and output budgets without automatic retries.

Validation evidence

Original coherent realm source CI acceptance — 18 September 2026: Signed a3cc7a06beefdb604d1b372ec7fdeb9def0356ec passes CI 236 and CI 235. All four terminal logs are complete (631,831 bytes), with zero final warnings. This closes the original CI observation recorded above. Coherent catalog publication, actual consumer VMs and full guest-build acceptance remain separate open requirements.

Original coherent realm runtime prerequisites — 18 September 2026: Signed a3cc7a06beefdb604d1b372ec7fdeb9def0356ec selects original shared dependency revisions. All 20 host/native output-policy configurations pass 43/45/59/62/133/138 tests per configuration and 20 native builds, including separate release logging, serial and framebuffer combinations. Formatting, strict host/native Clippy, private rustdoc and Markdown pass with zero warnings. Direct Rust implementation bytes are unchanged. Original CI is under observation. Matching catalogs, source-bound consumer VMs, complete realm operation and both full guest builds remain required.

Signed bc15238f25f818a28fe51b249e2db33f667c4599 passes the complete warning-denied host/native matrix: default and runtime/logging configurations each pass 43 tests, serial-only 59, framebuffer/all-feature 133, release-only/release+logging 45, release+serial 62, and release+framebuffer 138, in both development and release profiles. All twenty native builds, strict host/native Clippy, formatting, private host/native rustdoc and documentation checks pass. Earlier failures are retained. Push/review CI 233/234 passes with complete classified logs and no final warnings. Product catalog and runtime-image adoption remain separate.

The emitted Rust changes were also reviewed against separately formatted original files, distinguishing feature/test corrections from include-fragment formatting. All authored code files remain below 1,000 lines (largest 940); missing_docs remains enforced. No new VM claim is made by these test/configuration fixes.

Review checklist

  • Original dependencies and signed source publication verified.
  • Supported local configurations and documentation pass without warnings.
  • Release suppression and serial-only delivery regressions pass.
  • Complete classified push/review CI with no final warnings.
  • Complete coherent product catalog and runtime-image validation.

Coherent dependency checkpoint — 20 September 2026: signed/pushed commit e54d56ee3de36ea9d4490fd93558abfdf4c1f4de aligns original shared dependency pins with the explicit installer-rights contract. Only the manifest and roadmap change; local implementation, APIs and authority policy are unchanged. Four strict 43/133-unit configurations, four native builds with the maintained linker layout, host/native Clippy, formatting, private rustdoc and dependency checks pass without warnings. Original CI 237/238 passes with four complete hashed logs (631,829 bytes), zero warning candidates.

Full catalog equality and actual consumer-image validation remain required under Integration regression 68. The broader work remains tracked by phase completion, including native external Rust/LLVM/runtime rebuilding and both complete EriX-in-EriX generations. This dependency checkpoint does not close full lifecycle, frame or self-hosting acceptance.

Original CI observation — 21 September 2026: run 239 passes. Run 240 has now failed at original source 651024dd6956012697af1d1cafaf28950dacfa82; Forgejo returns HTTP 500 for both terminal test and Markdown job logs. The original failure and unavailable responses are retained. Cause, complete logs and warning classification remain unresolved; no restart or passing-regression claim is made.

## Summary and rationale Make Logd's declared production output configurations pass strict validation. Retry and delivery tests now use explicitly output-eligible warnings; separate release tests prove requested kernel routing and queued serial/framebuffer replay cannot bypass INFO filtering. A serial-only idle test verifies delivery without duplication. Consolidate direct-transport inclusion for the sinks that use it and correct configuration-dependent test helpers/imports. ## Tracking and scope Tracks https://git.erikinkinen.fi/erix/logd/issues/1, https://git.erikinkinen.fi/erix/logd/issues/2 and https://git.erikinkinen.fi/erix/logd/issues/3. Includes existing dependency-pin alignment, a shared bounded CI validation driver, current component documentation and formatting of touched include fragments. This review remains WIP pending coherent product runtime-image adoption. ## Architecture, authority and failure behavior Production output filtering, retained-record ownership, capability validation and sink-call semantics are preserved. Direct transport is included only with serial/framebuffer output. Test-only synthetic delivery records explicitly use warnings; independent negative tests retain the original INFO payload while refusing external output. No warning lint is relaxed and no existing test is skipped. CI selects and hashes its Cargo executable and pinned Integration helpers, allowlists child environment inputs, retains owned command status/output and enforces hard, inactivity and output budgets without automatic retries. ## Validation evidence Original coherent realm source CI acceptance — 18 September 2026: Signed `a3cc7a06beefdb604d1b372ec7fdeb9def0356ec` passes [CI 236](https://git.erikinkinen.fi/erix/logd/actions/runs/236) and [CI 235](https://git.erikinkinen.fi/erix/logd/actions/runs/235). All four terminal logs are complete (631,831 bytes), with zero final warnings. This closes the original CI observation recorded above. Coherent catalog publication, actual consumer VMs and full guest-build acceptance remain separate open requirements. Original coherent realm runtime prerequisites — 18 September 2026: Signed `a3cc7a06beefdb604d1b372ec7fdeb9def0356ec` selects original shared dependency revisions. All 20 host/native output-policy configurations pass 43/45/59/62/133/138 tests per configuration and 20 native builds, including separate release logging, serial and framebuffer combinations. Formatting, strict host/native Clippy, private rustdoc and Markdown pass with zero warnings. Direct Rust implementation bytes are unchanged. Original CI is under observation. Matching catalogs, source-bound consumer VMs, complete realm operation and both full guest builds remain required. Signed `bc15238f25f818a28fe51b249e2db33f667c4599` passes the complete warning-denied host/native matrix: default and runtime/logging configurations each pass 43 tests, serial-only 59, framebuffer/all-feature 133, release-only/release+logging 45, release+serial 62, and release+framebuffer 138, in both development and release profiles. All twenty native builds, strict host/native Clippy, formatting, private host/native rustdoc and documentation checks pass. Earlier failures are retained. Push/review CI 233/234 passes with complete classified logs and no final warnings. Product catalog and runtime-image adoption remain separate. The emitted Rust changes were also reviewed against separately formatted original files, distinguishing feature/test corrections from include-fragment formatting. All authored code files remain below 1,000 lines (largest 940); missing_docs remains enforced. No new VM claim is made by these test/configuration fixes. ## Review checklist - [x] Original dependencies and signed source publication verified. - [x] Supported local configurations and documentation pass without warnings. - [x] Release suppression and serial-only delivery regressions pass. - [x] Complete classified push/review CI with no final warnings. - [ ] Complete coherent product catalog and runtime-image validation. Coherent dependency checkpoint — 20 September 2026: signed/pushed commit [e54d56ee3de36ea9d4490fd93558abfdf4c1f4de](https://git.erikinkinen.fi/erix/logd/commit/e54d56ee3de36ea9d4490fd93558abfdf4c1f4de) aligns original shared dependency pins with the explicit installer-rights contract. Only the manifest and roadmap change; local implementation, APIs and authority policy are unchanged. Four strict 43/133-unit configurations, four native builds with the maintained linker layout, host/native Clippy, formatting, private rustdoc and dependency checks pass without warnings. Original CI 237/238 passes with four complete hashed logs (631,829 bytes), zero warning candidates. Full catalog equality and actual consumer-image validation remain required under [Integration regression 68](https://git.erikinkinen.fi/erix/integration/issues/68). The broader work remains tracked by [phase completion](https://git.erikinkinen.fi/erix/integration/issues/65), including native external Rust/LLVM/runtime rebuilding and both complete EriX-in-EriX generations. This dependency checkpoint does not close full lifecycle, frame or self-hosting acceptance. Original CI observation — 21 September 2026: [run 239](https://git.erikinkinen.fi/erix/logd/actions/runs/239) passes. [Run 240](https://git.erikinkinen.fi/erix/logd/actions/runs/240) has now failed at original source `651024dd6956012697af1d1cafaf28950dacfa82`; Forgejo returns HTTP 500 for both terminal test and Markdown job logs. The original failure and unavailable responses are retained. Cause, complete logs and warning classification remain unresolved; no restart or passing-regression claim is made.
fix: Validate production logging configurations
All checks were successful
CI / markdown (push) Successful in 13s
CI / markdown (pull_request) Successful in 17s
CI / test (push) Successful in 3m32s
CI / test (pull_request) Successful in 3m29s
bc15238f25
Keep release-filtered informational records retained without external output,
and use an eligible warning for kernel-retry assertions. Exercise serial-only
idle delivery and correct feature conditions for direct transport and test
helpers without changing production output or capability policy. Document the
helpers and format the touched include fragments.

Run the warning-denied host/native feature and profile matrix through one
bounded CI driver with explicitly selected tools and source inputs. Align
existing dependency pins to the signed runtime graph. All twenty configurations
pass unit tests, strict Clippy and native builds; private rustdoc, formatting
and documentation checks pass. Product VM acceptance remains separate.
Tracks issues #2 and #3.
build: Adopt coherent realm contract dependencies
All checks were successful
CI / markdown (pull_request) Successful in 15s
CI / markdown (push) Successful in 16s
CI / test (pull_request) Successful in 4m40s
CI / test (push) Successful in 4m46s
a3cc7a06be
Select original signed shared revisions so coordinated runtime images can
resolve one source identity for every dependency. Preserve the component
implementation and update the roadmap to keep consumer VM acceptance explicit.

Validate default and all-feature development/release tests, strict host/native
Clippy, freestanding builds, formatting and private-item rustdoc with warnings
denied. Full image and in-guest build acceptance remain separate requirements.
build: Align the original installer authority graph
All checks were successful
CI / markdown (pull_request) Successful in 3s
CI / markdown (push) Successful in 3s
CI / test (pull_request) Successful in 2m16s
CI / test (push) Successful in 2m16s
e54d56ee3d
Select the signed shared dependency revisions required by the component
catalog. Preserve local runtime behavior and capability policy while removing
mixed wire and capability sources. Track complete graph validation in
Integration issue 68; full consumer VM acceptance remains open.

Four strict host test matrices and native builds, host/native Clippy,
private rustdoc, formatting and policy checks pass without warnings.
build: Adopt acknowledged terminal accounting dependencies
Some checks failed
CI / markdown (push) Successful in 11s
CI / test (push) Successful in 4m25s
CI / markdown (pull_request) Failing after 1h3m55s
CI / test (pull_request) Failing after 1h3m58s
651024dd69
Select the original signed shared revisions for repeated terminal observation,
exact acknowledgement and retained final CPU measurements. Preserve the local
component implementation while keeping the complete transitive wire graph
consistent with Kernel design 20. Full service CPU/profiler VM acceptance and
Phase 6 self-hosting remain open in Integration issue 65.

All 20 strict host test matrices, host/native Clippy, warning-denied host/native
builds, private rustdoc, formatting and dependency/Markdown policies pass.
Some checks failed
CI / markdown (push) Successful in 11s
CI / test (push) Successful in 4m25s
CI / markdown (pull_request) Failing after 1h3m55s
CI / test (pull_request) Failing after 1h3m58s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feature/posix-compat:feature/posix-compat
git switch feature/posix-compat

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff feature/posix-compat
git switch feature/posix-compat
git rebase main
git switch main
git merge --ff-only feature/posix-compat
git switch feature/posix-compat
git rebase main
git switch main
git merge --no-ff feature/posix-compat
git switch main
git merge --squash feature/posix-compat
git switch main
git merge --ff-only feature/posix-compat
git switch main
git merge feature/posix-compat
git push origin main
Sign in to join this conversation.
No description provided.