Skip to content

fix(roundhouse): move done marker ahead of telemetron; log sidecar bootstrap#48

Open
royosherove wants to merge 2 commits intomainfrom
fix/roundhouse-sidecar-post-done
Open

fix(roundhouse): move done marker ahead of telemetron; log sidecar bootstrap#48
royosherove wants to merge 2 commits intomainfrom
fix/roundhouse-sidecar-post-done

Conversation

@royosherove
Copy link
Copy Markdown
Member

Addresses Codex review on #47 (post-merge follow-up): #47 (review)

  • P2 \u2014 done marker blocked by sidecar: _telemetron_sidecar ran synchronously before write_done_marker, so the pack could be delayed by up to timeout 60 (install) + timeout 30 (detect) + AWS probe waits before signaling completion. Moved write_done_marker "roundhouse" to run before the sidecar subshell, with || true so sidecar failures can't gate the pack.
  • P2 \u2014 first-install bootstrap leaked output: curl ... | bash had no stdout/stderr redirection, so on fresh hosts its progress lines reached the user terminal, breaking this section's silent/log-only contract. Appended >>"$log" 2>&1 to the timeout 60 bash -c ... wrapper.

…otstrap

P2a: _telemetron_sidecar runs synchronously and can block for up to
~60s (install) + 30s (detect) + AWS probe timeouts before the pack's
done marker is written. That delays completion signaling for callers
that wait on the marker, contradicting the section's 'never blocks main
install' contract. Call write_done_marker *before* running the sidecar,
wrapped in '|| true' so optional sidecar work can't gate pack success.

P2b: the telemetron first-install 'curl ... | bash' ran without
stdout/stderr redirection, so on fresh hosts its output leaked to the
user terminal. Redirect to $log so the silent-only contract holds for
first installs too.

Addresses Codex P2 x2 on PR #47 (post-merge follow-up).
Follow-up to 3b71714 \u2014 the previous commit covered P2a (done marker)
but the P2b edit for redirecting the first-install bootstrap output
didn't land. Append '>>$log 2>&1' to the 'timeout 60 bash -c ...'
wrapper so the section's silent-only contract also holds on fresh
hosts where telemetron is missing.

Addresses the second half of Codex review on PR #47.
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