Title: ci(production-line-guard): the F11.10 line guard never runs — dispatch-only since the Nov 4 sweep, and main already fails it (directory.rs 2,610 lines, ungrandfathered) · Issue #6959 · developing-today/code · GitHub
Open Graph Title: ci(production-line-guard): the F11.10 line guard never runs — dispatch-only since the Nov 4 sweep, and main already fails it (directory.rs 2,610 lines, ungrandfathered) · Issue #6959 · developing-today/code
X Title: ci(production-line-guard): the F11.10 line guard never runs — dispatch-only since the Nov 4 sweep, and main already fails it (directory.rs 2,610 lines, ungrandfathered) · Issue #6959 · developing-today/code
Description: Problem The F11.10 production-line guard (#1411) — no production .rs file under pkgs//apps/ may exceed 2,500 production lines — never runs. Its workflow has been workflow_dispatch-only since the 2026-11-04 trigger sweep, and current main...
Open Graph Description: Problem The F11.10 production-line guard (#1411) — no production .rs file under pkgs//apps/ may exceed 2,500 production lines — never runs. Its workflow has been workflow_dispatch-only since the 20...
X Description: Problem The F11.10 production-line guard (#1411) — no production .rs file under pkgs//apps/ may exceed 2,500 production lines — never runs. Its workflow has been workflow_dispatch-only since the 20...
Opengraph URL: https://github.com/developing-today/code/issues/6959
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ci(production-line-guard): the F11.10 line guard never runs — dispatch-only since the Nov 4 sweep, and main already fails it (directory.rs 2,610 lines, ungrandfathered)","articleBody":"## Problem\n\nThe F11.10 production-line guard (#1411) — no production `.rs` file under `pkgs/`/`apps/` may exceed 2,500 production lines — never runs. Its workflow has been `workflow_dispatch`-only since the 2026-11-04 trigger sweep, and current `main` already fails the guard: a non-grandfathered file crossed the limit while nothing was watching.\n\n## Evidence (verified 2026-11-07 on laptop primary @ e238c85d5a)\n\n- `.github/workflows/production-line-guard.yml:7-9` — `on:` is `workflow_dispatch:` only. No `push`, no `pull_request`, not even `merge_group` (the sibling opencode-config guard, #6953, at least kept `merge_group`).\n- Sweep commit `5a94833ea3` (\"ci: remove push/pull_request triggers (dispatch/schedule only)\", 2026-11-04) removed this workflow's path-gated `push` (branches `[main]`, paths `pkgs/**`, `apps/**`, the guard script/test, the workflow) and `pull_request` (same paths) triggers — 15 lines. The workflow's concurrency group (lines 13-16) still keys on `github.event_name == 'push'`, dead code left by the removal.\n- `gh run list --workflow production-line-guard.yml`: the newest of the last 30 runs is 2026-11-04T14:26:03Z (`pull_request`) — minutes before the sweep commit landed (08:27 CST). Zero runs since, in over three days of merges to main.\n- The guard script `.github/scripts/check-production-line-limit.sh` is invoked by no other workflow (grep over `.github/workflows/`), so nothing else covers it.\n- Running the guard on a clean export of current `main` (`git archive HEAD`, probe `~/git/fleet/probe-line-guard-target/clean` on the laptop): **FAILED** — `pkgs/id/src/directory.rs: 2610 production lines (limit 2500)`, and `directory.rs` is **not** in the guard's grandfather list and has no split issue (title searches for `directory.rs` splits return none; 4,961 raw lines). Checked 524 production `.rs` files; the contract tests (`check-production-line-limit.test.sh`) all pass — the guard logic works, it is simply never invoked.\n- The four grandfathered files have all grown since the guard landed, unobserved: `web/markdown.rs` 5,325 → 5,742 (#4704), `cli.rs` 2,504 → 2,797 (#4715), `web/routes.rs` 2,573 → 3,021 (#4716), `world_session/mod.rs` 2,821 → 3,079 (#4717). Those split issues' acceptance (\"delete the grandfather entry in the same PR\") has no automated check behind it.\n\n## Why it matters\n\nThe guard exists so module growth is caught at the PR that causes it, while a split is still cheap. With it dark, `directory.rs` crossed the limit unnoticed and the grandfathered files drifted further from their splits — exactly the silent accumulation F11.10 was built to prevent (#1438). Unlike #6929/#6953, ci-policy's tier table does not even list this workflow, so its absence is invisible from the policy side too.\n\n## Acceptance criteria\n\n- [ ] A decision is recorded: restore automatic triggers for `production-line-guard` (the pre-sweep path-gated `push` to main + `pull_request` over `pkgs/**`/`apps/**` + guard files is the obvious candidate) **or** retire the guard explicitly (delete workflow + script + grandfather bookkeeping, and close/update #1438 and the four split issues' enforcement premise accordingly). A dispatch-only guard that nobody dispatches is not a third option.\n- [ ] If restored: `.github/ci-policy.md` gains a tier-table row for the workflow, and the dead `push` expression in the concurrency group is either live again or removed.\n- [ ] `pkgs/id/src/directory.rs` (2,610 production lines) is dispositioned: split, or grandfathered in the script with a linked split issue, per the guard's own convention — so the restored guard is green on main.\n- [ ] A run of the workflow on main after the change is linked from this issue (dispatch counts once triggers are restored; the point is a recorded green run).\n\nRelated: #1411 (guard origin), #1438 (enforcement request), #4704/#4715/#4716/#4717 (grandfather splits), #6929 and #6953 (sibling guards darkened by the same sweep).\n","author":{"url":"https://github.com/dezren39","@type":"Person","name":"dezren39"},"datePublished":"2026-11-07T21:44:15Z","url":"https://github.com/developing-today/code/issues/6959"}
| 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:39f9e729-6bf8-9fc0-e0e0-8d7890fd1fe0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A5E0:23514F:2E15A1:3CA2A8:6B061697 |
| html-safe-nonce | b8f799569350d157a3104ef3e59059e26485a2284dcf38845d6bfafa3d15df38 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUUwOjIzNTE0RjoyRTE1QTE6M0NBMkE4OjZCMDYxNjk3IiwidmlzaXRvcl9pZCI6IjM3MzQ4MzE5MzUyMjc1NjU3MTkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | f95ed36225e5fe2a1d961f32c54406c026d8e8ba2d399cdd3badf3887eab9ba5 |
| hovercard-subject-tag | issue:6264500569 |
| 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/6959/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9526f00643c84ed6f90ac2af18874933596a347ec1ee015fc00eea80e3f3ad7c/developing-today/code/issues/6959 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9526f00643c84ed6f90ac2af18874933596a347ec1ee015fc00eea80e3f3ad7c/developing-today/code/issues/6959 |
| og:image:alt | Problem The F11.10 production-line guard (#1411) — no production .rs file under pkgs//apps/ may exceed 2,500 production lines — never runs. Its workflow has been workflow_dispatch-only since the 20... |
| 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 | 97d4714e567728e1f85f88b0cf68c89f0f8a3dc41e8869af7aeb8195ad990374 |
| 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 | 866f202ebf7ac5aff8f633417d9fd8a53818a977 |
| 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