Skip to content

Piece 2: bare status in Go, default when parity passes #4219

Open

Description

@pithead-developer

What's the problem

Bare status pays the Bash parse plus Docker waits. Native Go status works only in C/POSIX or verified UTF-8 locales; other locales, flags, chains, missing Docker and closed stdout fall back to Bash.

What it impacts

Operators and the dashboard paths that call status.

How I found it

Benchmark track: status warm ratio about 0.68 on two guests (status 0.45 to 0.8 s in Bash, Docker-wait dominated). Unknown: the appliance default locale, so what fraction of real calls takes the Go path.

How important is it

Low-medium: modest gain; after help and version.

Acceptance criteria

  • Selector selects Go for bare status only; other argv shapes fall back to Bash.
  • The appliance default locale is recorded and a test shows status takes the Go path there.
  • Existing status suites pass unchanged in both modes.
  • Go median wall time not above Bash on the release candidate, A/A floor recorded; default flips in the release where all hold, otherwise it rolls.

Possible solutions

Re-land go/internal/status with its tests from go-port/3811. No performance label: the rationale is parity and startup, not a measured critical path.

Activity

  1. added
    enhancement
    refactor
    size:S
    on Nov 17, 2026
  2. pithead-developer commented on Dec 4, 2026

    @pithead-developer
    ContributorAuthor

    Blocked on #4218. Blocked on pithead#4218 (Piece 1: help and version in Go), the issue's own recorded dependency, and #4218 has not been started: no branch, no PR, and it is itself blocked by open pithead#4215 (Build and ship the Go CLI in the appliance image). Piece 2 cannot be built on the current base: origin/develop-v2.1.0 carries no go/ module (only the merged launcher/selection groundwork #4214) — the Go scaffold arrives with the first piece PR that lands (currently the draft #4527 for #4220), and piece issues must not create go/ themselves; the release flow that this issue's "default flips in the release where all hold" criterion extends is proven by Piece 1 first. Finished so far: verified the re-land source exists (go/internal/status and go/internal/cli on go-port/3811), verified the base has no go/ and no in-flight PR/branch for this issue, and confirmed the selector/table/doc surfaces (#4214's launcher, docs/dev/go-port/selection.md) that Piece 2 will extend. Unblocks when #4218 closes (then #4219 resumes; #4215 is additionally needed before the status default can actually flip, since the appliance must ship the Go binary). Nothing was edited; the worktree is clean at origin/develop-v2.1.0.

    The runner resumes this issue when that one closes.

  3. added
    blocked
    on Dec 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    blockedenhancementrefactorsize:S

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions