Repository navigation
🍒 [v1.207] test(maestro): fail Jira pre_run with a clear message when the connection is missing - #4873
Merged
rockymadden merged 1 commit intoNov 18, 2026
Conversation
…tion is missing (#4509) * test(maestro-flow): fail Jira pre_run with a clear message when the connection is missing Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * test(maestro): fail Jira pre_run clearly on a missing connection in the bpmn copies too Keep MissingConnection after connection_id() so the shared issue-type block stays identical across copies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * fix(tests): say environment failure in Jira setup missing-connection message Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(tests): name the fix for a missing Jira connection; surface list failures Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> * fix(tests): surface a failed Jira folder lookup Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
github-actions
Bot
requested review from
a team,
dmetzgar and
tmatup
as code owners
November 17, 2026 21:15
roberts-cliff
approved these changes
Nov 17, 2026
roberts-cliff
approved these changes
Nov 17, 2026
roberts-cliff
left a comment
Contributor
There was a problem hiding this comment.
Cherry-pick reviewed — diff matches source. LGTM.
dmetzgar
approved these changes
Nov 17, 2026
rockymadden
deleted the
fix-flow-jira-setup-missing-connection-CP-to-release-v1-207
branch
November 18, 2026 14:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Failures fixed
Studio Web run 14132106, pre_run
_setup/seed_jira.pycrashed with a bareStopIterationfor skill-flow-ipe-jira-create-issue, -ipe-jira-get-issue, -jira-lifecycle and -jira-search-triage. The bpmnjira_create_issueandjira_get_issuecopies share the same bug.Root cause
connection_id()in each task's_setup/jira_is.pyended innext(c["Id"] for c ...). With theuipath-atlassian-jiraconnection absent from the folder, the generator was empty and the traceback gave no hint it was a tenant problem.Change
connection_id()raisesMissingConnectionnaming connector, connection and folder.require_connection(), used by eachseed_jira.py, exits 1 with thepreflight_connections.pywording ("environment failure, not an agent failure ... Create the connection (or rename it) ...").or folders getandconnections listfailures (e.g. a missing folder, 401) raise aRuntimeErrorwith the envelope summary in all six copies..MissingConnectionsits afterconnection_id(), outside the issue-type block thattest_every_jira_helper_copy_resolves_the_issue_type_the_same_waycompares across copies.connection_id(), so itsexcept Exceptionkeeps swallowing the error.escalation_jira_ticketcopies already exit with a message; unchanged. No grading change._setup/dir, so they cannot import_shared; each copy is fixed the same way.Verify
python3 -m pytest tests/tasks/uipath-maestro-flow/e2e/test_jira_setup_missing_connection.py tests/tasks/uipath-maestro-bpmn/e2e/escalation_jira_ticket/test_jira_is.py -q(29 pass). Reverting one copy turns its cases red.Not verified
Not run against a live tenant or in Studio Web. Open PR #4380 edits the same files; merge order may need a conflict resolution.
Out of scope:
escalation_jira_ticket(flow and BPMN)seed.pystill calls rawconnection_id(); the six copies stay per-task by design.🤖 Generated with Claude Code
Automatically cherry-picked from #4509 to
release/v1.207by @rockymadden.