feat(config): add workspace.deferPublish to skip publishers on release#583
Merged
Conversation
There was a problem hiding this comment.
Benchmark
Details
| Benchmark suite | Current: 74c68d6 | Previous: 0b5fe57 | Ratio |
|---|---|---|---|
version_files/toml_read |
8130 ns/iter (± 59) |
8489 ns/iter (± 791) |
0.96 |
version_files/toml_write |
183557 ns/iter (± 19643) |
132036 ns/iter (± 10286) |
1.39 |
version_files/json_read |
5522 ns/iter (± 41) |
5314 ns/iter (± 69) |
1.04 |
version_files/json_write |
137826 ns/iter (± 25747) |
130851 ns/iter (± 8755) |
1.05 |
version_files/xml_read |
5164 ns/iter (± 46) |
5140 ns/iter (± 16) |
1.00 |
version_files/xml_write |
129313 ns/iter (± 9980) |
138826 ns/iter (± 18123) |
0.93 |
version_files/gradle_read |
5028 ns/iter (± 58) |
4981 ns/iter (± 37) |
1.01 |
version_files/gradle_write |
129980 ns/iter (± 9352) |
128857 ns/iter (± 12186) |
1.01 |
This comment was automatically generated by workflow using github-action-benchmark.
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 74c68d6 | Previous: 0b5fe57 | Ratio |
|---|---|---|---|
version_files/toml_write |
183557 ns/iter (± 19643) |
132036 ns/iter (± 10286) |
1.39 |
This comment was automatically generated by workflow using github-action-benchmark.
This was referenced Jun 16, 2026
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.
@
What
Adds
workspace.deferPublish(bool, defaultfalse). Whentrue,ferrflow releaseskips the inline publisher phase;ferrflow publishstill runs the publishers regardless.Why
Publishers run at the end of
ferrflow release, inside whatever job runs the release. When that job is minimal (no docker buildx / helm / built npmdist/), repos had to keep a separate config file forferrflow publishso the release run wouldn't try to publish and fail. That two-file split is awkward. WithdeferPublish: true, a repo keeps one.ferrflow(publishers + the flag):releaseversions/tags, and a separateferrflow publishjob (with the toolchain) publishes.Notes
false→ existing behaviour unchanged (publishers run on release, as Kit relies on).ferrflow publishignores the flag.Verification
Unit tests (parse + default). Functional check in a temp repo:
ferrflow --dry-run releasewithdeferPublish: trueshows no publisher output, whileferrflow --dry-run publishruns them. Full suite + clippy green; schema mirrored to FerrFlow-Cloud.Closes #582
@