Skip to content

Restore the e2e test bodies removed in #441 - #491

Merged
ling-senpeng13 merged 2 commits into
mainfrom
fix/restore-e2e-tests-removed-in-441
Aug 14, 2026
Merged

Restore the e2e test bodies removed in #441#491
ling-senpeng13 merged 2 commits into
mainfrom
fix/restore-e2e-tests-removed-in-441

Conversation

@ling-senpeng13

@ling-senpeng13 ling-senpeng13 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

#441 deleted four test functions along with the cli_credentials conftest fixture, leaving suites 2 and 3 collecting nothing and suites 4 and 5 unable to run.

Restored verbatim, with one substantive change: credentials now go through the server's /api/secrets REST API instead of shelling out to the agentspan CLI.

suite tests collected Orkes conductor-oss
2 · tool_calling 0 → 1 pass skip — store read-only
3 · cli_tools 0 → 1 pass skip at the credential write
4 · mcp_tools 1 → 2 pass pass
5 · http_tools 1 → 2 pass pass

Suites 4 and 5 adopt a pre-provisioned credential when the store is read-only, so their authenticated phases run on conductor-oss too. Suites 2 and 3 set and then update values, which requires a writable store, so they skip there with a message naming the cause.

Also: suite 3's whitelist checks moved ahead of the credential write (they need no store, and were otherwise stranded behind the skip), and suite 4 gains an assertion that a tool result the model cannot invent appears in the answer.

test_suite16_cli_skills.py was also removed by #441 — intentionally, so not restored.

@ling-senpeng13
ling-senpeng13 marked this pull request as ready for review August 13, 2026 23:31
@ling-senpeng13 ling-senpeng13 self-assigned this Aug 13, 2026

@manan164 manan164 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please fix the flaky test

#441 deleted four test functions along with the cli_credentials conftest
fixture, leaving suites 2 and 3 collecting nothing and suites 4 and 5 unable
to run.

Restored verbatim, with one substantive change: credentials now go through the
server's /api/secrets REST API instead of shelling out to the agentspan CLI.
The CLI targeted /api/credentials, which only Orkes serves (404 on
conductor-oss) — that was the sole reason these suites could not run there.
They now run on both, and need no conftest fixture.

  suite            collected   Orkes   conductor-oss
  2 tool_calling   0 -> 1      pass    skip (store read-only)
  3 cli_tools      0 -> 1      pass    skip at the credential write
  4 mcp_tools      1 -> 2      pass    pass
  5 http_tools     1 -> 2      pass    pass

Suites 4 and 5 adopt a pre-provisioned credential when the store is read-only,
so their authenticated phases run on conductor-oss too. Suites 2 and 3 set and
then update values, which requires a writable store, so they skip there with a
message naming the cause.

Also: suite 3's whitelist checks moved ahead of the credential write (they need
no store, and were otherwise stranded behind the skip), and suite 4 gains an
assertion that a tool result the model cannot invent appears in the answer.

test_suite16_cli_skills.py was also removed by #441 — intentionally, so not
restored.
@ling-senpeng13
ling-senpeng13 force-pushed the fix/restore-e2e-tests-removed-in-441 branch from d9a3d26 to 50045a9 Compare August 14, 2026 16:17
conductor-oss serves secrets from the server process environment and rejects
writes, so a suite that consumes a credential can only get one if it is set at
boot. CI started the server bare, so suites 4 and 5 self-skipped their
authenticated phases even though the behaviour they cover works there.

Verified against the same configuration CI uses — bare 3.32.0-rc18, fresh DB,
only these two variables set: 4 passed, 0 skipped (previously both suites
skipped).

Suites 2 and 3 still skip, and cannot be fixed this way: suite 2 sets and then
updates a credential, and suite 3 removes one before adding it back, so both
need a mutable store rather than a pre-provisioned value. Suite 3 additionally
needs a real GITHUB_TOKEN.
@ling-senpeng13

Copy link
Copy Markdown
Contributor Author

Please fix the flaky test

Rebase the mainline and rerun the test to fix the integration tests

@ling-senpeng13
ling-senpeng13 merged commit a24c4da into main Aug 14, 2026
10 of 11 checks passed
@ling-senpeng13
ling-senpeng13 deleted the fix/restore-e2e-tests-removed-in-441 branch August 14, 2026 17:51
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.

2 participants