Skip to content

Fix local workspace reads when remote state exists#719

Merged
chubes4 merged 2 commits into
mainfrom
fix/715-local-read-routing-20260615
Jun 15, 2026
Merged

Fix local workspace reads when remote state exists#719
chubes4 merged 2 commits into
mainfrom
fix/715-local-read-routing-20260615

Conversation

@chubes4

@chubes4 chubes4 commented Jun 15, 2026

Copy link
Copy Markdown
Member

Summary

  • Prefer existing local workspace handles for read, ls, and grep when remote workspace state is enabled.
  • Fall back to local workspace reads when the remote backend reports an unregistered repo.
  • Expand local fallback smoke coverage for read/list/grep and load the resolver dependency in adjacent reader smoke tests.

Fixes #715.

Testing

  • php tests/smoke-workspace-local-fallback.php
  • php tests/smoke-workspace-list-directory.php
  • php tests/smoke-workspace-grep.php
  • php tests/smoke-workspace-clone-ability-fallback.php
  • php tests/smoke-remote-workspace-backend-filter.php
  • php -l inc/Abilities/WorkspaceAbilities.php
  • php -l tests/smoke-workspace-local-fallback.php
  • php -l tests/smoke-workspace-list-directory.php
  • php -l tests/smoke-workspace-grep.php

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode (GPT-5.5)
  • Used for: Diagnosed the workspace routing regression, drafted the implementation and smoke coverage, and ran local verification commands. Chris retains responsibility for review and merge.

@homeboy-ci

homeboy-ci Bot commented Jun 15, 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 ce6adc7

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/27547631006

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 ce6adc7

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/27547631006

Audit

audit — passed

  • audit — 13 finding(s)
  • Total: 13 finding(s)

Deep dive: homeboy audit data-machine-code --changed-since ce6adc7

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/27547631006
Tooling versions
  • Homeboy CLI: homeboy 0.229.11+94a6092
  • Extension: wordpress from https://github.com/Extra-Chill/homeboy-extensions
  • Extension revision: 63deaac6
  • Action: unknown@unknown

@chubes4 chubes4 merged commit e98ba5e into main Jun 15, 2026
5 checks passed
@chubes4 chubes4 deleted the fix/715-local-read-routing-20260615 branch June 15, 2026 12:59
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.

Fix local workspace read routing when remote workspace state exists

1 participant