Skip to content

E2E tests have never executed: 'Start full stack' fails with 'no configuration file provided' #843

Closed

Description

@hyperpolymath

What

End-to-End Tests in .github/workflows/tests.yml fails in ~19s at step
Start full stack. The E2E suite itself never executes -- step Run E2E test suite is skipped.

success  4  Load images
failure  5  Start full stack
skipped  6  Run E2E test suite      <- the actual tests
failure  7  Collect logs on failure
failure  9  Stop stack

Log, three times (start, collect, stop):

no configuration file provided: not found
##[error]Process completed with exit code 1.

That is docker compose invoked where it cannot resolve a compose file --
either no -f argument, or the wrong working directory for the step.

Why this was invisible until now

This job has never executed. Measured across the last eight Tests runs on
main:

Run created head End-to-End Tests
2026-09-22T18:26Z 4fa2e39 <job absent>
2026-09-22T18:05Z c18608e <job absent>
2026-09-22T17:54Z 1b2e66e <job absent>
2026-09-22T14:22Z 0aa8972 <job absent>
2026-09-22T14:20Z 0e121c9 skipped
2026-09-22T13:20Z 3bf9674 skipped
2026-09-22T12:01Z cb6b21c skipped
2026-09-22T11:19Z f079bc0 skipped

<job absent> is the workflow being startup-dead (#837). skipped before that
is the needs: chain into a failing Build Test Images. So the job was
unmeasured in both regimes, and neither state was red.

#842 cured the startup death and Build Test Images now passes, so the job ran
for the first time -- and failed. This is a first measurement of pre-existing
breakage, not a regression introduced by #842.

Acceptance criteria

  1. Start full stack succeeds: docker compose resolves its configuration
    file (name the file explicitly with -f, or set working-directory).
  2. Run E2E test suite executes -- conclusion is success, not skipped.
    A skipped step is not a pass.
  3. The job prints its denominator: how many E2E scenarios ran, and that the
    count is non-zero.
  4. A planted mutant (break one E2E assertion) turns End-to-End Tests red on a
    test failure, not on a stack-startup failure; reverting restores green.
  5. Integration Status (the rollup) goes green as a consequence, without being
    edited.

Notes

Integration Status is red only as the rollup of this job -- it loops job
results and exit 1s. It needs no separate fix and should not be weakened to
a warning; it is one of the few honest aggregators in this repo.

🤖 Generated with Claude Code

https://claude.ai/code/session_0113HQM9LVGkNCzU1WwkJZSV

Activity

  1. added
    bug
    on Sep 22, 2026
  2. hyperpolymath commented on Sep 22, 2026

    @hyperpolymath
    OwnerAuthor

    Closed by #852 (8e8943f). One note so the acceptance criteria are not recorded as silently reinterpreted.

    AC1 was withdrawn, not met. It asked that docker compose resolve its configuration file. The missing -f turned out to be the symptom, not the fault: deploy/ has no compose file, no compose file in the repo defines the hypatia service the job started, and the image it loaded is a CLI (ENTRYPOINT ["hyper"] / CMD ["--help"]) that listens on no port — so the job's only assertion, curl localhost:8080/health, could not have passed under any compose file. Repairing AC1 would have produced a running stack with no subject under test.

    The job also duplicated the name of the real suite: tests/e2e.sh, run by the passing e2e-elixir job, whose header reads "Tests the neurosymbolic scanner pipeline without docker-compose". So AC2–AC4 were met against the job that genuinely is End-to-End Tests:

    • AC2 — e2e-elixir and e2e-rust execute and conclude success today.
    • AC3 — the suite now prints its denominator and fails on zero. Post-merge on main: Scenarios run: 9. It previously ended exit "$FAIL", so an all-skipped run exited 0 reporting a clean pass having tested nothing.
    • AC4 — planted mutant (-gt 0 → -gt 99999 on the rule-module assertion): rc 2→3, PASS 7→6, FAIL: No rule modules found, denominator unchanged at 9 — a test failure, not a stack-startup failure. Reverting restored it.

    Fixed alongside, on the same lines: integration-status gated on 3 of 4 needs: and could not fail on skipped/cancelled/empty — under if: always() the likeliest path. It now reports ok=3 failed=0 total=3 on main.

  3. hyperpolymath commented on Sep 22, 2026

    @hyperpolymath
    OwnerAuthor

    Residue from this fix, now tracked: #853 — deleting e2e-tests removed the only caller of the integration/ compose tier, and that tier mounts integration/fixtures/mock-server-config from three services while the directory does not exist in git. Either revive it with a real fixture set and something that listens, or delete it; main is green either way.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions