Skip to content

Fix listed primary workspace fallback#636

Merged
chubes4 merged 2 commits into
mainfrom
fix/issue-635-listed-primary-resolution
Jun 12, 2026
Merged

Fix listed primary workspace fallback#636
chubes4 merged 2 commits into
mainfrom
fix/issue-635-listed-primary-resolution

Conversation

@chubes4

@chubes4 chubes4 commented Jun 12, 2026

Copy link
Copy Markdown
Member

Summary

  • Falls back from the remote workspace backend to local workspace discovery when workspace show hits an unregistered remote repo for a listed primary handle.
  • Applies the same fallback to workspace worktree add, preserving local worktree options after the remote registry miss.
  • Adds a pure-PHP smoke test for the wpcom-codebox listed-primary shape.

Fixes #635.

Verification

  • php tests/smoke-workspace-local-fallback.php
  • php tests/smoke-remote-workspace-backend.php
  • php tests/smoke-workspace-clone-ability-fallback.php
  • php -l inc/Abilities/WorkspaceAbilities.php
  • php -l tests/smoke-workspace-local-fallback.php
  • git diff --check

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Reproduced the resolver failure, drafted the fallback implementation and smoke coverage, and ran targeted verification. Chris remains responsible for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Homeboy Results — data-machine-code

Lint

lint — passed

ℹ️ Full options: homeboy docs commands/lint
ℹ️ Save lint baseline: homeboy lint data-machine-code --baseline
Deep dive: homeboy lint data-machine-code --changed-since 0d68ae0

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-lint-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-lint-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27390574935

Test

test — passed

ℹ️ Auto-fix lint issues: homeboy refactor data-machine-code --from lint --write
ℹ️ Collect coverage: homeboy test data-machine-code --coverage
ℹ️ Save test baseline: homeboy test data-machine-code --baseline
ℹ️ Pass args to test runner: homeboy test -- [args]
ℹ️ Full options: homeboy docs commands/test
Deep dive: homeboy test data-machine-code --changed-since 0d68ae0

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-test-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-test-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27390574935

Audit

audit — passed

Deep dive: homeboy audit data-machine-code --changed-since 0d68ae0

Artifacts and drill-down
  • CI results artifact: homeboy-ci-results-data-machine-code-audit-quality-Linux-node24 contains immediate command JSON for this action invocation.
  • Observation artifact: homeboy-observations-data-machine-code-audit-quality-Linux-node24 contains exported Homeboy run history for deeper queries.
  • Drill-down: download the observation artifact, then run homeboy runs import <dir>, homeboy runs list, and homeboy runs findings <run-id>.
  • Artifacts are attached to the workflow run: https://github.com/Extra-Chill/data-machine-code/actions/runs/27390574935
Tooling versions
  • Homeboy CLI: homeboy 0.228.13+73a0b06
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 33a9fc73
  • Action: unknown@unknown

…primary-resolution

# Conflicts:
#	inc/Abilities/WorkspaceAbilities.php
#	tests/smoke-workspace-local-fallback.php
@chubes4 chubes4 merged commit 97f137d into main Jun 12, 2026
5 checks passed
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.

workspace show/worktree add cannot resolve listed primary handle

1 participant