Skip to content

ci(publish): add @agent-assistant/cloudflare-runtime to runtime-core matrix#58

Merged
khaliqgant merged 2 commits intomainfrom
chore/publish-yml-add-cloudflare-runtime
Apr 25, 2026
Merged

ci(publish): add @agent-assistant/cloudflare-runtime to runtime-core matrix#58
khaliqgant merged 2 commits intomainfrom
chore/publish-yml-add-cloudflare-runtime

Conversation

@khaliqgant
Copy link
Copy Markdown
Member

@khaliqgant khaliqgant commented Apr 25, 2026

Summary

Adds @agent-assistant/cloudflare-runtime (newly published as 0.1.0 manually) to the runtime-core matrix in publish.yml so future version bumps are automated alongside the rest of the package wave.

Changes

  1. PACKAGES array in the resolve-packages job: appended cloudflare-runtime after webhook-runtime. cloudflare-runtime depends on webhook-runtime types, so the existing max-parallel: 1 matrix ordering preserves the dependency chain at publish time.
  2. ORDER array in the dependency-aware build step: appended cloudflare-runtime at the end of the topological sort.

Verification done locally

  • cloudflare-runtime has scripts.test (vitest run) so the publish workflow's test step picks it up automatically.
  • cloudflare-runtime has tsconfig.json so the typecheck step picks it up via the tsc --noEmit fallback.
  • No prepack hook needed: the publish job's "Restore package artifacts" step copies the dist from the build job's artifact.

First automated bump after this lands will turn 0.1.0 into 0.1.1 (or whatever the workflow input selects).


Open in Devin Review

…matrix

Adds the new cloudflare-runtime package (currently published manually
as 0.1.0) to the publish.yml runtime-core group so future bumps are
automated.

Two updates:

1. PACKAGES array in resolve-packages job — appended cloudflare-runtime
   AFTER webhook-runtime (cloudflare-runtime depends on webhook-runtime
   types so the existing max-parallel: 1 ordering preserves the
   dependency chain at publish time).

2. ORDER array in 'Build packages in dependency-aware order' step —
   appended cloudflare-runtime at the end of the topological sort.

No other changes:
- cloudflare-runtime has scripts.test (vitest run) so the test step
  picks it up automatically.
- cloudflare-runtime has tsconfig.json so the typecheck step picks it
  up via the tsc --noEmit fallback.
- cloudflare-runtime has no prepack hook today; the 'Restore package
  artifacts' step in the publish job copies the dist from the build
  job's artifact, so prepack is not required.

First automated bump will turn 0.1.0 into 0.1.1 (or whatever the input
selects).
devin-ai-integration[bot]

This comment was marked as resolved.

…ok-runtime so cloudflare-runtime tests resolve their workspace deps

Devin Review on PR #58 caught: cloudflare-runtime tests import from
@agent-assistant/surfaces, @agent-assistant/continuation, and
@agent-assistant/webhook-runtime. Those packages' package.json exports
point at dist/ which is not committed. The publish workflow's test
step runs BEFORE the full dependency-aware build step, so vitest
would fail to resolve the imports.

Extends the pre-test pre-build step to cover the full dep closure:
surfaces, specialists, continuation, webhook-runtime (in topological
order, on top of the existing harness chain).

Verified locally — npm run build -w @agent-assistant/cloudflare-runtime
succeeds after the chain runs.
@khaliqgant khaliqgant merged commit 3b9a881 into main Apr 25, 2026
1 check passed
@khaliqgant khaliqgant deleted the chore/publish-yml-add-cloudflare-runtime branch April 25, 2026 09:18
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