← Back to Pull requests

nextargv: remove unconditional freebsd renameat bug workaround #24986

Open
tonycoz opened this pull request with 47 lines diff across 3 files
View on GitHub
tonycoz tonycoz commented on Oct 20, 2026 21:24 UTC
Author

<!--
A good description should explain the problem the pull request addresses
and give context to the reviewers to aid them in their reviews.
If this addresses an open issue, please reference it in this format: GH #12345
so that GitHub adds a link in that issue to this new pull request.
-->
Remove now obsolete workaround.

-------------------------------------------------------------------------------
<!--
Significant or noteworthy changes to Perl must be documented in pod/perldelta.pod.

Consider if the changes in this pull request are worthy of a perldelta
entry, then pick the appropriate line below and remove the others.
-->

  • This set of changes requires a perldelta entry, and it is included.
  • Diff: 47 lines (+20 / -27) across 3 files Reviewer: jkeenan Review duration: 19999m
    All Vouch review confidence checks passed
    Residual risk 0.06 = Change Risk (0.29) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.29 · 47 lines diff across 3 files
    0.29
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.75 · 2 substantive comment(s)
    0.75
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    81%
    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.232
    Real PR Conversation Timeline
    5 items
    jkeenan jkeenan approved these changes on Oct 21, 2026 20:24 UTC
    Approved Reviewer

    Approved these changes.

    jkeenan jkeenan commented on Oct 21, 2026 20:27 UTC
    Reviewer

    The hints and perldelta changes LGTM, but someone else should confirm the doio.c changes.

    richardleach richardleach commented on Oct 21, 2026 20:44 UTC
    Contributor

    The doio.c changes contained in the diff look fine to me. What I'm not immediately sure about is if there are any undesirable knock-on effects from ARGV_USE_ATFUNCTIONS no longer being defined here:

    #if defined(HAS_UNLINKAT) && defined(HAS_RENAMEAT) && defined(HAS_FCHMODAT) && \
        (defined(HAS_DIRFD) || defined(HAS_DIR_DD_FD)) && !defined(NO_USE_ATFUNCTIONS) && \
        defined(HAS_LINKAT)
    #  define ARGV_USE_ATFUNCTIONS
    #endif
    

    tonycoz tonycoz commented on Oct 25, 2026 22:45 UTC
    Author

    What I'm not immediately sure about is if there are any undesirable knock-on effects from ARGV_USE_ATFUNCTIONS no longer being defined here:

    in-place editing may run into race conditions if the directory containing the files named is renamed.

    Reviewers
    Assignees
    tonycoz tonycoz
    Labels
    risk: low confidence: 81% 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: 29.1% (LOW) · Higher = larger blast radius
    29.1%
    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: 81% · Lower = rushed or shallow review
    81%
    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: 5.5% · Safe to merge
    5.5%
    Repository