Skip to content

Separate workflow helpers from release assets - #1892

Merged
chubes4 merged 1 commit into
mainfrom
fix/1891-workflow-helper-ref
Jul 20, 2026
Merged

Separate workflow helpers from release assets#1892
chubes4 merged 1 commit into
mainfrom
fix/1891-workflow-helper-ref

Conversation

@chubes4

@chubes4 chubes4 commented Jul 20, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • add an optional immutable wp_codebox_workflow_ref for reusable-workflow helper scripts
  • preserve wp_codebox_release_ref exclusively for packaged runtime release assets and version validation
  • default helper selection to the release tag for existing consumers

Root cause

A reusable workflow invoked at an accepted commit checked its helper scripts back out from the older release tag. Accepted helper fixes therefore never executed until a full packaged release, despite the caller pinning the workflow commit.

Reproductions:

How to test

  1. Run npm run test:agent-task-workflow-interface.
  2. Run npm run test:agent-task-contracts.
  3. Run actionlint .github/workflows/*.yml.
  4. Confirm a consumer with matching full uses and wp_codebox_workflow_ref SHAs plus release tag wp_codebox_release_ref passes contract validation.
  5. Confirm a consumer omitting wp_codebox_workflow_ref still checks helpers out from its release tag.

Compatibility

This is an additive reusable-workflow input. Existing consumers retain release-tag helper behavior. Consumers opting into an accepted helper commit can execute workflow fixes without changing packaged runtime assets.

Closes #1891

AI assistance

  • AI assistance: Yes
  • Tool(s): OpenCode with GPT-5.6-sol
  • Used for: Diagnosed the hosted helper override and implemented the additive interface, validation, tests, and documentation with Chris reviewing and owning the change.

@chubes4
chubes4 merged commit a6fe2d2 into main Jul 20, 2026
4 checks passed
@chubes4
chubes4 deleted the fix/1891-workflow-helper-ref branch July 20, 2026 12:13
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.

Separate reusable workflow helper revision from packaged release ref

1 participant