Skip to content

Conversation

@gounthar
Copy link
Owner

@gounthar gounthar commented Sep 24, 2025

This PR contains automatically updated PR statistics data. Generated by GitHub Actions.

Summary by CodeRabbit

  • Chores
    • Refreshed PR status data to reflect the latest CI runs, updating timestamps and related links for recent activity.
    • Applied updates across both open and consolidated PR datasets to keep status views current.
    • No changes to feature behavior; names and statuses remain the same.
    • Improves accuracy and reliability of PR status indicators in dashboards by aligning with the most recent builds and checks.

@gemini-code-assist
Copy link
Contributor

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 24, 2025

Walkthrough

Updates two consolidated JSON datasets to refresh CI/check-run metadata (timestamps and URLs) for several entries. No schema or logic changes.

Changes

Cohort / File(s) Summary of Changes
Consolidated PR datasets
data/consolidated/all_prs.json, data/consolidated/open_prs.json
Refreshed CheckRun/StatusContext fields (startedAt, completedAt, detailsUrl, targetUrl, and some name/status values) to newer CI runs; data-only updates, structure unchanged.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Poem

I nibble through timestamps, hop-hop—refresh!
URLs realigned, so tidy and fresh.
No code paths bent, no schemas askew,
Just carrots of data, crisp and new.
Thump goes my paw: “CI’s up-to-date!”
Now back to the burrow—validate, celebrate! 🥕🐇

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly and accurately describes the primary change: an automated update of the PR data daily collection with a timestamp, which matches the PR objectives and changed files. It is concise, specific, and not misleading.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch auto-update-pr-data

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
data/consolidated/open_prs.json (1)

4868-4871: Empty workflowName on CheckRun entries.

Two CheckRuns show workflowName as empty. If available, consider backfilling (e.g., from the source workflow or name) to improve downstream grouping/analytics.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between f77c2b6 and 8ed46c9.

📒 Files selected for processing (2)
  • data/consolidated/all_prs.json (1 hunks)
  • data/consolidated/open_prs.json (1 hunks)
🔇 Additional comments (1)
data/consolidated/all_prs.json (1)

7251-7283: LGTM — CI/check-run metadata looks consistent; run local sanity checks

Timestamps, conclusions, and URLs in data/consolidated/all_prs.json appear coherent; automated jq checks failed in this environment (jq parse error). Run the supplied jq script locally to verify: CheckRun startedAt ≤ completedAt, all detailsUrl/targetUrl use https://, and COMPLETED CheckRuns include a conclusion.

Comment on lines +4838 to 4871
"completedAt": "2025-09-23T08:57:26Z",
"conclusion": "SUCCESS",
"detailsUrl": "https://github.com/jenkinsci/git-push-plugin/actions/runs/17592297993/job/49975778047",
"detailsUrl": "https://github.com/jenkinsci/git-push-plugin/actions/runs/17940776745/job/51016675462",
"name": "security-scan / scan",
"startedAt": "2025-09-09T18:35:31Z",
"startedAt": "2025-09-23T08:54:24Z",
"status": "COMPLETED",
"workflowName": "Jenkins Security Scan"
},
{
"__typename": "StatusContext",
"context": "continuous-integration/jenkins/pr-head",
"startedAt": "2025-09-09T18:36:20Z",
"startedAt": "2025-09-23T08:55:07Z",
"state": "ERROR",
"targetUrl": "https://ci.jenkins.io/job/Plugins/job/git-push-plugin/job/PR-103/5/display/redirect"
"targetUrl": "https://ci.jenkins.io/job/Plugins/job/git-push-plugin/job/PR-103/6/display/redirect"
},
{
"__typename": "CheckRun",
"completedAt": "2025-09-09T18:36:19Z",
"completedAt": "2025-09-23T08:55:07Z",
"conclusion": "FAILURE",
"detailsUrl": "https://ci.jenkins.io/job/Plugins/job/git-push-plugin/job/PR-103/5/display/redirect",
"detailsUrl": "https://ci.jenkins.io/job/Plugins/job/git-push-plugin/job/PR-103/6/display/redirect",
"name": "Jenkins",
"startedAt": "2025-09-09T18:35:44Z",
"startedAt": "2025-09-23T08:54:42Z",
"status": "COMPLETED",
"workflowName": ""
},
{
"__typename": "CheckRun",
"completedAt": "2025-09-09T18:48:12Z",
"completedAt": "2025-09-23T08:57:17Z",
"conclusion": "SUCCESS",
"detailsUrl": "https://github.com/jenkinsci/git-push-plugin/runs/49976790457",
"detailsUrl": "https://github.com/jenkinsci/git-push-plugin/runs/51016896452",
"name": "Jenkins Security Scan",
"startedAt": "2025-09-09T18:48:09Z",
"startedAt": "2025-09-23T08:57:14Z",
"status": "COMPLETED",
"workflowName": ""
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

🧩 Analysis chain

Data refresh LGTM; please run quick integrity checks (timestamps/URLs).

Fields look consistent and monotonic. Suggest verifying ISO‑8601 Z timestamps, https URLs, and chronological ordering.


🏁 Script executed:

#!/bin/bash
set -euo pipefail

FILE="data/consolidated/open_prs.json"

# 1) Validate JSON parses
jq -e . "$FILE" >/dev/null

# 2) Find statusCheckRollup entries
JQ_BASE='.. | objects | select(has("statusCheckRollup")) | .statusCheckRollup[]?'

# 3) ISO-8601 Z timestamp format checks
echo "Checking timestamp formats..."
jq -r "$JQ_BASE
| [
    (if .startedAt? and (.startedAt|test(\"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$\")|not)
      then (\"BAD_STARTED_AT\t\" + (.startedAt|tostring)) else empty end),
    (if .completedAt? and (.completedAt|test(\"^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$\")|not)
      then (\"BAD_COMPLETED_AT\t\" + (.completedAt|tostring)) else empty end)
  ] | .[] // empty" "$FILE" | sed 's/^/  /' || true

# 4) Chronological ordering: startedAt <= completedAt
echo "Checking chronological ordering..."
jq -r "$JQ_BASE
| select(.startedAt? and .completedAt?)
| select((.startedAt|fromdateiso8601) > (.completedAt|fromdateiso8601))
| \"INVERTED_TIMES\t\" + ((.name // .context // \"\")|tostring) + \"\t\" + .startedAt + \" > \" + .completedAt" "$FILE" | sed 's/^/  /' || true

# 5) URLs must be https
echo "Checking URL schemes..."
jq -r "$JQ_BASE
| [
    (if .detailsUrl? and (.detailsUrl|startswith(\"https://\")|not)
      then (\"NON_HTTPS_DETAILS\t\" + .detailsUrl) else empty end),
    (if .targetUrl? and (.targetUrl|startswith(\"https://\")|not)
      then (\"NON_HTTPS_TARGET\t\" + .targetUrl) else empty end)
  ] | .[] // empty" "$FILE" | sed 's/^/  /' || true

# 6) Status/completion consistency for CheckRun
echo "Checking status/completion consistency..."
jq -r "$JQ_BASE
| select(.\"__typename\"==\"CheckRun\")
| select((.status==\"COMPLETED\") and ( (.startedAt?|not) or (.completedAt?|not) ))
| \"COMPLETED_WITH_MISSING_TIMES\t\" + ((.name // \"\")|tostring)" "$FILE" | sed 's/^/  /' || true

echo "Done."

Length of output: 21548


Fix inverted chronological order in statusCheckRollup entries

ISO‑8601 Z timestamps and https URLs are OK, but many statusCheckRollup items in data/consolidated/open_prs.json have startedAt > completedAt (e.g., "CPD 2025-07-26T10:01:48Z > 2025-07-26T10:01:38Z"). Ensure startedAt <= completedAt or correct the data source and regenerate the file.

🤖 Prompt for AI Agents
In data/consolidated/open_prs.json around lines 4838 to 4871, several
statusCheckRollup objects have inverted timestamps (startedAt > completedAt);
update the data so each entry satisfies startedAt <= completedAt by either
correcting the source generator or fixing the existing records (swap the two
timestamps where they are inverted or set startedAt to the earlier of the two),
add a validation step to the import/generation pipeline to detect and reject
inverted timestamps, and regenerate the file so all statusCheckRollup entries
have coherent ISO‑8601 Z timestamps (https URLs are fine).

@gounthar gounthar merged commit 1c5af7b into main Sep 24, 2025
7 of 8 checks passed
@gounthar gounthar deleted the auto-update-pr-data branch September 24, 2025 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants