Skip to content

Show skip reason on unsupported remote tests like local (bugfix)#2462

Open
Hook25 wants to merge 1 commit intomainfrom
show_skip_inhibitor
Open

Show skip reason on unsupported remote tests like local (bugfix)#2462
Hook25 wants to merge 1 commit intomainfrom
show_skip_inhibitor

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented Apr 14, 2026

Description

There is no reason to hide this information, it is shown by checkbox local, I don't see a reason why we shouldn't show it in remote as well

Resolved issues

Fixes: #579
Fixes: CHECKBOX-2059

Documentation

N/A

Tests

Output before this patch:

----------------------------[ Running job 19 / 20 ]-----------------------------
----------[ Verify job result status when requirements are not met. ]-----------
ID: com.canonical.certification::smoke/requirement/bad
Category: Uncategorised
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Outcome: job cannot be started

Output after the patch:

----------------------------[ Running job 19 / 20 ]-----------------------------
----------[ Verify job result status when requirements are not met. ]-----------
ID: com.canonical.certification::smoke/requirement/bad
Category: Uncategorised
--------------------------------------------------------------------------------
Job cannot be started because:
 - resource expression 'package.name == "unknown-package"' evaluates to false
--------------------------------------------------------------------------------
Outcome: job cannot be started

There is no reason to hide this information, it is shown by checkbox
local, I don't see a reason why we shouldn't show it in remote as well
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 14, 2026

Codecov Report

❌ Patch coverage is 28.57143% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 58.86%. Comparing base (06722a3) to head (f92f94e).

Files with missing lines Patch % Lines
checkbox-ng/checkbox_ng/launcher/controller.py 28.57% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2462      +/-   ##
==========================================
- Coverage   58.86%   58.86%   -0.01%     
==========================================
  Files         476      476              
  Lines       48007    48013       +6     
  Branches     8570     8572       +2     
==========================================
+ Hits        28260    28261       +1     
- Misses      18855    18860       +5     
  Partials      892      892              
Flag Coverage Δ
checkbox-ng 76.02% <28.57%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@Hook25 Hook25 marked this pull request as ready for review April 14, 2026 09:04
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.

Inconsistent output (missing skip reason) between local and remote runs

1 participant