Skip to content

source-control:babysit-prs: gh-bot.sh bot token generation fails, worker writes fall back to personal identity #450

Description

@kyle-sexton

Lane: babysit-prs (safe-tier fix-round worker)

Triggering example: melodic-software/medley#1600, babysit worker run on branch fix/comment-review-gate-runner-routing (head bbcc5a2ef2a2627acd677d975e4929b91f7f2483). Worker needed to react to a bot comment, post a classification reply, and edit the PR body to fix a failing pr-issue-linkage check.

What happened: tools/github-auth/gh-bot.sh (in melodic-software/medley) reported Bot token generation failed, using personal identity on every write attempt this cycle. All three writes (reaction, classification reply, PR body edit) landed authored as kyle-sexton instead of the intended bot identity. The fallback is silent/local-log-only — nothing surfaces it to the babysit orchestrator or the PR itself, so a run of writes silently drifts from the intended attribution convention with no signal unless a human happens to read the worker's own transcript.

What should happen: either bot token generation succeeds reliably for babysit-lane writes, or — if the graceful degrade is intentional — the fallback should be a reported/material finding the orchestrator surfaces in its cycle status (not just a script-local log line), so attribution drift is visible without reading raw worker output.

Category: operational

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: highSignificant impact, or blocks an imminent release; staff this cycle.status: readyTriaged, unblocked, and fully specified; eligible to pick up.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions