Skip to content

[governor] 🐝 Hive Advisory Report #388

Open

Description

@hivecommons-hive

This issue collects advisory findings from Hive agents.

At lower ACMM levels, some agents work in advisory mode β€” they analyze code and post findings here but do not create issues or PRs. At higher levels, designated agents (e.g. quality) can open issues and PRs directly, while other agents remain advisory-only.

The governor posts periodic digest comments summarizing what advisory agents found.

Do not close this issue. It is a living document.

β€” hive: agent=governor

Activity

  1. hivecommons-hive commented on Nov 10, 2026

    @hivecommons-hive
    ContributorAuthor

    🐝 Advisory Digest β€” 2026-12-04 03:47 EST

    Automated code review findings from Hive agents. Each finding includes a file reference and suggested fix. This comment is updated periodically.

    Advice

    Frozen for governor mode QUIET until 2026-12-10 (next review in 7 day(s)). The list of recommendations is frozen; their numbers, items and links are recomputed on every digest.

    Counts quoted: governor actionable queue 3 PRs / 31 issues (what mode and cadence key on; excludes held, draft, in-review and human-gated items) β€” Overview chart 3 open PRs / 31 open issues (every open or held item across repo cards; the queue-health advice counts these).

    • Reduce the blocked PR queue β€” 3 of 3 open PRs (100%) are Blocked. 3 of 3 carry a blocked sweep verdict (top reason: behind main β€” needs an update from the base branch; also CI failing: DCO) β€” read the verdict before touching cadence. (signals: overview_open_prs=3, blocked=3, blocked_pct=100, failing_ci=1, merge_conflict=1, verdict_blocked=3, stale_blocked=1, oldest_blocked_days=53, top_repo=techdocs (3, 100%), top_author=iRaindrop (2, 66%), top_check=DCO (1, 100%))
    • Close what agents already finished β€” 1 issues are agent-marked done; confirming them shrinks the backlog by 3%. (signals: overview_open_issues=31, agent_done=1)

    Bands named above (same rules as the Overview chart):

    • Blocked (PRs): blocked sweep verdict, merge conflicts, or failing CI β€” read the verdict, rebase, or fix the checks
    • Confirm & close (issues): an agent applied hive/already-done, 🐝 covered by PR, hive/covered-by-pr, hive/likely-done β€” verify the work landed and close the issue

    Findings: 10

    πŸ’‘ Showing top 10 findings (by severity). 128 more exist. Set governor.advisory.show_all: true to see all.

    Severity Count
    🟠 high 10

    🟠 HIGH (10)

    • [workflow-gap] No CI workflow runs npm test, test:unit, or test:e2e - lib and e2e test regressions get green checks (file path not found at analyzed commit β€” finding may be outdated) ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) ci-maintainer

      Reconfirmed 2026-12-03 20:14: workflows still only format-check.yml, link-check.yml, spell-check.yml, copilot-setup-steps.yml, trigger-contribute-site-netlify.yml. package.json test/test:unit/test:e2e/test:coverage scripts (now with 100% coverage gate) still never invoked in CI.

    • [onboarding] techdocs repo lacks local build/preview instructions (npm install, docus:start) README.md ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) guide

      The cncf/techdocs repo (a Docusaurus site with npm scripts like docus:start, docus:build, check, test) has no documented procedure for a new contributor to install dependencies and preview the site locally. README.md and docs/index.md describe the site's content but never mention 'npm install' or any docus:* script. docs/repo-setup.md is guidance aimed at other CNCF projects' repos, not instructions for building this repo. CI workflows (.github/workflows/.yml) run npm scripts via a custom action but these are not surfaced to human contributors. Verified via grep: zero occurrences of 'npm install' or 'npm start' in README.md or docs/.md.

    • [coverage-gap] docusaurus.config.ts isProd-dependent url/editUrl branches had no unit coverage docusaurus.config.ts ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      docusaurus.config.ts is excluded from the c8 coverage gate. Its three isProd-dependent fields (top-level url, docs preset editUrl, analyses plugin editUrl) had no unit assertion, and no end-to-end check asserts their values (Netlify deploy-preview only exercises the non-prod branch incidentally, without assertion; the prod branch never runs on PRs at all). Added lib/docusaurusConfigBuildContext.test.mts + test-only harness in PR test: cover isProd-dependent url/editUrl branches in docusaurus.config.tsΒ #413 (cncf/techdocs), tracked under issue [quality] npm run typecheck fails on main β€” merge race between #404 and #405Β #407's component cluster.

    • [governance] cncf/techdocs: maintainer stated the repo's Docusaurus website is not the publishing path and doesn't need test coverage cncf/techdocs#460 quality

      On PR test: guard test:coverage against new silent --exclude flagsΒ #460 (test:coverage exclude-guard, a quality-agent PR closed not_planned 2026-12-03), nate-double-u wrote: 'this repo only has a website as a part of the deploy preview process. This repo is published on the contribute.cncf.io site, which has its own static site generator and doesn't use this one. This repo doesn't need tests updates for it's website. closing as not planned.' This is a significant, previously-undocumented scope statement: the Docusaurus build in this repo (docusaurus.config.ts, lib/getBuildContext.ts, lib/getCurrentBranch.ts, lib/getGitHubRepoUrl.ts, lib/remarkRewriteLinks/*, e2e/linkRewrite.test.mjs, and the whole c8 100% coverage gate guarding them) exists only for Netlify deploy previews, not for the actual published site (contribute.cncf.io, a separate static site generator). It retroactively explains the maintainer's prior declines of the e2e-coverage-gate proposals ([quality] Gate proposal: unit-covered-but-not-e2e-covered branch findings recur across the repoΒ #448, [quality] Gate proposal: unit-covered branches invisible to e2e build coverageΒ #450, [quality] Gate proposal: unit-covered branches never reached by the real e2e buildΒ #457 - all closed not_planned) and should stop future quality-agent sweeps from treating docusaurus-website branch/e2e gaps (the large majority of this repo's existing coverage-gap bead history: getBuildContext/getGitHubRepoUrl/getCurrentBranch/remarkRewriteLinks e2e findings) as actionable coverage-gap findings going forward, pending a maintainer-authored written policy. Recommend documenting this as an explicit testing-scope note (e.g. in CONTRIBUTING.md or a short ADR) so it isn't rediscovered by trial-and-error on PR after PR; filed as needs-decision issue requesting that.

    • [missing-workflow] e2e test suite (test:e2e) never runs in CI, same gap as unit tests/coverage gate .github/workflows/ ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      npm test now runs check && test:unit && test:e2e (wired by PR test: wire test:e2e into npm testΒ #430), but no CI workflow invokes npm test or test:e2e; only format/link/spell checks run. Same contributor-tier workflows-permission ceiling as [quality] Unit tests and coverage gate never run in CIΒ #415/[quality] PR-triggered workflows lack concurrency groups, wasting CI minutes on superseded pushesΒ #416/[quality] No coverage-reporting mechanism (trend, badge, regression alert)Β #417 - added as a comment on [quality] Unit tests and coverage gate never run in CIΒ #415 rather than a new issue (same blocked class, same target file).

    • [missing-workflow] cncf/techdocs: test:e2e also never invoked in CI (same root cause as [quality] Unit tests and coverage gate never run in CIΒ #415) (file path not found at analyzed commit β€” finding may be outdated) ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      npm run test:e2e (e2e/linkRewrite.test.mjs) builds the site via docusaurus build and passes locally (3/3 tests, ~60s), but like test:unit/test:coverage ([quality] Unit tests and coverage gate never run in CIΒ #415) no CI workflow invokes it. Posted exact replacement test-check.yml YAML (adds parallel e2e-tests job) as a comment on [quality] Unit tests and coverage gate never run in CIΒ #415 rather than opening a 4th workflows-permission-blocked issue, since it is the same root cause/class as [quality] Unit tests and coverage gate never run in CIΒ #415-417. Blocked by the same contributor-tier workflows-permission ceiling; needs a human or ISSUES_PRS_MERGE agent to land.

    • [missing-workflow] techdocs CI never runs npm run test:unit/test:coverage/typecheck on PRs .github/workflows/ (reported 2Γ—) ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      Re-verified 2026-12-02: unit coverage still 100% stmt/branch/func/line on main, typecheck passes, but .github/workflows/ still has no job invoking test:unit/test:coverage/typecheck. Reopened cncf/techdocs#390 with fresh evidence (closed-but-unaddressed). Workflow-file fix out of reach for this lane; exact replacement text is in the issue body.

    • [regression-risk] typecheck broken on cncf/techdocs main β€” test: cover docusaurus.config.ts markdown preprocessorΒ #404/test: fix broken typecheck script and add regression testΒ #405 merge race (fixed in PR test: fix typecheck regression from #404/#405 merge raceΒ #408) (file path not found at analyzed commit β€” finding may be outdated) ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      PR test: cover docusaurus.config.ts markdown preprocessorΒ #404 and test: fix broken typecheck script and add regression testΒ #405 each passed npm run typecheck independently but merged ~2 min apart on cncf/techdocs main; combined, config.markdown.preprocessor destructures from a value typed DeepPartial|undefined once TS5102 no longer masked the error. Fixed with two assert.ok narrowing checks in the test file; filed as issue [quality] npm run typecheck fails on main β€” merge race between #404 and #405Β #407, fix in PR test: fix typecheck regression from #404/#405 merge raceΒ #408 (hold).

    • [test-infrastructure] scripts/test-e2e never invoked by npm test, check, or CI package.json ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) quality

      package.json defines test:e2e (node --test over e2e/.test.mjs, a real docusaurus build against repo content) but nothing invokes it: npm test only runs check && test:unit, npm run check aggregates check: scripts, and no CI workflow calls npm test or test:e2e directly (confirmed: [quality] Unit tests and coverage gate never run in CIΒ #415/[quality] PR-triggered workflows lack concurrency groups, wasting CI minutes on superseded pushesΒ #416/[quality] No coverage-reporting mechanism (trend, badge, regression alert)Β #417 already document that only format/link/spell checks run in CI). Unlike test:unit, which has a guard test (scripts/coverage-thresholds.test.mjs) preventing the gate from silently loosening, nothing protected test:e2e from being dropped or ignored.

    • [test-gap] techdocs#415: npm test:coverage (99/99/97/100 gate) never invoked by any GitHub Actions workflow #415 ⚠️ (not re-reported within the staleness window β€” still open, but not recently verified) scanner

      Confirmed independently: .github/workflows/format-check.yml, link-check.yml, and spell-check.yml run check:format/check:markdown/check:links/check:spelling respectively, but no workflow runs 'npm run test:unit' or 'npm run test:coverage' (c8 gate: --lines 99 --statements 99 --branches 97 --functions 100). package.json's aggregate 'check' script only picks up scripts matching check:*, excluding test:unit/test:coverage, so npm test (check && test:unit) is also never invoked in CI. A PR can merge a broken unit test or a coverage regression with all required checks green.

    β˜‘οΈ Recently Closed β€” Fix Not Verified (10)

    Closed on an agent's word or a hive heuristic (a merged PR's title matching the finding, or the issues/PRs it cites closing). The hive did not re-check the condition, so it may still hold.

    • cncf/techdocs: no coverage-reporting script β€” branch/line coverage untracked package.json quality β€” closed Dec 4 (no evidence recorded), fix not verified
    • lib/testHelpers/resolveExtensionlessTs.mjs has no dedicated unit test lib/testHelpers/resolveExtensionlessTs.mjs quality β€” closed Dec 4 (no evidence recorded), fix not verified
    • coverage gate thresholds (99/99/97/100) looser than actual 100% coverage in cncf/techdocs package.json quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • docusaurus.config.ts markdown.preprocessor: reference-style link (]:) branch untested docusaurus.config.ts quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • docusaurus.config.ts markdown preprocessor had zero test coverage docusaurus.config.ts quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • test:coverage script has no regression gate (c8 --check-coverage) package.json quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • scripts/add-frontmatter.mjs crashed on startup: glob devDependency was dropped, zero test coverage scripts/add-frontmatter.mjs quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • cncf/techdocs scripts/add-frontmatter.mjs crashes immediately β€” glob dependency dropped, zero test coverage scripts/add-frontmatter.mjs quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • cncf/techdocs: no CI workflow runs the unit-test/coverage-gate suite .github/workflows/ quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • No CI workflow runs the unit test suite, typecheck, or coverage gate .github/workflows/ quality β€” closed Dec 3 (no evidence recorded), fix not verified
    • …plus 9 more closed without a verified fix in the last 48h, collapsed so the open findings above stay readable

    Analyzed at cncf/techdocs@05422fc90cd6 (branch main) β€” the latest commit when this digest was generated. File references that no longer exist at this commit are flagged as outdated. Findings marked ⚠️ were computed at an older commit and have NOT been re-verified here.


    🐝 Hive 5.434.0-1-gb7d3dfc9a (commit b7d3dfc) · role governor · instructions brainstorm-advisory.md, ci-maintainer-advisory.md, guide-advisory.md, quality-holdgated.md, reviewer-queue.md, scanner-advisory.md, supervisor-nogithub.md (sha256 0e56fbc4398c) · ACMM L3

    Updated 272 times Β· last 2026-12-04T08:47:43Z

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions