ci(smoke): authenticate guardrail CLI against Alpha - #2227
Conversation
|
Claude finished @apetraru-uipath's task in 2m 47s —— View job PR Review: ci(smoke): authenticate guardrail CLI against Alpha
SummaryReplaces the smoke workflow's inline Change-by-Change Review1.
|
| Area | Status | Notes |
|---|---|---|
| Frontmatter | N/A | No skill files changed |
| E2E Tests | N/A | No test files changed |
| Skill Body | N/A | No skill files changed |
| References & Assets | N/A | No reference or asset files changed |
| Repo Hygiene | OK | No secrets, tokens, or personal paths. Change is scoped to the workflow file. Nightly parity confirmed. |
Issues for Manual Review
- Verify that the
UIPATH_ROPC_CLIENT_ID,UIPATH_ROPC_CLIENT_SECRET,UIPATH_BOT_USERNAME, andUIPATH_BOT_PASSWORDsecrets are configured in the repository's Actions settings (they are already used by the nightly workflow, so this should be the case). - Confirm the
TRACES_SMOKE_PROCESS_KEYenv var is still reachable by smoke tasks that need it — it was previously exported to$GITHUB_ENVby the old auth step but is no longer. Thesmoke.yamlexperiment passes it through viaenv_passthrough_extra(line 28), so it would need to be in the runner's environment. The "Run smoke tests" step doesn't set it in itsenv:block. If any smoke-tagged task references this variable, it will be empty. (The traces tasks appear to bee2e-tagged, notsmoke, so this is likely fine.)
Conclusion
Clean, well-motivated change that aligns the smoke workflow with the proven nightly ROPC flow. The diff is a net simplification and the preflight assertion is a good practice. Approve — the two advisory notes about stale smoke.yaml passthrough entries and stale redaction targets are low-priority cleanup, not blockers.
|
f1b0e49 to
9b9ae77
Compare
Code review — multi-model (Gemini 3 · GPT-5.3-Codex · Opus)Reviewed the auth-strategy swap in 🔴 Blockers (secret hygiene — both cheap to fix)1. Minted token is no longer masked, and the fail-fast prints CLI auth state to the run log 2. Report-redaction step scrubs a var that no longer exists, and misses the one that does 🟡 Low — cleanup / follow-ups
✅ False positive discarded
👍 Positives (all three reviewers)
VerdictSolid, well-motivated refactor that fixes the guardrail 401s and simplifies the step. Recommend addressing the two secret-hygiene blockers before merge; the rest are low-priority cleanups. 🤖 Multi-model review via |
What changed?
uip login statusanduip agent guardrails listsucceed.This PR changes only
.github/workflows/smoke-skills.yml. It does not modify tests, task definitions, guardrail skills, review skills, docs, or Maestro files.Why?
The previous service-account token could authenticate successfully but lacked the user-only access required by the
agentsruntime_guardrail definitions endpoint, causing guardrail catalog/list calls to return 401. The Alpha bot-user flow includes the required user scopes and was validated by the live pipeline on #2219.How has this been tested?
git diff --checkpasses.tests/scriptsbaseline: 94 passed.Are there any breaking changes?