Skip to content

feat(B-0834): implement Approach A install-log preservation — tee zeta-install.sh to /tmp + /mnt/var/log#5350

Merged
AceHack merged 1 commit into
mainfrom
otto/b-0834-approach-a-install-log-preservation-tee-output-2026-05-26
May 26, 2026
Merged

feat(B-0834): implement Approach A install-log preservation — tee zeta-install.sh to /tmp + /mnt/var/log#5350
AceHack merged 1 commit into
mainfrom
otto/b-0834-approach-a-install-log-preservation-tee-output-2026-05-26

Conversation

@AceHack
Copy link
Copy Markdown
Member

@AceHack AceHack commented May 26, 2026

Summary

Lands B-0834 Approach A (the operator-side analog to B-0831 cascade #6 CI workflow-artifact). Small bounded fix; enables diagnostic loop for the 5 empirical anchors from the 2026-05-26 physical hardware-support test.

Two log destinations

Destination When available How to inspect
/tmp/zeta-install-.log Live ISO; from script-start through reboot `cat $LOG | less` post-exit; `tail -f $LOG | less` from another tty (Ctrl-Alt-F2) for real-time scrollback
/mnt/var/log/zeta-install.log Installed system; survives reboot `cat /var/log/zeta-install.log | less` post-boot

Three banner lines at script-start name the log paths BEFORE output starts scrolling past.

Enables diagnosis for 5 empirical anchors

  • B-0832 nmtui WiFi rescan failure
  • B-0833 interactive-login vs baked-in-keys tension
  • B-0835 Bug 1 hostname not unique (`control-plane` shown)
  • B-0835 Bug 2 gh login not respected
  • B-0835 Bug 4 self-registration didn't happen (CRITICAL) — the operator's CORE REQUIREMENT failure

Test plan

  • No syntax errors in zeta-install.sh (`bash -n` would validate)
  • Two banner lines at top of script naming both log destinations
  • Exec redirect happens BEFORE any output that would otherwise scroll past
  • Post-install copy only if /mnt is mounted (no error if script exits early)

🤖 Generated with Claude Code

…a-install.sh output to /tmp + copy to /mnt/var/log post-install

Lands B-0834 Approach A (small bounded fix; the operator-side analog
to B-0831 cascade #6 CI workflow-artifact).

Two destinations:
1. /tmp/zeta-install-<UTC-timestamp>.log on live ISO — available for
   `cat | less` after script exits (success OR failure) until reboot;
   also `tail -f` from another tty (Ctrl-Alt-F2) for real-time scrollback
2. /mnt/var/log/zeta-install.log on install target — copied at end of
   script if /mnt is mounted; survives reboot; post-boot inspection via
   `cat /var/log/zeta-install.log | less`

Three banner lines at script-start name the log paths so operator
sees them BEFORE output starts scrolling past.

Enables diagnostic loop for the 5 empirical anchors from the
2026-05-26 physical hardware-support test:
- B-0832 nmtui WiFi rescan failure
- B-0833 interactive-login vs baked-in-keys tension
- B-0835 Bug 1 hostname not unique (control-plane shown)
- B-0835 Bug 2 gh login not respected
- B-0835 Bug 4 self-registration didn't happen (CRITICAL)

Without this fix, the install failures + warnings that scroll past too
fast block diagnosis of Bug 4 (the operator's CORE REQUIREMENT
failure: post-boot fully-operational chain without operator login).

Approach B (script(1) wrapper) deferred — Approach A is sufficient
for the immediate diagnostic need.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 26, 2026 23:15
@AceHack AceHack enabled auto-merge (squash) May 26, 2026 23:15
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@AceHack AceHack merged commit 5e7fd98 into main May 26, 2026
29 of 30 checks passed
@AceHack AceHack deleted the otto/b-0834-approach-a-install-log-preservation-tee-output-2026-05-26 branch May 26, 2026 23:17
@AceHack AceHack review requested due to automatic review settings May 26, 2026 23:39
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.

1 participant