kettle-dev 3.1.21 → 3.1.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c9043ae44ad729962dd0ba6a5712631073657cc9e4848bfccf1f3f4a0194bb41
4
- data.tar.gz: 1c390e3cd5dcac0f01174ffbe3dda37e43f7ce717a69da3048990ea8b6b3df82
3
+ metadata.gz: 9049938008b29a89054f9b3e963f5107af4cc764ee4aa35b7a4e3bced54f992e
4
+ data.tar.gz: 953b52a98be4f8078ae31a6c740898c9e8cf2d041b50481d9f26f15e36a33437
5
5
  SHA512:
6
- metadata.gz: 2789ca967cc4a7359a710873f544a33fdc348f0b6d0c0d3c06341da4ee4aa5bf3076c1b29cb66ecc0f64aba7efe203c80986e3248d4e5e11cc02913ec976926d
7
- data.tar.gz: 369f86160601aac061a012ee9aec052d8377e084ad57d51d6f827a3180b5386360324df32be5ac752df7fb8047a347e23b62e3513be5d388a6451486424ef141
6
+ metadata.gz: 567e15c0dcb27db365e51ca1257e009446b3f46398234de84db23c171c7d8b8cdf57e137fbeedc04f91113a176d18f550773a76f02f0f8767234464d8fea2c37
7
+ data.tar.gz: c73d00e81d717387117983f47751bf96d6c04d0206dbf6f204410258821ff17ae5075ab1a796e2342520a8e2f4423aa3efba171a4898fa5cfc74239e44bc39cf
checksums.yaml.gz.sig CHANGED
Binary file
data/CHANGELOG.md CHANGED
@@ -30,6 +30,28 @@ Please file a bug if you notice a violation of semantic versioning.
30
30
 
31
31
  ### Security
32
32
 
33
+ ## [3.1.23] - 2026-10-22
34
+
35
+ - TAG: [v3.1.23][3.1.23t]
36
+ - COVERAGE: 91.74% -- 5810/6333 lines in 48 files
37
+ - BRANCH COVERAGE: 75.81% -- 2238/2952 branches in 48 files
38
+ - 53.70% documented
39
+
40
+ ### Fixed
41
+
42
+ - kettle-release: publish-boundary lockfile revalidation no longer commits, pushes, or re-triggers CI from a detached checkout. Family member publishes run in a detached worktree the family orchestrator owns end-to-end (branch state, CI validation, tags, GitHub release), and a bare detached HEAD has no branch to push; lockfile drift now stays local to the checkout in both topologies instead of dying in validation-PR creation against a literal HEAD ref. See https://github.com/kettle-dev/kettle-dev/issues/52
43
+
44
+ ## [3.1.22] - 2026-10-21
45
+
46
+ - TAG: [v3.1.22][3.1.22t]
47
+ - COVERAGE: 91.34% -- 5780/6328 lines in 48 files
48
+ - BRANCH COVERAGE: 75.56% -- 2229/2950 branches in 48 files
49
+ - 53.70% documented
50
+
51
+ ### Fixed
52
+
53
+ - Release now detects tracked lockfile changes from the final dependency upgrade, commits them and reruns CI before publication, and refreshes build lockfile snapshots to use the validated versions. Unchanged lockfiles proceed without another CI run.
54
+
33
55
  ## [3.1.21] - 2026-10-21
34
56
 
35
57
  - TAG: [v3.1.21][3.1.21t]
@@ -4211,7 +4233,11 @@ Please file a bug if you notice a violation of semantic versioning.
4211
4233
  - Selecting will run the selected workflow via `act`
4212
4234
  - This may move to its own gem in the future.
4213
4235
 
