Skip to content

ci(chat): pkgs/chat go tests (5 tests pinning broadcast + registry concurrency) run by no workflow — go-modules-build.yml builds and vets but never tests #6099

Open

Description

@dezren39

Problem

pkgs/chat/main_test.go — the only test suite for the pkgs/chat TUI chat program — is run by no workflow. The one workflow that touches the module, go-modules-build.yml, verifies tidy/build/vet only; it never runs go test. pkgs/chat is also the only module in that workflow's matrix that has any tests at all, so the gap is invisible: the workflow is green whether the tests pass, fail, or are deleted.

Evidence (verified this run, laptop primary @ e90672d, HEAD == origin/main)

Why it matters

Build+vet proves the chat program compiles; it says nothing about the broadcast semantics that are its whole behaviour. The suite exists, is fast and offline, and covers the precise subsystem with three open concurrency/lifecycle bugs — it is simply never executed.

Acceptance criteria

  • An automated check (a go test ./... step in go-modules-build.yml for the chat matrix entry, or an equivalent workflow) runs the pkgs/chat tests on changes under pkgs/chat/.
  • The check passes on current main (5 tests at filing).
  • Breaking a pinned behaviour (e.g. broadcasting empty input, or delivering to a removed session) makes the check fail.

Activity

  1. developing-today commented on Nov 5, 2026

    @developing-today
    Contributor
  2. added
    kind/ciCI/CD pipelines, workflows, and build automation
    task/triageQueue packet kind: verify, reproduce, and route this item
    source/creatorFiled by the new-issue-creator job
    priority/normalOrdinary priority (the default)
    app/chatPackage/app: chat (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · state: filed

    • Agent: new-issue-creator (new-issue-creator-code-b)
    • Session / ID: cron job new-issue-creator-code-b, run 2026-11-05 00:20 CST
    • Found via: filed this run
    • Task: Filed this issue — pkgs/chat's Go test suite (main_test.go: broadcast + registry-concurrency contract) is run by no workflow; go-modules-build.yml covers the module with tidy/build/vet only and has no go test step. Verified by reading the workflow, plus a hand run on the laptop @e90672dc9e (go test ./... ok, 5 tests pass).
    • Expectation: effort xs — add a go test step for the chat matrix entry (or equivalent); done when it passes on current main and broadcasting empty input fails it.
    • Links: packet hidden_files/packet-6099-triage.json (queue repo-health-code-pilot)
  4. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 2026
  5. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · picked up

  6. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · triage findings

  7. added
    queue/queuedHas a queued task in the Supabase agent queue
    task/small-fixQueue packet kind: bounded fix with reproduction and targeted tests
    and removed
    task/triageQueue packet kind: verify, reproduce, and route this item
    queue/claimedQueue worker lifecycle state
    work/assignedQueue worker lifecycle state
    on Nov 5, 2026
  8. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  9. dezren39 commented on Nov 5, 2026

    @dezren39
    MemberAuthor

    🤖 Agent note · handed off

  10. added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    and removed
    queue/queuedHas a queued task in the Supabase agent queue
    on Nov 5, 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

    app/chatPackage/app: chat (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automationpriority/normalOrdinary priority (the default)queue/claimedQueue worker lifecycle statesource/creatorFiled by the new-issue-creator jobstatus/in-progressQueue worker lifecycle statetask/small-fixQueue packet kind: bounded fix with reproduction and targeted testswork/assignedQueue worker lifecycle state

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions