Skip to content

Name desktop CI jobs through their matrix key - #299

Merged
ambroise-leclerc merged 1 commit into
developfrom
ci-dispatch-job-name
Oct 21, 2026
Merged

ambroise-leclerc merged 1 commit into
developfrom
ci-dispatch-job-name

Conversation

@ambroise-leclerc

Copy link
Copy Markdown
Collaborator

A skipped desktop job in a manual workflow_dispatch run displayed its unevaluated ${{ matrix.name }} expression, as the extended jobs did before #297.

The desktop matrix is now keyed by descriptive platform values (linux-gcc-webkitgtk, windows-msvc-webview2, macos-clang-wkwebview) and the job uses the default matrix naming, so pull-request checks read desktop (linux-gcc-webkitgtk) and a skipped job reads desktop. Only No AI Attribution is a required check on develop and master, so no branch protection depends on the old names.

A skipped desktop job in a manual dispatch displayed its unevaluated name expression.
Use the default matrix naming with descriptive platform keys instead.
Copilot AI balanced review requested due to automatic review settings October 21, 2026 18:52
@coderabbitai

coderabbitai Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 69aebc43-04b4-4b29-bb30-7a522fd56330
📥 Commits

Reviewing files that changed from the base of the PR and between 9cd26f8 and ccd39be.

📒 Files selected for processing: 1
  • .github/workflows/BuildAndTest.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

📝 Walkthrough

Le workflow de build et de test desktop remplace les noms descriptifs de la matrice par des identifiants de plateforme. Il supprime aussi le nom dynamique du job desktop. Les autres paramètres de plateforme restent inchangés.

Changes: Matrice de build desktop

Layer / File(s) Summary
Identifiants de plateforme
.github/workflows/BuildAndTest.yml
La matrice utilise la clé platform avec des identifiants pour Linux, Windows et macOS. Le nom dynamique du job desktop est supprimé. Les autres paramètres de plateforme restent inchangés.

Priority: ⬇️ Low

Estimated code review effort: 2 (Simple) | ~7 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to ccd39

The desktop CI naming change is mergeable with no evidenced functional or branch-protection risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed Le titre décrit clairement la modification principale des noms des jobs CI desktop via la clé de matrice.
Description check Passed La description est directement liée aux changements. Elle explique la nouvelle clé platform et le comportement des noms de jobs.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

The change is a self-contained, correct CI job-naming adjustment with no remaining references to the old matrix key and no functional impact.

No open issues 🎉

What changed in this PR

This PR fixes a cosmetic CI problem in BuildAndTest.yml: when the desktop job is skipped (e.g. in a manual workflow_dispatch run), GitHub displayed the raw, unevaluated ${{ matrix.name }} expression as the job name. The matrix is re-keyed on a descriptive platform dimension and the explicit name: expression is dropped, so the job falls back to default matrix naming (desktop (linux-gcc-webkitgtk) for a running matrix leg, and plain desktop when skipped).

Changes:

  • Replace the per-entry name matrix key with a platform matrix dimension (linux-gcc-webkitgtk, windows-msvc-webview2, macos-clang-wkwebview).
  • Remove the name: ${{ matrix.name }} expression and add an explanatory comment, relying on default matrix job naming.
File Description
.github/​workflows/​BuildAndTest.yml Re-keys the desktop matrix on platform and drops the name: expression so a skipped job no longer renders an unevaluated template.

Review effort: Balanced

@codecov

codecov Bot commented Oct 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 98.00%. Comparing base (9cd26f8) to head (ccd39be).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #299   +/-   ##
========================================
  Coverage    98.00%   98.00%           
========================================
  Files          100      100           
  Lines         8603     8603           
  Branches       676      676           
========================================
  Hits          8431     8431           
  Misses         172      172           

☔ 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.

@ambroise-leclerc
ambroise-leclerc merged commit d8bfdd3 into develop Oct 21, 2026
11 checks passed
@ambroise-leclerc
ambroise-leclerc deleted the ci-dispatch-job-name branch October 21, 2026 19:08
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.

3 participants