Skip to content

playwright: fix tmt in dist-git#4504

Open
lucasgarfield wants to merge 1 commit into
osbuild:mainfrom
lucasgarfield:fix-tmt-again
Open

playwright: fix tmt in dist-git#4504
lucasgarfield wants to merge 1 commit into
osbuild:mainfrom
lucasgarfield:fix-tmt-again

Conversation

@lucasgarfield
Copy link
Copy Markdown
Collaborator

Recently testing-farm tests were failing and a fix was merged in 3507013e where TMT_TREE is used instead of TMT_SOURCE.

This got the CI working, but broke the tests when running in dist-git.

We need to use TMT_SOURCE when in CI, and TMT_SOURCE_DIR when in dist-git. This commit adds the dist-git case back while keeping TMT_SOURCE for Packit.

@lucasgarfield lucasgarfield requested a review from a team as a code owner June 3, 2026 14:13
Copy link
Copy Markdown

@sourcery-ai sourcery-ai Bot left a comment

Choose a reason for hiding this comment

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

Hey - I've left some high level feedback:

  • Consider documenting or guarding against the case where both TMT_SOURCE_DIR and TMT_TREE are set, since the current ordering implicitly prefers TMT_SOURCE_DIR and that precedence might not be obvious to future readers.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider documenting or guarding against the case where both TMT_SOURCE_DIR and TMT_TREE are set, since the current ordering implicitly prefers TMT_SOURCE_DIR and that precedence might not be obvious to future readers.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 3, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.05%. Comparing base (917f914) to head (e00fe60).

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #4504   +/-   ##
=======================================
  Coverage   76.05%   76.05%           
=======================================
  Files         225      225           
  Lines        7196     7196           
  Branches     2660     2662    +2     
=======================================
  Hits         5473     5473           
  Misses       1482     1482           
  Partials      241      241           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 917f914...e00fe60. Read the comment docs.

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

Recently testing-farm tests were failing and a fix was merged in
3507013e where TMT_TREE is used instead of TMT_SOURCE_DIR.

This got the CI working, but broke the tests when running in dist-git.

We need to use TMT_TREE when in CI, and TMT_SOURCE_DIR when in
dist-git. This commit adds the dist-git case back while keeping TMT_TREE
for Packit.
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