← Back to Pull requests

julia: hold back General releases too new to have a release date in a cooldown #16461

Closed
unknown closed this pull request without merging on Oct 02, 2026 12:46 UTC
View on GitHub
unknown unknown commented on Oct 02, 2026 11:33 UTC
Author

Claude:

---

What are you trying to accomplish?

Julia release dates come from the GeneralMetadata.jl API, which is rebuilt once a day. A version registered in General since the last rebuild has no date, and the cooldown lets undated releases through. That produces PRs that open and then close:

  • NumericalEarth/Breeze.jl#1040 was opened for CloudMicrophysics 0.43.0 about 22 hours after its release, while it was still undated.

  • After the date was published, a recreate found 0.43.0 inside the default 3-day cooldown and closed the PR as "no longer updatable".
  • Now:

  • The helper reports a version as pending when the package's GeneralMetadata.jl data loaded and every dated version is older. Such a version is at most about a day old.

  • The finder treats a pending release as inside any positive cooldown.

  • Other registries, and versions whose metadata failed to load, are unchanged: they have no date and are still offered.
  • At ecosystem scale this only delays a new General release until its date is published, which is never later than the 3-day default would.

    Anything you want to highlight for special attention from reviewers?

    #16265 touches the same cooldown check to flag undated releases. Its undated case remains, since pending releases are now held back before reaching it.

    With a 1-day cooldown, a pending release can be held for a few hours more than strictly needed (the API publishes up to about 28 hours after registration).

    How will you know you've accomplished your goal?

    New specs for the pending flag in the result parser, the details fetcher and the finder, and helper tests against the live API. Julia specs: 347 examples, 0 failures. Helper tests: 463 pass.

    Checklist

  • I have run the complete test suite to ensure all tests and linters pass.

  • I have thoroughly tested my code changes to ensure they work as expected, including adding additional tests for new functionality.

  • I have written clear and descriptive commit messages.

  • I have provided a detailed description of the changes in the pull request, including the problem it addresses, how it fixes the problem, and any relevant details about the implementation.

  • I have ensured that the code is well-documented and easy to understand.
  • Diff: 283 lines (+212 / -71) across 3 files Reviewer: giordano Review duration: 73m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.45) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.45 · 283 lines diff across 3 files
    0.45
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.338
    Shallow Review Depth shallow_review_depth
    0.289
    Ai Authored ai_authored
    0.050
    Real PR Conversation Timeline
    1 comments
    "Review active on #16461"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 44.7% (MEDIUM) · Higher = larger blast radius
    44.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 17.7% · Safe to merge
    17.7%