Commit d620c63
fix(release): address PR #3407 review feedback round 2 (7 items)
Hook (.claude/hooks/main-ci-status.sh):
- write_cache_atomic prints from $1 instead of re-reading via cat
(claude[bot], 2 inline duplicates + summary)
- jq slurp now dedupes reruns by max_by(id), mirroring the Ruby gate
in release.rake — keeps session-time and release-time CI views in
sync when a check has been re-run (cursor bugbot)
- Defensive ":=0" defaults for failed_count/in_progress_count guard
the partial-output edge case (claude[bot])
rakelib/release.rake:
- validate_main_ci_status! now flags partial-missing required checks
with a new :missing_required_checks violation kind. Branch protection
would refuse this merge state, so a release shouldn't ship through it.
The all-missing case keeps :no_required_checks for clarity
(chatgpt-codex-connector P1)
- Comment in run_release_preflight_checks! explaining why the main-CI
status check is wired separately in with_release_checkout
(claude[bot] summary)
react_on_rails/spec/react_on_rails/release_rake_helpers_spec.rb:
- passing_run/failing_run/in_progress_run helpers now include "id"
defaults to match real GitHub API responses (claude[bot])
- New test: aborts and lists missing required check names when some
required checks are absent on a prerelease (chatgpt-codex-connector P1)
- New test: warns instead of aborting when git fetch fails with
allow_override, matching the dry-run symmetric case (claude[bot] summary)
63 examples, 0 failures.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ccb3a87 commit d620c63
3 files changed
Lines changed: 93 additions & 16 deletions
File tree
- .claude/hooks
- rakelib
- react_on_rails/spec/react_on_rails
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
| 42 | + | |
| 43 | + | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
48 | 51 | | |
49 | 52 | | |
50 | | - | |
| 53 | + | |
51 | 54 | | |
52 | 55 | | |
53 | 56 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
82 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
83 | 94 | | |
84 | 95 | | |
85 | 96 | | |
| |||
105 | 116 | | |
106 | 117 | | |
107 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
108 | 123 | | |
109 | 124 | | |
110 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
151 | 155 | | |
152 | 156 | | |
153 | 157 | | |
| |||
385 | 389 | | |
386 | 390 | | |
387 | 391 | | |
| 392 | + | |
| 393 | + | |
| 394 | + | |
388 | 395 | | |
389 | 396 | | |
390 | 397 | | |
| |||
457 | 464 | | |
458 | 465 | | |
459 | 466 | | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | | - | |
464 | | - | |
465 | | - | |
466 | | - | |
467 | | - | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
468 | 493 | | |
469 | 494 | | |
470 | 495 | | |
| |||
Lines changed: 40 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
499 | 499 | | |
500 | 500 | | |
501 | 501 | | |
502 | | - | |
| 502 | + | |
503 | 503 | | |
| 504 | + | |
504 | 505 | | |
505 | 506 | | |
506 | 507 | | |
507 | 508 | | |
508 | 509 | | |
509 | 510 | | |
510 | 511 | | |
511 | | - | |
| 512 | + | |
512 | 513 | | |
| 514 | + | |
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
516 | 518 | | |
517 | 519 | | |
518 | 520 | | |
519 | 521 | | |
520 | | - | |
| 522 | + | |
521 | 523 | | |
| 524 | + | |
522 | 525 | | |
523 | 526 | | |
524 | 527 | | |
| |||
756 | 759 | | |
757 | 760 | | |
758 | 761 | | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
| 765 | + | |
| 766 | + | |
| 767 | + | |
| 768 | + | |
| 769 | + | |
| 770 | + | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
| 781 | + | |
| 782 | + | |
| 783 | + | |
759 | 784 | | |
760 | 785 | | |
761 | 786 | | |
| |||
773 | 798 | | |
774 | 799 | | |
775 | 800 | | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
776 | 813 | | |
777 | 814 | | |
778 | 815 | | |
| |||
0 commit comments