Skip to content

Tox develop all providers to validate (infra)#1951

Merged
Hook25 merged 1 commit intomainfrom
tox_develop_all
Jun 6, 2025
Merged

Tox develop all providers to validate (infra)#1951
Hook25 merged 1 commit intomainfrom
tox_develop_all

Conversation

@Hook25
Copy link
Copy Markdown
Collaborator

@Hook25 Hook25 commented Jun 5, 2025

Description

validating a provider doesn't guarantee the provider is valid if all providers in the same namespace are not developed as well. This caused a regression last pulse where a test was introduced with an id clashing with an id in another provider. This fixes it by developing always all of them

This also fixes the fact that our tox.ini used to develop providers globally (sigh) and rm -rf them globally (double sigh). This uses the tox env directory as tmp (as it would do if we were in a checkbox venv created with mk-venv) and the -f option to not break on re-development (for local iteration)

Resolved issues

Fixes: CHECKBOX-1915

Documentation

N/A

Tests

Ran thanks to the other pr here!

@codecov
Copy link
Copy Markdown

codecov bot commented Jun 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.46%. Comparing base (f30c273) to head (dbe7473).
⚠️ Report is 106 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1951      +/-   ##
==========================================
+ Coverage   50.44%   50.46%   +0.01%     
==========================================
  Files         384      384              
  Lines       41106    41111       +5     
  Branches     7524     7531       +7     
==========================================
+ Hits        20737    20745       +8     
+ Misses      19646    19620      -26     
- Partials      723      746      +23     
Flag Coverage Δ
provider-base 25.68% <ø> (+<0.01%) ⬆️
provider-certification-client 57.14% <ø> (ø)
provider-certification-server 57.14% <ø> (ø)
provider-genio 96.90% <ø> (ø)
provider-gpgpu 92.61% <ø> (ø)
provider-iiotg 100.00% <ø> (ø)
provider-resource 38.19% <ø> (ø)
provider-sru 97.97% <ø> (ø)

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 force-pushed the tox_develop_all branch from 1872c97 to dbe7473 Compare June 6, 2025 13:57
@Hook25 Hook25 marked this pull request as ready for review June 6, 2025 14:37
Copy link
Copy Markdown
Collaborator

@fernando79513 fernando79513 left a comment

Choose a reason for hiding this comment

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

Pipelines passing, rm -rf / removed, me happy.
LGTM +1!

@Hook25 Hook25 merged commit f28929c into main Jun 6, 2025
93 checks passed
@Hook25 Hook25 deleted the tox_develop_all branch June 6, 2025 15:04
mreed8855 pushed a commit that referenced this pull request Jul 30, 2025
mreed8855 pushed a commit that referenced this pull request Jul 31, 2025
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