Fix NilClass passed to Pub cooldown in_cooldown_period? - #16362
Merged
Merged
Conversation
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 02:38
ee821fa to
c2d1c6a
Compare
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 02:42
c2d1c6a to
19f5463
Compare
Contributor
There was a problem hiding this comment.
Copilot review overview
🟡 Changes recommended
Candidate-level warning state can leak into the ultimately selected update, and metadata completeness lacks direct coverage.
Get a fresh assessment by requesting another Copilot review.
Review effort: Balanced
Findings: 1
Open (2)
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 02:52
19f5463 to
08e0f01
Compare
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 02:53
08e0f01 to
b7c92bf
Compare
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 02:59
b7c92bf to
e3f395c
Compare
v-kbukum1
force-pushed
the
kbukum1/fix-cooldown-nil-release
branch
from
September 21, 2026 03:02
e3f395c to
66d873a
Compare
v-kbukum1
marked this pull request as ready for review
September 21, 2026 03:12
honeyankit
approved these changes
Sep 21, 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 are you trying to accomplish?
Fixes DELTAFORCE-1K1X.
Pub's cooldown filter could pass
nilintoin_cooldown_period?, which has a non-nilable signature.Pub::Versionobject against a versionString, so it never matched and always fednilinto the check. A side effect is that Pub cooldown effectively never applied.Anything you want to highlight for special attention from reviewers?
The "can't apply cooldown" cases now have deliberately different semantics:
Only Pub reproduces this; sibling ecosystems (uv/python) go through common's array-iterating
filter_by_cooldown, which never passesnil.How will you know you've accomplished your goal?
New specs cover the divergence, empty-metadata, and within-cooldown paths; the existing suite, RuboCop, and Sorbet runtime signature validation pass.
Checklist