Repository navigation
fix(cli): accept registered persistent names in health routing - #2165
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
🛫 PR Readiness Check
PR Scope: 📦🔧 Mixed (product + infrastructure)
|
| Status | Check | Details |
|---|---|---|
| ❌ | Single commit | 2 commits — consider squashing before review |
| ✅ | Not in draft | Ready for review |
| ✅ | Branch up to date | Up to date with dev |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | Changeset file found |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | No merge conflicts |
| ✅ | Copilot threads resolved | No Copilot review threads |
| ✅ | CI passing | All checks passing |
Files Changed (3 files, +38 −0)
| File | +/− |
|---|---|
.changeset/cli-health-persistent-routing.md |
+5 −0 |
packages/squad-cli/src/cli/commands/health.ts |
+6 −0 |
test/cli/health-command.test.ts |
+27 −0 |
Total: +38 −0
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
🟡 Impact Analysis — PR #2165Risk tier: 🟡 MEDIUM 📊 Summary
🎯 Risk Factors
📦 Modules Affectedroot (1 file)
squad-cli (1 file)
tests (1 file)
This report is generated automatically for every PR. See #733 for details. |
There was a problem hiding this comment.
🔵 Needs a closer look
Build/test validation and required pre-fix red/post-fix green regression proof remain unverified.
0 open findings
What changed in this PR
Fixes squad health routing validation so registered persistent names are accepted alongside registry IDs.
Changes:
- Adds normalized, nonempty persistent names to known routing references.
- Adds regression coverage using both a persistent name and a registry ID.
- Includes a CLI patch changeset.
| File | Description |
|---|---|
test/cli/health-command.test.ts |
Adds mixed-reference regression coverage. |
packages/squad-cli/src/cli/commands/health.ts |
Accepts registered persistent names in routing. |
.changeset/cli-health-persistent-routing.md |
Records the CLI patch release note. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Closes github#2165. Merge latest main after independently approved github#2164 standalone-auth workflow fix; no dev promotion or additional product changes. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Integrate only the approved technical changes from 90c5396, 2385cf7, 0e881f7 and 50e4b3a into the existing main-based 1.0.1 candidate for github#2166, without merging dev history. Resolve canonical conflicts surgically and regenerate package workflows, manifest and compiler-tamper fixtures from the combined main tree. Preserve the github#2165 health fix, root/SDK/CLI 1.0.1 lockstep and SDK floor. SDK runtime, NuGet and historical changesets remain untouched. Build and targeted contracts passed; current-head hosted CI and human review remain required before merge/publication. Closes github#2167 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* fix(cli): accept persistent names in health routes (#2165) Co-authored-by: brady gaster <bradygaster@github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> (cherry picked from commit d2364df) * chore(release): prepare surgical npm v1.0.1 patch Closes #2165. Consume only its approved CLI health patch changeset; preserve historical main fragments and unchanged SDK/NuGet source. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> * fix(release): include approved latest-stable activation correction Integrate only the approved technical changes from 90c5396, 2385cf7, 0e881f7 and 50e4b3a into the existing main-based 1.0.1 candidate for #2166, without merging dev history. Resolve canonical conflicts surgically and regenerate package workflows, manifest and compiler-tamper fixtures from the combined main tree. Preserve the #2165 health fix, root/SDK/CLI 1.0.1 lockstep and SDK floor. SDK runtime, NuGet and historical changesets remain untouched. Build and targeted contracts passed; current-head hosted CI and human review remain required before merge/publication. Closes #2167 Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: brady gaster <bradygaster@github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Co-authored-by: Copilot <Copilot@users.noreply.github.com>
…rough v1.0.1 (#2220) Drain all 76 pending .changeset/*.md fragments on dev into CHANGELOG.md: - Sync the [1.0.1] release entry from main (#2165, #2167) - Expand [1.0.0] and [0.13.1] with pre-release changesets that shipped in those releases - Populate [Unreleased] with post-1.0.1 changesets landed on dev - Remove consumed .changeset/*.md fragment files so scripts/check-changeset-drift.mjs --mode=fail exits 0 Closes #2180 Refs #1273 Co-authored-by: Copilot <Copilot@users.noreply.github.com> Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 5cf0811c-a02a-41a7-ab00-904b6900db7b
What
Fix
squad healthrouting validation to accept both registry IDs and registeredpersistent_namevalues. Includes regression coverage and a CLI patch changeset. Three files changed, no workflow or release changes.Why
Frontend research failed before the agent started because valid registered names such as
Frontend Leadwere rejected as unknown agents. Backend and queue succeeded because their names match registry IDs ignoring case.Failing run: https://github.com/octodemo/zava-social-frontend-002/actions/runs/37085867778
Working as cli-dev (CLI Engineer).
How
Add normalized nonempty persistent names to the existing known-reference set. Preserve registry ID support and unknown-reference failures. Regression fixture uses both
Frontend Leadand registry IDalpha.npx changeset add/.changeset/*.md, directCHANGELOG.mdentry for maintainers, orskip-changeloglabel for no user-facing changes)PR Readiness Checklist
Branch & Commit
dev(notmain)dev(git fetch upstream && git rebase upstream/dev)git diff --cached --stat)Build & Test
npm run buildpassesnpm testpasses (all tests green)npm run lintpasses (type check clean)npm run lint:eslintpassesExact local validation results (Microsoft npm proxy configured):
npm test -- --run test/cli/health-command.test.ts: blocked;vitestunavailable.$env:SKIP_BUILD_BUMP='1'; npm run build: blocked;tscunavailable.git diff --check origin/dev...HEAD: passed.Changeset
npx changeset add(ifpackages/squad-sdk/src/orpackages/squad-cli/src/changed)CHANGELOG.mdentry (maintainers only — write-protected for external contributors)skip-changeloglabel applied (if no user-facing changes)Changeset authored directly:
.changeset/cli-health-persistent-routing.md.Docs
Bug fix, not a new feature/module. User-facing release note is included in the changeset.
Exports
N/A: no SDK changes or new modules.
Breaking Changes
None.
Waivers
No merge waiver requested. Draft captures the bounded fix; build/test validation and regression proof remain required before merge. Publishing a patched CLI and updating the client version pin are not included.