Skip to content

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

Open
ling-senpeng13 wants to merge 1 commit into
mainfrom
fix/restore-e2e-tests-removed-in-441
Open

Restore the e2e test bodies removed in #441#491
ling-senpeng13 wants to merge 1 commit 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
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