Skip to content

fix(compose): tari-wallet healthcheck pattern survives ps CMD truncation - #800

Merged
VijitSingh97 merged 2 commits into
developfrom
claude/rigforge-recon-issues-74050a
Aug 1, 2026
Merged

fix(compose): tari-wallet healthcheck pattern survives ps CMD truncation#800
VijitSingh97 merged 2 commits into
developfrom
claude/rigforge-recon-issues-74050a

Conversation

@VijitSingh97

Copy link
Copy Markdown
Collaborator

What

procps' ps caps its CMD column at 15 characters, so the tari-wallet healthcheck's grep for the 23-character minotari_console_wallet can never match: the container reports unhealthy forever while the wallet runs fine. Latent in production only because no deployment has tari_payout_confirm active yet — the first real user of #462 would get a permanently-firing container-unhealthy alert.

Match on [m]inotari_consol — the truncated form ps actually prints (verified inside the running image on the #77 phase-2 bench, where the failure was found).

Coverage

Stack tier (tests/stack/test_compose.sh), beside the existing [m]inotari self-match assertion: the tari-wallet pattern must contain the truncation-safe form and must not carry the full binary name. Asserted against the tari_payout_confirm profile render, since the service does not exist in the default render.

Closes #777

🤖 Generated with Claude Code

VijitSingh97 and others added 2 commits July 31, 2026 20:39
procps' ps caps the CMD column at 15 characters, so the probe's grep for
the 23-character 'minotari_console_wallet' could never match: the wallet
container reported unhealthy forever while the wallet ran fine. Match on
'[m]inotari_consol' — the truncated form ps actually prints.

Closes #777

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@VijitSingh97
VijitSingh97 merged commit 28d69f1 into develop Aug 1, 2026
15 checks passed
@VijitSingh97
VijitSingh97 deleted the claude/rigforge-recon-issues-74050a branch August 1, 2026 04:07
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.

tari-wallet compose healthcheck can never report healthy — ps truncates CMD to 15 chars

1 participant