Add managed harness source alias#257
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (9)
📝 WalkthroughWalkthroughThe deploy CLI, cloud deploy flow, and subscription validation now accept ChangesManaged harness-source rollout
Sequence Diagram(s)sequenceDiagram
participant User
participant parseDeployArgs
participant expectHarnessSourceFlag
participant resolveHarnessSource
participant ensureHarnessReady
participant providerCredentialsManaged
User->>parseDeployArgs: `--harness-source plan`
parseDeployArgs->>expectHarnessSourceFlag: validate flag value
expectHarnessSourceFlag-->>parseDeployArgs: normalize to `managed`
parseDeployArgs->>resolveHarnessSource: pass `harnessSource: managed`
resolveHarnessSource->>ensureHarnessReady: select canonical managed source
ensureHarnessReady->>providerCredentialsManaged: save `relay_managed`
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Code Review
This pull request renames the --harness-source option value plan to managed across the CLI and deployment packages, while retaining plan as a legacy alias. It updates the CLI argument parser, normalization logic, environment variable handling, and associated tests to ensure backward compatibility. I have no feedback to provide as there are no review comments and the implementation is clean and well-tested.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
affca28 to
b45a7d4
Compare
|
ℹ️ pr-reviewer: review only — no file changes were applied to the PR (nothing to commit after review). The notes below are advisory and were not pushed. I made no edits — the PR is clean, internally consistent, and passes the full CI sequence. Here is my review. SummaryPR #257 renames the cloud harness credential source I traced Findings (all clear)
CI verification (with PR changes in working tree)
Addressed comments
Advisory Notes
This PR is internally consistent and passes the full CI command locally. I cannot confirm the live GitHub check/merge-conflict status from this sandbox, so I'm not declaring it human-ready on that basis. |
|
ℹ️ pr-reviewer: review only — no file changes were applied to the PR (nothing to commit after review). The notes below are advisory and were not pushed. These matches are coincidental (e.g. "HarnessSource" substring or unrelated). The My review is complete. Here is the summary. Review: PR #257 — Add managed harness source aliasSummaryThis PR renames the canonical cloud harness credential source from
VerificationInstalled dependencies and ran the canonical CI commands (
Traced FindingsNo blocking issues. No semantic/safety defaults changed. No mechanical fixes were needed — the diff is clean (lint/typecheck/tests all green), so I made no edits to the working tree. One minor observation, advisory only (not changed): Advisory Notes
Addressed comments
The PR is mechanically sound and fully green in the build/test commands CI runs. It has no human review yet and the remaining merge decision (accepting the |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
managedharness source spelling for the workforce-managed/relay_managed credential pathplanaccepted at CLI/env/resolver boundaries and normalize it tomanagedmanagedVerification
pnpm --filter @agentworkforce/deploy testpnpm --filter @agentworkforce/cli testpnpm testpnpm typecheckpnpm lintgit diff --checkNote: local
pnpm install --frozen-lockfilewas needed first because node_modules had stale/missing workspace dependencies; it completed without lockfile changes.