Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hidden manifests implementation (new) #1699

Draft
wants to merge 13 commits into
base: main
Choose a base branch
from
Draft

Hidden manifests implementation (new) #1699

wants to merge 13 commits into from

Conversation

Hook25
Copy link
Collaborator

@Hook25 Hook25 commented Jan 23, 2025

Description

We need a “hidden” manifest type to be able to include/exclude jobs runs in the lab without impact normal end user experience:

Hidden = not available for general consumption, not shown in the Manifest entries screen

hidden keyword raises questions, so need an additional hidden_reason field to explain why this manifest is not shown to the user (e.g. “No OBEX server testing required in the HW Cert lab”)

These manifest entries must be false (i.e. not set) for submissions made to issue a Certificate (Cert issuance process must include this check, this is a critical violation because it can lead to important things not being tested)

Hidden manifest IDs must start with _ (underscore). This is for easier reading/parsing/debugging, and must have a hidden-reason field to explain why they were introduced.

Resolved issues

Fixes: CHECKBOX-1698

Documentation

WIP

Tests

WIP

Copy link

codecov bot commented Jan 23, 2025

Codecov Report

Attention: Patch coverage is 93.10345% with 4 lines in your changes missing coverage. Please review.

Project coverage is 49.12%. Comparing base (6e0aee0) to head (1e5ef3c).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
checkbox-ng/plainbox/impl/session/assistant.py 93.33% 2 Missing and 1 partial ⚠️
checkbox-ng/checkbox_ng/launcher/subcommands.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1699      +/-   ##
==========================================
+ Coverage   49.01%   49.12%   +0.10%     
==========================================
  Files         372      372              
  Lines       40348    40338      -10     
  Branches     6817     6809       -8     
==========================================
+ Hits        19777    19816      +39     
+ Misses      19849    19799      -50     
- Partials      722      723       +1     
Flag Coverage Δ
checkbox-ng 69.70% <93.10%> (+0.30%) ⬆️

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.

Minor: Move default value calculation to the manifest unit
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.

1 participant