Skip to content

More commit queue fixes - #1158

Merged
panva merged 2 commits into
nodejs:mainfrom
panva:fix-commit-queue-metadata
Aug 10, 2026
Merged

More commit queue fixes#1158
panva merged 2 commits into
nodejs:mainfrom
panva:fix-commit-queue-metadata

Conversation

@panva

@panva panva commented Aug 10, 2026

Copy link
Copy Markdown
Member

Filter check suites by the GitHub Actions App ID rather than requesting App metadata for every suite and checking a slug.

Preserve all GraphQL errors and render their structured data as JSON.

Assisted-by: codex:gpt-5.6-sol

panva added 2 commits August 10, 2026 16:02
Filter check suites by the GitHub Actions App ID rather than requesting
App metadata for every suite, which GITHUB_TOKEN cannot access for
third-party Apps.

Assisted-by: codex:gpt-5.6-sol
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
Preserve all GraphQL errors and render their structured data as JSON so
paths, locations, extensions, and additional errors remain visible in
command logs.

Assisted-by: codex:gpt-5.6-sol
Signed-off-by: Filip Skokan <panva.ip@gmail.com>
@panva
panva requested a review from aduh95 August 10, 2026 14:05
@codecov

codecov Bot commented Aug 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 89.47368% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 57.49%. Comparing base (41a2ba5) to head (aae09fd).

Files with missing lines Patch % Lines
components/git/metadata.js 50.00% 1 Missing ⚠️
lib/run.js 88.88% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1158      +/-   ##
==========================================
+ Coverage   57.17%   57.49%   +0.31%     
==========================================
  Files          53       53              
  Lines       10394    10396       +2     
==========================================
+ Hits         5943     5977      +34     
+ Misses       4451     4419      -32     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread lib/queries/PR.gql
# querying App metadata that GITHUB_TOKEN cannot read for suites
# created by third-party Apps such as Jenkins and Codecov.
# https://api.github.com/apps/github-actions
checkSuites(first: 100, filterBy: { appId: 15368 }) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This should solve the issue of phantom Jenkins jobs, right?

@panva panva Aug 10, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I don't think so, but it's possible?. We still process the same suites as before downstream because we used to filter by app.slug amongst the results, now we just filter by the appId behind that slug server side.

@panva
panva merged commit d498aa2 into nodejs:main Aug 10, 2026
11 checks passed
@panva
panva deleted the fix-commit-queue-metadata branch August 10, 2026 14:30
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