← Back to Pull requests

refactor(runtime): hardcode warp_timestamp_again #1676

Merged
hamza-syndica merged 3 files (52 lines) on Jul 15, 2026 01:13 UTC
View on GitHub
hamza-syndica hamza-syndica commented on Jul 06, 2026 14:17 UTC
Author

Hardcode the warp_timestamp_again feature gate — the feature has been active on mainnet since epoch 154, removed from Agave (v4.1.0-rc.1), and cleaned up in Firedancer.

Changes

  • Remove fix_estimate_into_u64 parameter from calculateStakeWeightedTimestamp — always use the corrected @intCast path

  • Remove feature_set parameter from getTimestampEstimate, nextClock, and UpdateClockDeps (only existed for this feature)

  • Delete the dead @bitCast code path and its associated test

  • Update features.zon status to \.hardcoded
  • Closes #1658

    Diff: 52 lines (+3 / -49) across 3 files Reviewer: yewman Review duration: 12176m
    All Vouch review confidence checks passed
    Residual risk 0.09 = Change Risk (0.30) × (1 − Review Confidence (0.69)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.30 · 52 lines diff across 3 files
    0.30
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.56 · 1 substantive comment(s)
    0.56
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    68%
    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.238
    Real PR Conversation Timeline
    4 items
    codecov[bot] codecov[bot] commented on Jul 06, 2026 14:50 UTC
    Bot

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • </details>

    yewman yewman approved these changes on Jul 08, 2026 10:18 UTC
    Approved Reviewer

    Approved these changes.

    dnut dnut approved these changes on Jul 15, 2026 00:48 UTC
    Approved Reviewer

    Approved these changes.

    Reviewers
    Assignees
    hamza-syndica hamza-syndica
    Labels
    risk: low confidence: 68.7% 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.7% (LOW) · Higher = larger blast radius
    29.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: 68.7% · Lower = rushed or shallow review
    68.7%
    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: 9.3% · Safe to merge
    9.3%
    Repository