Skip to content

fix: avoid load errors when running the release workflow. - #759

Merged
myronmarston merged 1 commit into
mainfrom
myron/fix-release-workflow
Aug 4, 2025
Merged

fix: avoid load errors when running the release workflow.#759
myronmarston merged 1 commit into
mainfrom
myron/fix-release-workflow

Conversation

@myronmarston

@myronmarston myronmarston commented Aug 4, 2025

Copy link
Copy Markdown
Collaborator

I just attempted to release ElasticGraph 1.0.0, and ran into load errors from the release workflow.

  • The initial run1 failed due to missing nokogiri.
  • After fixing that, the next run2 failed due to missing redcarpet and yard-markdown.

This adds the missing dependencies to the bundle used by the release workflow.

These failures are new because #708 updated the YARD build process to require some new dependencies.

I confirmed this fixes the issue by kicking off a dry-run3 of the release workflow against this branch.

Footnotes

  1. https://github.com/block/elasticgraph/actions/runs/16735183812/job/47372354735

  2. https://github.com/block/elasticgraph/actions/runs/16735490788/job/47373323857

  3. https://github.com/block/elasticgraph/actions/runs/16735601852

@CLAassistant

CLAassistant commented Aug 4, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

I just attempted to release ElasticGraph 1.0.0, and ran into load errors from the release workflow.

* The initial run[^1] failed due to missing `nokogiri`.
* After fixing that, the next run[^2] failed due to missing `redcarpet` and `yard-markdown`.

This adds the missing dependencies to the bundle used by the release workflow.

These failures are new because #708 updated the YARD build process to require some new dependencies.

[^1]: https://github.com/block/elasticgraph/actions/runs/16735183812/job/47372354735
[^2]: https://github.com/block/elasticgraph/actions/runs/16735490788/job/47373323857
@myronmarston
myronmarston force-pushed the myron/fix-release-workflow branch from c40da8e to b826e73 Compare August 4, 2025 22:23
@myronmarston
myronmarston marked this pull request as ready for review August 4, 2025 22:33
@myronmarston
myronmarston merged commit 00accfd into main Aug 4, 2025
18 of 19 checks passed
@myronmarston
myronmarston deleted the myron/fix-release-workflow branch August 4, 2025 22:43
myronmarston added a commit that referenced this pull request Aug 19, 2025
The release workflow has broken a couple times recently, and had to be
fixed up via #759 and #797. The fact that the workflow is only used when
we cut a release means that it does not run super often (and certainly
not part of the CI build for each PR!).

To help avoid breaking it in the future, I've added a new script,
`script/validate_release_workflow`, which validates the brittle part
of the release workflow, and I've integrated it into the CI build
so that a build will fail if a change would break the release workflow.
myronmarston added a commit that referenced this pull request Aug 19, 2025
The release workflow has broken a couple times recently, and had to be
fixed up via #759 and #797. The fact that the workflow is only used when
we cut a release means that it does not run super often (and certainly
not part of the CI build for each PR!).

To help avoid breaking it in the future, I've added a new script,
`script/validate_release_workflow`, which validates the brittle part
of the release workflow, and I've integrated it into the CI build
so that a build will fail if a change would break the release workflow.
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.

3 participants