ci: runner-arch + docker probe (diagnostic, do not merge) #42

Closed
amiryahaya wants to merge 2 commits from ci/actions-diag-probe into main
Owner

Purpose: diagnostics only — will be removed once answered. Part of investigating why every Forgejo Actions run fails (all 10 runs red since the migration).

Evidence so far: api-ci run #10 passes checkout/SDK/libkazsign/Restore & Build, then the Test step fails in 0s — an instant process crash, not test failures. Prime suspect: the workflow downloads only kaz-sign-linux-x64 (no linux-arm64 asset exists upstream in pqc-kaz v2.0.x), so an arm64 runner would crash loading the native lib. Second suspect: RedisSessionStoreTests uses Testcontainers, which needs a docker socket reachable from the job.

This PR adds a temporary probe workflow whose steps encode the answers — per-step status is visible on the run page:

  • "Assert amd64 runner" fails → runner is arm64 → libkazsign can't load → that's the api-ci root cause
  • "Assert docker reachable" fails → no docker-in-docker → Testcontainers tests can't run either

Merging/running this PR also validates that pull_request-triggered workflows execute on this Forgejo instance — a prerequisite for the PR-based review flow we're switching to. Do not merge; will close after diagnosis.

**Purpose: diagnostics only — will be removed once answered.** Part of investigating why every Forgejo Actions run fails (all 10 runs red since the migration). Evidence so far: api-ci run #10 passes checkout/SDK/libkazsign/**Restore & Build**, then the **Test step fails in 0s** — an instant process crash, not test failures. Prime suspect: the workflow downloads only `kaz-sign-linux-x64` (no linux-arm64 asset exists upstream in pqc-kaz v2.0.x), so an **arm64 runner** would crash loading the native lib. Second suspect: `RedisSessionStoreTests` uses Testcontainers, which needs a docker socket reachable from the job. This PR adds a temporary probe workflow whose steps encode the answers — per-step status is visible on the run page: - **"Assert amd64 runner" fails** → runner is arm64 → libkazsign can't load → that's the api-ci root cause - **"Assert docker reachable" fails** → no docker-in-docker → Testcontainers tests can't run either Merging/running this PR also validates that `pull_request`-triggered workflows execute on this Forgejo instance — a prerequisite for the PR-based review flow we're switching to. Do not merge; will close after diagnosis.
ci: temporary runner-arch + docker probe workflow (diagnostics)
All checks were successful
CI probe / probe (pull_request) Successful in 38s
cc02c85e66
ci: extend probe — exec probe + service-container check
Some checks failed
CI probe / probe (pull_request) Failing after 2m34s
ab94f89f58
Author
Owner

Diagnosis complete — closing as planned. Run 11 (amd64 ✓, docker ✓) and run 12:

  • Exec probe passed (17s) — dotnet run --no-build works on the runner; workspace mount is executable.
  • Service container check FAILED (0s) — services: containers do not start on this runner. localhost:6379 unreachable.

That makes the api-ci root cause: its services: block (postgres/redis) is silently not provisioned, the ConnectionStrings__* env then points the app at dead localhost endpoints (Redis session store), and the test host dies at startup — the 0s Test-step failure. The suite itself needs none of it (SQLite in-memory + in-process sessions; RedisSessionStoreTests spins its own Testcontainers Redis). Fix PR removes services: + the ConnectionStrings env.

Remaining unknown (needs server-side access, not repo-side): why cd.yml fails — prime suspect is the REGISTRY_TOKEN secret (scope/name) per the workflow's own comment; logs are only viewable signed in.

**Diagnosis complete — closing as planned.** Run 11 (amd64 ✓, docker ✓) and run 12: - **Exec probe passed (17s)** — `dotnet run --no-build` works on the runner; workspace mount is executable. - **Service container check FAILED (0s)** — `services:` containers do not start on this runner. localhost:6379 unreachable. That makes the api-ci root cause: its `services:` block (postgres/redis) is silently not provisioned, the `ConnectionStrings__*` env then points the app at dead localhost endpoints (Redis session store), and the test host dies at startup — the 0s Test-step failure. The suite itself needs none of it (SQLite in-memory + in-process sessions; `RedisSessionStoreTests` spins its own Testcontainers Redis). Fix PR removes `services:` + the ConnectionStrings env. Remaining unknown (needs server-side access, not repo-side): why `cd.yml` fails — prime suspect is the `REGISTRY_TOKEN` secret (scope/name) per the workflow's own comment; logs are only viewable signed in.
amiryahaya closed this pull request 2026-11-04 03:14:30 +01:00
Some checks are pending
CI probe / probe (pull_request) Failing after 2m34s
Security CI / security-scan (pull_request)
Required

Pull request closed

Sign in to join this conversation.
No description provided.