Repository navigation
Pull requests build the app in debug; the release build runs on main only - #304
Merged
Merged
Conversation
…only The release build is whole-module, so it cannot be incremental: it took 14 to 26 minutes on every pull request while the rest of ci finished in about ten, and nothing a pull request changes needs it before it merges. - `build` (required, so it keeps running on pull requests) now compiles the app in debug, which is incremental on the cache main saves, bundles it, and runs the appcast and tutor checks on that bundle. text-check reads its log. - `release-build` runs on pushes to main only: the same `mise run bundle` as before, saving the release .build under its own cache name. release.yml restores that one (`cache: release`), so a release still starts from main's release build. - The release workflow builds the release again before it publishes, so a release-only break cannot ship; it now shows on the merge instead of on the pull request. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agreed with the owner in chat. The release build is whole-module, so pinned file times (#301) cannot make it incremental. It took 14 to 26 minutes on every pull request, longer than the rest of ci together.
Changes
build(a required check, so it still runs on pull requests) compiles the app in debug, which is incremental on the cache main saves. It bundles withscripts/bundle.sh debug, then runs the appcast and tutor checks on that bundle.text-checkreads its log, which covers HeedCore, the helper and the app.release-buildis new and runs on pushes to main only: the samemise run bundle, saving its.buildunder its own cache name and pruning old ones.release.ymlrestores that cache (cache: release), so a release still starts from main's release build. It builds the release again before it publishes, so a release-only break cannot ship; it now shows on the merge instead of on the pull request.Not verified
release-buildis not in the branch protection list (build,docs,test) and a failure there does not block anything.🤖 Generated with Claude Code