Skip to content

JOS-81: Capture service diagnostics with bounded Go counters - #23

Draft
jacobyoby wants to merge 12 commits into
jacob/maintainedfrom
fix/jos81-private-logging
Draft

JOS-81: Capture service diagnostics with bounded Go counters#23
jacobyoby wants to merge 12 commits into
jacob/maintainedfrom
fix/jos81-private-logging

Conversation

@jacobyoby

@jacobyoby jacobyoby commented Sep 6, 2026

Copy link
Copy Markdown
Owner

Application and native-service diagnostics can retain request or interview content, while silencing output can hide startup failures. This candidate captures selected output with bounded Go counters, validates native configuration before launch and reports fixed startup/process failures. Tracks #22.

The change reuses the existing Go runner for services, interview cron, maintenance, sync, rotation and initialization. Its 36-file non-mail catalog uses existing copy/patch tools. Customized initializer/daily scripts receive only the privacy diff; customized nginx-realip loses one legacy logging override while preserving every other byte. Native escape parsing accepts the target's regex/payload syntax without relaxing logging or escaped-include policy.

Current revision: 37fb23e. Native CI passes both jobs, including 148 native/launcher tests,84 frozen references, Go/race/fuzz/vulnerability checks, native runtime controls, full installation, real queue/cron, maintenance/backups, orderly restart, interrupted-start protection and rollback. CodeQL and its aggregate check pass, with no open PR alerts. All four packaged binaries match native CI hashes.

Both prepared target configurations pass actual Nginx and the compiled preflight in isolated containers. All 31 payload/patch hashes and 6 target preparations verify. Fresh private rollback snapshots capture 55 paths and 42 files/links per target; capture state is stable, archive contents/metadata verify and both archives restore in isolated containers. Protected static-tree baselines are recorded. Independent review confirms source compatibility and byte-identical shared mail sections.

Production is unchanged and this PR remains draft. Remaining release work: recheck quiescent target state, perform the scoped installation, verify served responses/output retention and record provenance. Synthetic upload/log checks use fixed sentinels rather than equality of whole changing trees. Preserve historical content, target customizations, system syslog and original service states. Go mail replacement/Exim, full-Dockerfile delivery, manual/conditional paths and unrelated NLTK alerts 35/36 remain outside this release.

Comment thread tests/privacy_native/check_install_image.py Fixed
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.

2 participants