4214
- [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.21...HEAD
4236
+ [Unreleased]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.23...HEAD
4237
+ [3.1.23]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.22...v3.1.23
4238
+ [3.1.23t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.23
4239
+ [3.1.22]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.21...v3.1.22
4240
+ [3.1.22t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.22
4215
4241
  [3.1.21]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.20...v3.1.21
4216
4242
  [3.1.21t]: https://github.com/kettle-dev/kettle-dev/releases/tag/v3.1.21
4217
4243
  [3.1.20]: https://github.com/kettle-dev/kettle-dev/compare/v3.1.19...v3.1.20
data/README.md CHANGED
@@ -1084,7 +1084,7 @@ Thanks for RTFM. ☺️
1084
1084
  [📌gitmoji]: https://gitmoji.dev
1085
1085
  [📌gitmoji-img]: https://img.shields.io/badge/gitmoji_commits-%20%F0%9F%98%9C%20%F0%9F%98%8D-34495e.svg?style=flat-square
1086
1086
  [🧮kloc]: https://www.youtube.com/watch?v=dQw4w9WgXcQ
1087
- [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.314-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1087
+ [🧮kloc-img]: https://img.shields.io/badge/KLOC-6.333-FFDD67.svg?style=for-the-badge&logo=YouTube&logoColor=blue
1088
1088
  [🔐security]: https://github.com/kettle-dev/kettle-dev/blob/main/SECURITY.md
1089
1089
  [🔐security-img]: https://img.shields.io/badge/security-policy-259D6C.svg?style=flat
1090
1090
  [📄copyright-notice-explainer]: https://opensource.stackexchange.com/questions/5778/why-do-licenses-such-as-the-mit-license-specify-a-single-year
@@ -828,10 +828,48 @@ module Kettle
828
828
  reset_release_lockfiles!(stage: "before publish tasks")
829
829
  validate_release_lockfiles!(stage: "before publish tasks")
830
830
  prepare_release_lockfiles_for_release_tasks!
831
+ revalidate_publish_lockfile_changes! unless changed_release_lockfile_paths.empty?
832
+ # Setup may already have cached task snapshots before a newer matching
833
+ # release became available. Build against the final canonical locks.
834
+ cleanup_release_task_lockfile!
831
835
  materialize_release_lockfiles_for_release_tasks!
832
836
  @release_lockfiles_normalized_before_publish = true
833
837
  end
834
838
 
839
+ def revalidate_publish_lockfile_changes!
840
+ # Release checkout topology: a family member publish runs in a
841
+ # detached worktree owned end-to-end by the family orchestrator (trunk
842
+ # sync, branch pushes, CI validation, tags, and the GitHub release all
843
+ # happen on the primary checkout), and a bare detached HEAD has no
844
+ # branch to push either. Committing or pushing branch state from here
845
+ # is void-to-meaningless (the worktree is deleted after the run), so
846
+ # drift stays local to this checkout; the built gem does not embed the
847
+ # development lockfile.
848
+ if family_member_publish? || detached_head?
849
+ puts "Release lockfiles changed before publication; keeping updates local to this checkout (no release branch to push)."
850
+ return
851
+ end
852
+
853
+ puts "Release lockfiles changed before publication; committing updates and rerunning CI."
854
+ ensure_git_user!
855
+ abort("Failed to commit updated release lockfiles.") unless commit_bundle_update!
856
+ validate_release_lockfiles!(stage: "after publish lockfile update")
857
+
858
+ if local_ci?
859
+ maybe_run_local_ci_before_push!(true, force: true)
860
+ else
861
+ trunk = detect_trunk_branch
862
+ feature = current_branch
863
+ ensure_trunk_synced_before_push!(trunk, feature) unless branch_stack_release_branch?(feature, trunk)
864
+ push!
865
+ monitor_workflows_after_push!
866
+ end
867
+ end
868
+
869
+ def detached_head?
870
+ current_branch == "HEAD"
871
+ end
872
+
835
873
  # Resetting can select a platform-specific artifact that is not installed
836
874
  # in the invoking development bundle. Materialize every canonical release
837
875
  # bundle before a release gate runs `bundle exec`. Use a disposable copy:
@@ -5,7 +5,7 @@ module Kettle
5
5
  # Version namespace for this gem.
6
6
  module Version
7
7
  # Current gem version.
8
- VERSION = "3.1.21"
8
+ VERSION = "3.1.23"
9
9
  end
10
10
  # Current gem version exposed at the traditional constant location.
11
11
  VERSION = Version::VERSION # Traditional Constant Location
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kettle-dev
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.21
4
+ version: 3.1.23
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter H. Boling
@@ -423,10 +423,10 @@ licenses:
423
423
  - AGPL-3.0-only
424
424
  metadata:
425
425
  homepage_uri: https://kettle-dev.galtzo.com
426
- source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.1.21
427
- changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.1.21/CHANGELOG.md
426
+ source_code_uri: https://github.com/kettle-dev/kettle-dev/tree/v3.1.23
427
+ changelog_uri: https://github.com/kettle-dev/kettle-dev/blob/v3.1.23/CHANGELOG.md
428
428
  bug_tracker_uri: https://github.com/kettle-dev/kettle-dev/issues
429
- documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.1.21
429
+ documentation_uri: https://www.rubydoc.info/gems/kettle-dev/3.1.23
430
430
  funding_uri: https://github.com/sponsors/pboling
431
431
  wiki_uri: https://github.com/kettle-dev/kettle-dev/wiki
432
432
  news_uri: https://www.railsbling.com/tags/kettle-dev
metadata.gz.sig CHANGED
Binary file