Title: CI: five pkgs Go modules (chat, database, import, launcher, tea) are built by nothing — the map/identity rot pattern, still unguarded · Issue #342 · developing-today/code · GitHub
Open Graph Title: CI: five pkgs Go modules (chat, database, import, launcher, tea) are built by nothing — the map/identity rot pattern, still unguarded · Issue #342 · developing-today/code
X Title: CI: five pkgs Go modules (chat, database, import, launcher, tea) are built by nothing — the map/identity rot pattern, still unguarded · Issue #342 · developing-today/code
Description: Summary Five Go modules under pkgs/ — chat, database, import, launcher, and tea — are built by no CI workflow at all. They compile today, but a change that breaks any of them would rot silently, which is exactly what already happened to ...
Open Graph Description: Summary Five Go modules under pkgs/ — chat, database, import, launcher, and tea — are built by no CI workflow at all. They compile today, but a change that breaks any of them would rot silently, wh...
X Description: Summary Five Go modules under pkgs/ — chat, database, import, launcher, and tea — are built by no CI workflow at all. They compile today, but a change that breaks any of them would rot silently, wh...
Opengraph URL: https://github.com/developing-today/code/issues/342
X: @github
Domain: github.com
IPv4 address: 140.82.113.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CI: five pkgs Go modules (chat, database, import, launcher, tea) are built by nothing — the map/identity rot pattern, still unguarded","articleBody":"## Summary\n\nFive Go modules under `pkgs/` — `chat`, `database`, `import`, `launcher`, and `tea` — are built by no CI workflow at all. They compile today, but a change that breaks any of them would rot silently, which is exactly what already happened to two sibling modules in this repo: `pkgs/map` (#338) and `pkgs/identity` (#340) both broke with no CI noticing, and each needed its own build workflow afterwards (`map-build.yml`, `identity-build.yml`).\n\n## Evidence (all on main `0d005a0b42cd`)\n\n- The Go modules in the repo are: `pkgs/chat`, `pkgs/database`, `pkgs/graph`, `pkgs/identity`, `pkgs/import`, `pkgs/launcher`, `pkgs/map`, `pkgs/mcpx`, `pkgs/tea` (each with its own `go.mod`).\n- Workflow coverage today:\n - `pkgs/mcpx` — `mcpx.yml` / `mcpx-nixbuild.yml` / conformance\n - `pkgs/id` — `id-check.yml` (not a `pkgs/*/go.mod` module)\n - `pkgs/map` — `map-build.yml` (#339)\n - `pkgs/identity` — `identity-build.yml` (#341, tagged builds)\n - `pkgs/graph` — `mod-tidy.yml` only (tidy check; its build failure is already tracked in #166)\n - `pkgs/chat`, `pkgs/database`, `pkgs/import`, `pkgs/launcher`, `pkgs/tea` — **no workflow references any of these paths** (`grep pkgs/ .github/workflows/` returns no hits for them), and the root `nix-ci.yml` only evaluates the root flake's mcpx package.\n- Verified this run, with Go from each module's `go.mod`:\n - `go build ./...` and `go vet ./...` pass today in all five modules — they are healthy, just unguarded.\n - Each is a small single-`main.go` module (83–213 lines), so a build+vet job is cheap (the `map-build.yml` job runs in well under its 15-minute cap).\n- The #340 sibling audit noted these five \"build plain\" — that confirmed health, but no CI coverage was filed for them.\n\n## Why it matters\n\nThis repo has now twice paid for the same gap: a module with no build CI breaks on a dependency change and nobody finds out until a later audit. The five remaining uncovered modules share the exact risk profile (charm-ecosystem dependencies, `go 1.21.3` pins, no tests in any of them — `find pkgs/{chat,database,import,launcher,tea} -name '*_test.go'` is empty, so build+vet is the only automated signal they can get).\n\n## Acceptance criteria\n\n- [ ] A CI workflow builds and vets all five modules (`chat`, `database`, `import`, `launcher`, `tea`) on changes under their `pkgs/\u003cmodule>/**` paths, on PRs and on pushes to `main` — e.g. one matrix workflow mirroring `map-build.yml`/`identity-build.yml`, rather than five near-identical files.\n- [ ] The workflow is green on its own PR, with one job per module so a failure names the module.\n- [ ] `pkgs/graph` is deliberately excluded (its build failure is #166, already watched by `mod-tidy.yml`), and `pkgs/map` / `pkgs/identity` keep their existing dedicated workflows.\n\n## Suggested fix\n\nAdd `.github/workflows/go-modules-build.yml`: `strategy.matrix.module: [chat, database, import, launcher, tea]` with `fail-fast: false`, `actions/setup-go` using `go-version-file: pkgs/${{ matrix.module }}/go.mod`, then `go build ./...` and `go vet ./...` with `working-directory: pkgs/${{ matrix.module }}`. Path filters list the five module directories plus the workflow file itself.\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-10-19T08:37:49Z","url":"https://github.com/developing-today/code/issues/342"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7c7855f9-2d57-9548-87f4-5929dc62822e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | ACAA:2356C0:5D6CDA:7D0D46:6B06275F |
| html-safe-nonce | aa8b900922ae301cecfd65cc99b03d015d5a4ecb0740314a031474e73a9d3ae0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQ0FBOjIzNTZDMDo1RDZDREE6N0QwRDQ2OjZCMDYyNzVGIiwidmlzaXRvcl9pZCI6IjQ0Mjc0NjgxMzgzODg3OTMxODMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 031dcb813d213bfbdef8768a6173bc73b8d67d08d81cc965bde151ece884e962 |
| hovercard-subject-tag | issue:5920598737 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developing-today/code/342/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1c92694f7f2ede342d4501208e65c8d64cdc2e39354e09e0f6202c505db990f/developing-today/code/issues/342 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1c92694f7f2ede342d4501208e65c8d64cdc2e39354e09e0f6202c505db990f/developing-today/code/issues/342 |
| og:image:alt | Summary Five Go modules under pkgs/ — chat, database, import, launcher, and tea — are built by no CI workflow at all. They compile today, but a change that breaks any of them would rot silently, wh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dezren39 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9e10bb0ecc0bd0f8692aa89586ee9b54e498d7ab9f244a44cdb5b93653a125ce |
| turbo-cache-control | no-preview |
| go-import | github.com/developing-today/code git https://github.com/developing-today/code.git |
| octolytics-dimension-user_id | 26439447 |
| octolytics-dimension-user_login | developing-today |
| octolytics-dimension-repository_id | 627308783 |
| octolytics-dimension-repository_nwo | developing-today/code |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 627308783 |
| octolytics-dimension-repository_network_root_nwo | developing-today/code |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 32e57d5cc2ce6ce92ec6dceb65858344750c27c2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width