Skip to content

fix(ci): drop dangling needs: test from java-e2e (unbreaks main)#240

Merged
v1r3n merged 1 commit into
mainfrom
fix/main-ci-needs
May 16, 2026
Merged

fix(ci): drop dangling needs: test from java-e2e (unbreaks main)#240
v1r3n merged 1 commit into
mainfrom
fix/main-ci-needs

Conversation

@v1r3n

@v1r3n v1r3n commented May 16, 2026

Copy link
Copy Markdown
Contributor

Summary

PR #239 added a java-e2e job to ci.yml with needs: [build-server, test]. test is the job name inside the separate ci-java-sdk.yml workflow, but GitHub Actions needs: only resolves jobs in the same workflow file. The dangling reference invalidates ci.yml as a whole:

This also blocks pull_request runs for the CI workflow on every PR until the underlying workflow file becomes valid again, so every open PR has degraded CI.

Change

Drop the dangling test dep from java-e2e.needs. The two workflows already run in parallel by being separate workflow files; build-server (the actual server-jar producer that java-e2e consumes) is the only real prerequisite from inside ci.yml.

Test plan

  • yaml.safe_load parses; 9 jobs, no broken needs: references.
  • After merge, the next push to main produces a multi-job CI run with CI displayed as the workflow name.

This is the same fix that's already on PR #238 (feat/pac-pae, commit bf362224). Landing it here unblocks every open PR immediately rather than waiting for the larger PAC/PAE branch to land.

PR #239 added a ``java-e2e`` job to ``ci.yml`` with
``needs: [build-server, test]``. ``test`` is the job name inside the
separate ``ci-java-sdk.yml`` workflow, but ``needs:`` in GitHub Actions
only resolves jobs in the *same* workflow file. The dangling reference
invalidated ``ci.yml`` as a whole: every push to main produced a 0-job
failure run with the workflow name displayed as
``.github/workflows/ci.yml`` (the file path) instead of ``CI``, and the
push-event runs at
https://github.com/agentspan-ai/agentspan/actions/runs/25955164702 (and
many others since 3f748c5) failed instantly.

The two workflows already run in parallel by virtue of being separate
workflow files. Drop the dangling ``test`` dep; ``build-server`` (the
actual server-jar producer that java-e2e consumes) is the only
real prerequisite from inside ``ci.yml``.

This is the same fix that's already on PR #238 (feat/pac-pae, commit
bf36222); landing it on main unblocks every other open PR's CI run
immediately rather than waiting for the larger PAC/PAE branch to land.
@v1r3n v1r3n merged commit 9d187ac into main May 16, 2026
8 of 9 checks passed
@v1r3n v1r3n deleted the fix/main-ci-needs branch May 16, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant