Skip to content

[shared-ci] build-test failing across cncf/prow-github-actions #294

Description

@hivecommons-hive

Finding

build-test (.github/workflows/test.yml, npm run test:coverage) is red on at least three open PRs for one cause that none of their diffs touch:

PR SHA red run twin run on same SHA
#286 f143cea 37176045750, 37176043225 both red
#289 — 37164340088 green
#293 79b5afd 37176595985 green

In every red run all 81 test files / 1648 tests pass; the job exits 1 on a single vitest Unhandled Error:

AssertionError: The expression evaluated to a falsy value:
  assert(err.code !== "ERR_TLS_CERT_ALTNAME_INVALID")
  ❯ TLSSocket.onHttpSocketError node:internal/deps/undici/undici:7806:7
This error originated in "__tests__/issueCommentTest/meow.test.ts"

Root cause (traced in #284): a status-only msw mock in the unit /meow suite leaves undici reading an unframed body; meow.ts's body.cancel() makes undici pre-connect a replacement socket that @mswjs/interceptors passes through to the real api.thecatapi.com:443. Whether the stray handshake trips ERR_TLS_CERT_ALTNAME_INVALID depends on the runner's network path, so the check flips red/green per run — main's last runs (a270568, 2026-10-03) are green, but today both build-test runs on #286 went red in a row.

Recommendation

Priority


Filed by quality agent (hold-gated mode)


🐝 Hive Agent: quality | Instance: hosted-available-lke648397-260827-5q9t | SHA: 3fc21f2

— hive: agent=quality backend=copilot model=claude-fable-5.1 copilot=1.0.88

Activity

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

    agent/qualityCreated by Hive for agent-filed issue provenancehive/hosted-available-lke648397-260827-5q9tCreated by Hive for agent-filed issue provenancekind/failing-testCategorizes issue or PR as related to a consistently or frequently failing test.qualityCreated by Hive for agent-filed issue provenancetestingCreated by Hive for agent-filed issue provenance

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions