← Back to Pull requests

ci(nightly-test): take the Windows build date from PowerShell #4035

Closed
unknown closed this pull request without merging on Nov 17, 2026 16:43 UTC
View on GitHub
unknown unknown commented on Nov 17, 2026 15:21 UTC
Author

Description

Nightly-test / oneDAL Windows Bazel test has failed on every run since #4013 (first on main 2026-11-16 22:52, then on every pull request that triggers Nightly-build, for example #4031), with

Error in fail: --build_date must be a YYYYMMDD calendar date, got 'Enter'

The step computed the date with for /f %%d in ('date.exe -u +%%Y%%m%%d'). cmd ends an internal command name at the dot, so date.exe runs cmd's built-in DATE with the argument .exe, which prints The system cannot accept the date entered. / Enter the new date:; the last line's first token, Enter, became BUILD_DATE. The Linux job uses bash $(date ...) and is not affected.

A PowerShell step now writes BUILD_DATE (UTC, yyyyMMdd) to GITHUB_ENV before the cmd step, and the cmd step reads it from the environment.

Nightly-test is started by workflow_run, so it always runs the workflow file from main: this PR cannot test itself, and the fix shows up on the first Nightly-build after the merge. actionlint reports the same findings on the file as on main.

---

<details>
<summary>Checklist:</summary>

Completeness and readability

  • I have commented my code, particularly in hard-to-understand areas.

  • I have updated the documentation to reflect the changes or created a separate PR with updates and provided its number in the description, if necessary.

  • Git commit message contains an appropriate signed-off-by string _(see CONTRIBUTING.md for details)_.

  • I have resolved any merge conflicts that might occur with the base branch.
  • Testing

  • I have run it locally and tested the changes extensively: workflow-only; see the note on workflow_run above.

  • All CI jobs are green or I have provided justification why they aren't.
  • Performance

  • I have provided justification why performance and/or quality metrics have changed or why changes are not expected: CI configuration only.
  • </details>

    🤖 Generated with Claude Code

    Diff: 265 lines (+198 / -67) across 3 files Reviewer: Alexandr-Solovev Review duration: 82m
    All Vouch review confidence checks passed
    Residual risk 0.16 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.39 · 265 lines diff across 3 files
    0.39
    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.334
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #4035"
    general weight: 0.35
    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: 39.3% (MEDIUM) · Higher = larger blast radius
    39.3%
    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: 15.5% · Safe to merge
    15.5%