Skip to content

stewards: show nextAction verbatim and put the deployment phrase first (BB-86) - #112

Merged
trotterdylan merged 1 commit into
mainfrom
bb/bb-86-effortphrase-verbatim-nextaction-deploying-thr_gkr7h8nzdj
Oct 27, 2026
Merged

trotterdylan merged 1 commit into
mainfrom
bb/bb-86-effortphrase-verbatim-nextaction-deploying-thr_gkr7h8nzdj

Conversation

@trotterdylan

@trotterdylan trotterdylan commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator

Implements BB-86.

An effort whose status report has actor other rendered line two as waiting on plus the report's nextAction, which is a full sentence, so the row read as a double verb. effortPhrase now returns nextAction verbatim for every actor, keeping the other party only as the no-report fallback. It also moves the deployment watch's state (deploying / deployed / deploy failed) ahead of the free-text nextAction, so a merged pull request awaiting its deployment reads deploying whatever the report's actor, while staying below needs you, blockedOn, hold, stuck and the running-worker count.

A merge to bb-plugins main moves the bb-gate BB_PLUGINS_REF pin, builds a new bb-server image and stages a restart for every developer's server (at Restart now, or in the 03:00–05:00 ET quiet window).

Classification

no-review: a tweak to the wording and precedence of effortPhrase; no new behaviour surface, no schema change, no truncation.

What changes

  • plugins/stewards/sidebar.ts: effortPhrase returns statusNextAction verbatim, the other party only when it is null, and checks deployment before nextAction; the order comment is updated.
  • plugins/stewards/sidebar.test.ts: the phrase precedence test and the grouping/monitors tests (waiting on Next scheduled look → Next scheduled look).
  • plugins/stewards/sidebar-app.test.tsx: the two line-two assertions that expected the waiting on prefix.
  • plugins/stewards/DESIGN.md, plugins/stewards/README.md: the row/status-phrase descriptions.

Testing

  • npm test in plugins/stewards: pass (659 tests, 21 files).
  • npm run typecheck in plugins/stewards: pass.
  • Not tested: the live sidebar against a real deployment; the change is confined to the pure effortPhrase function and its unit tests.

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Independent review running in bb thread @thread:thr_qtfxzmwwmj.

— from bb thread thr_gkr7h8nzdj

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Review round 1 (GLM 5.3, at 2f1b83f)

Owner review required: no — none of the owner-reviewed triggers apply. A wording/precedence tweak to the pure effortPhrase in a live plugin: no contract, schema, settings default, migration, dependency or infra touched; the only behaviour change is the one the ticket asks for.

Suggestions

  • PR body's Testing section says the stewards suite is "not in the CI matrix", but stewards is in the plugins workflow matrix (.github/workflows/plugins.yaml). Harmless — the suite is green either way — but the line is inaccurate if anyone goes looking for which jobs CI skipped.

Checked

  • Ran: npm run typecheck and npm test in plugins/stewards at 2f1b83f — pass (659 tests, 21 files).
  • Verified against ticket, all met:
    • { statusActor: "other", statusNextAction: "Wait for the hold to lift." } → Wait for the hold to lift. verbatim, no prefix (sidebar.ts, tested at f2).
    • { statusActor: "other", deployment: "merged", statusNextAction: "Wait for a bb-server build…" } → deploying — the deployment branch now precedes nextAction (tested at i2).
    • { statusActor: "other", runningWorkers: 1, deployment: "merged" } → 1 worker running — the worker count still outranks the deployment state (tested at i3).
    • needs you, blocked on …, held behind …/on hold, stuck — the first four branches are untouched and their tests unchanged.
    • The monitors tests expect the verbatim sentence: sidebar.test.ts (Next scheduled look) and sidebar-app.test.tsx (ops · Next scheduled look, plus the in-flight row ticket · an author push).
    • The Stewards page row shares the phrase: app.tsx StewardRow calls the one effortPhrase, so it picks this up with no change of its own — correct that the PR doesn't touch it.
  • Also checked: no lingering waiting on <nextAction> rendering anywhere in the plugin (remaining "waiting on" hits are unrelated prose in comments, the CLI "waiting on you" lists and skill text); the DESIGN.md and README precedence descriptions match the new code; the no-report fallback the other party (actor other, no nextAction) is a sensible continuation of dropping the prefix and is covered by the new n case.
  • The precedence change is exactly the ticket's: only the other-actor row reorders (deployment and nextAction swap places relative to the old actor === "other" branch); for every other actor the chain is byte-for-byte the old one after the removed branch.

— from bb thread thr_qtfxzmwwmj

@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Addressed the round-1 suggestion: the PR body's Testing line no longer claims the stewards suite is outside the CI matrix. No code change, so the approved sha stands.

— from bb thread thr_gkr7h8nzdj

@trotterdylan
trotterdylan merged commit a5271e9 into main Oct 27, 2026
20 checks passed
@trotterdylan
trotterdylan deleted the bb/bb-86-effortphrase-verbatim-nextaction-deploying-thr_gkr7h8nzdj branch October 27, 2026 15:56
@trotterdylan

Copy link
Copy Markdown
Collaborator Author

Merged: no-review lane, reviewer approved 2f1b83f, checks green; since then: the PR body's Testing line was corrected (no code change). merge commit a5271e9.

This merge moves the bb-gate BB_PLUGINS_REF pin, builds a new bb-server image and stages a restart for every developer's server (at Restart now, or in the 03:00–05:00 ET quiet window).

— from bb thread thr_gkr7h8nzdj

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