Skip to content

fix(ci): check out the devkit in upstream-compat, not just the plugin - #61

Merged
omar-nahhas merged 1 commit into
mainfrom
fix/upstream-compat-checkout-devkit
Aug 5, 2026
Merged

omar-nahhas merged 1 commit into
mainfrom
fix/upstream-compat-checkout-devkit

Conversation

@omar-nahhas

Copy link
Copy Markdown
Contributor

The first real run of upstream-compat failed on all four legs:

Error: context must be a directory: ".../agent-zero-plugin-development-testkit/devcontainer"

The compat job checked out the plugin into plugin/ but never checked out the devkit itself, so devcontainer/Containerfile — referenced relative to the workspace root by the harness build — was not there.

This is exactly the path flagged as untested when the workflow was written, because it runs in the devkit's workspace rather than the consumer's and so differs from the proven plugin-e2e.yml body.

Order matters: a checkout without path cleans the workspace, so the devkit must be fetched before the plugin is placed in plugin/, or it would delete it.

The design held

The four failures were not plugin failures — the same four plugins passed against upstream in their own PRs minutes earlier. The report job failed loudly rather than reporting a vacuous pass, which is precisely the guard the deleted DEC-079 nightly lacked. A broken harness looked like a broken harness.

Re-dispatching after merge to prove the fix rather than assume it.

First real run failed on all four legs with
  context must be a directory: .../devcontainer

The compat job checked out the plugin into plugin/ but never checked out the
devkit itself, so devcontainer/Containerfile — which the harness build references
relative to the workspace root — was simply not there. This is the exact path the
author flagged as untested, since it differs from the proven plugin-e2e.yml body.

Order matters: a checkout without `path` cleans the workspace, so the devkit must
be fetched BEFORE the plugin is placed in plugin/, or it deletes it.

Worth noting the design held: the report job FAILED loudly rather than reporting a
vacuous pass, which is precisely the guard that DEC-079 nightly lacked.
@omar-nahhas
omar-nahhas merged commit 33f0ebd into main Aug 5, 2026
1 check passed
@omar-nahhas
omar-nahhas deleted the fix/upstream-compat-checkout-devkit branch August 5, 2026 10:11
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.

1 participant