Skip to content

chore(deploy): deploy the Harness Worker when a merge changes it - #465

Merged
harlan-zw merged 1 commit into
mainfrom
chore/deploy-harness-on-merge
Oct 6, 2026
Merged

harlan-zw merged 1 commit into
mainfrom
chore/deploy-harness-on-merge

Conversation

@harlan-zw

Copy link
Copy Markdown
Collaborator

🔗 Linked issue

Related to #462

❓ Type of change

  • 📖 Documentation
  • 🐞 Bug fix
  • 👌 Enhancement
  • ✨ New feature
  • 🧹 Chore
  • ⚠️ Breaking change

📚 Description

The skilld-harness-proof Worker deployed only by hand. Each Skillgen change shipped the site on merge, but the Worker kept its old version until someone ran the workflow with target=harness-proof. #462 is waiting on that now.

After a main push passes Test and the site deploys, the harness-proof job now deploys the Worker when the merged commit changed workers/skill-harness/, pnpm-workspace.yaml, pnpm-lock.yaml, or this workflow. It runs after the site, because the Worker calls site routes that the same merge may add. Merges that change none of those skip the deploy, because a new version restarts containers and a Skillgen job may be running in one. Dispatching with target=harness-proof still deploys by hand.

This PR changes the workflow, so its own merge deploys the Worker and ships #462.

🤖 AI disclosure: Harlan Agent Kit modified this description. My AI open-source policy.

The skilld-harness-proof Worker deployed only by hand, so merged Skillgen
changes sat undeployed until someone dispatched the workflow. After a main
push passes Test and the site deploys, the workflow now deploys the Worker
when the merge changed it, its dependencies, or the deploy workflow.

Unchanged merges skip it, because a new version restarts containers and a
Skillgen job may be running in one.
@harlan-zw harlan-zw added the harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. label Oct 6, 2026
@harlan-github-agent harlan-github-agent Bot added harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit. and removed harlan-agent-review Pull request triage requires an adversarial Review. Adding this label manually always forces one. labels Oct 6, 2026
@harlan-zw
harlan-zw merged commit 045dea4 into main Oct 6, 2026
6 checks passed
@harlan-zw
harlan-zw deleted the chore/deploy-harness-on-merge branch October 6, 2026 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

harlan-agent-review-required Pull request triage requires an adversarial Review for this head commit.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant