GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 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 · Issue #6099 · developing-today/code

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

New issue
Copy link
New issue
Copy link
Closed
#8663
Closed
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
#8663
Copy link
Assignees
dezren39
Labels
app/chatPackage/app: chat (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Description

@dezren39
dezren39
opened on Nov 5, 2026
Issue body actions

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)

  • .github/workflows/go-modules-build.yml (matrix line ~57: module: [chat, database, graph, import, launcher, tea]) runs exactly three verifications per module: go mod tidy cleanliness, go build ./..., and go vet ./.... There is no go test step in the file, and no other workflow mentions pkgs/chat.
  • Hand run on the laptop this run: cd pkgs/chat && go test ./... → ok, 5 tests pass (1.128 s, fully offline).
  • What the 5 tests pin (main_test.go lines 68–207, against the 238-line main.go): Enter on empty input broadcasts nothing; Enter on real text broadcasts it verbatim exactly once; send reaches only live programs (removed sessions get nothing); removing an unknown session is a no-op; and the registry holds up under concurrent register/send/remove.
  • Why these pins matter here: the open chat issues are exactly in this area — chat: broadcast fan-out runs each Send in its own goroutine — messages arrive out of order and a stalled session piles up unbounded blocked goroutines #4389 (broadcast fan-out ordering / unbounded blocked goroutines), chat: completion waiter can block forever on p.Wait() before program startup — session never deregistered #4515 (completion waiter can block forever; session never deregistered), chat: per-session message history is never trimmed — every message re-joins the full history into the 5-line viewport, so a long-lived session grows unbounded and rendering is quadratic #3268 (unbounded per-session history). The registry/broadcast contract tests are the regression net for those fixes, and today a fix for any of them can merge with the net never run.

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

Next
  1. developing-today commented on Nov 5, 2026

    @developing-today
    developing-todayBot
    on Nov 5, 2026 – with developing.today
    Contributor
    More actions

    CODE-1756

  2. dezren39
    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
    status/needs-triageNot yet triaged; needs a first look
    priority/normalOrdinary priority (the default)
    app/chatPackage/app: chat (pkgs/ or apps/ in this repo)
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  3. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 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. dezren39
    added
    work/assignedQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    status/in-progressQueue worker lifecycle state
    and removed
    status/needs-triageNot yet triaged; needs a first look
    queue/queuedHas a queued queue task
    on Nov 5, 2026
  5. dezren39 commented on Nov 5, 2026

    @dezren39
    dezren39
    on Nov 5, 2026
    MemberAuthor
    More actions

    🤖 Agent note · picked up

    • Agent: repo-worker-code (OpenChamber scheduled lane)
    • Session / ID: ses_e5e55a2bd80ffeS1HxLDGj2qhQ; queue task 9910
    • Found via: repo-health-code-pilot, lane 9aca43b4-5439-4939-9f71-323f5d32521b
    • Task: Revalidate 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, its go-modules workflow coverage, and any existing PR before triage.
    • Expectation: Record a verified triage disposition and an implementation follow-up if the CI gap remains.
    • Links: 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
  6. 261 remaining items

    Load more actions
  7. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — picked up

    • Agent: queue worker (repo-worker-code), lane any-b; task 9911 for issue 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 (small_fix — CI: run pkgs/chat Go tests).
    • Lane assignment: direct (row 6705). Fresh check 2026-11-11: issue 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, no hard-stop labels, no status/needs-triage; PR search returns only unrelated PR feat(aggregator): report quota extractor health (#1204) #3957 (aggregator).
    • Next: add a guarded go test ./... step for the chat entry in go-modules-build.yml (guard: fail if pkgs/chat/main_test.go is absent, so CI cannot report a false green); verify the five chat tests pass locally on the laptop.
  8. developing-today
    added
    status:in-review
    on Nov 11, 2026
  9. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    Agent note — parked (CI wait on PR #8663)

    • Agent: queue worker (repo-worker-code), lane any-b; task 9911 for issue 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.
    • Done this shift: PR ci(chat): run pkgs/chat Go tests in go-modules-build (#6099) #8663 (commit 53eb79e, branch queue/9911-6099-chat-go-tests) adds a chat-only Test step to go-modules-build.yml — runs go test ./... in pkgs/chat after Vet, guarded on main_test.go existing so a missing suite fails loudly instead of a false green. Other matrix modules unchanged (they have no test files).
    • Verified locally: go test ./... in pkgs/chat passes (suite is 11 tests now, grew since filing); guard verified failing when main_test.go is absent; workflow YAML parses.
    • Resume: when PR ci(chat): run pkgs/chat Go tests in go-modules-build (#6099) #8663 checks complete (watch the go build (chat) job's new Test step) and any Codex findings are dispositioned, merge — the PR closes issue 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.
  10. dezren39
    added
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    status/parkedDeliberately paused with a recorded resume condition
    and removed
    status/in-progressQueue worker lifecycle state
    queue/claimedQueue worker lifecycle state
    on Nov 11, 2026
  11. dezren39
    added a commit that references this issue on Nov 11, 2026

    Merge pull request #8663 from developing-today/queue/9911-6099-chat-g…

    fae6444
  12. dezren39
    closed this as completedin #8663on Nov 11, 2026
  13. dezren39 commented on Nov 11, 2026

    @dezren39
    dezren39
    on Nov 11, 2026
    MemberAuthor
    More actions

    🤖 Agent note · done (fixed_merged) — task 9911, lane code-c

    • PR ci(chat): run pkgs/chat Go tests in go-modules-build (#6099) #8663 MERGED at 2026-11-11T13:18:02Z, merge commit fae6444; issue 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 is CLOSED.
    • Verification this claim (fresh): Codex review of head 53eb79e completed with no findings; the diff is exactly the ask (+15 lines in go-modules-build.yml — a chat-only test step with a fail-if-missing guard on main_test.go); go test ./... in pkgs/chat passes on the laptop (ok, 1.183s — the suite the new step runs); actionlint on the workflow is clean. Actions checks were not waited on (fleet-wide runner stall; local evidence is operative, per standing lane practice).
    • Task 9911 is completed as fixed_merged; stale lifecycle labels are removed from the closed issue as part of the terminal sync.
  14. dezren39
    removed
    status/parkedDeliberately paused with a recorded resume condition
    queue/parkedQueue task is parked (waiting on CI, time, or an event)
    work/assignedQueue worker lifecycle state
    on Nov 11, 2026
  15. developing-today
    added
    status:done
    and removed
    status:in-review
    on Nov 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @dezren39
    dezren39

Labels

app/chatPackage/app: chat (pkgs/ or apps/ in this repo)kind/ciCI/CD pipelines, workflows, and build automationpriority/lowNice to have; do when convenientsource/creatorFiled by the new-issue-creator jobsource/design-architectFiled by the repo design architect jobstatus:donetask/small-fixQueue packet kind: bounded fix with reproduction and targeted tests

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.