Repository navigation
Fixes #33154: correct Airflow Sonar coverage report paths - #33155
Conversation
Code Review ✅ ApprovedFixes Airflow Sonar coverage report paths by keeping filenames relative to the scanner's OptionsDisplay: compact → Counting what did not apply, without listing it. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
✅ Playwright Results — workflow succeededValidated commit ✅ 556 passed · ❌ 0 failed · 🟡 1 flaky · ⏭️ 0 skipped · 🧰 0 lifecycle flaky PerformanceBlocking targets: ✅ met · Optimization targets: 🟡 in progress Shard-job maxima below are not the full workflow wall time; the linked run includes build, fixture, planning, and reporting. 🕒 Full workflow signal wall (to summary) 1h 2m 49s ⏱️ Max setup 5m 24s · max shard execution 19m 20s · max shard-job elapsed before upload 23m 12s · reporting 5s 🌐 236.74 requests/attempt · 2.82 app boots/UI scenario · 26.21% common-shard skew Optimization targets still in progress:
🟡 1 flaky test(s) (passed on retry)
How to debug locally# Download playwright-test-results-<shard> artifact and unzip
npx playwright show-trace path/to/trace.zip # view trace |
Exercise incident-filter searches through the real search API and validate URL encoding at the HTTP boundary. Use local calendar dates in chart test fixtures so their assertions hold in both UTC and developer timezones. Run the visual suite in OSS mode, reuse validated preseeded fixtures, and remove its owned fixed-name glossary before setup. Refresh the Teams baseline for main's TableV2 migration without changing screenshot tolerances. This merge includes the Airflow Sonar coverage workflow fix from #33155.
Describe your changes:
Fixes #33154
SonarCloud discarded coverage for 47 Airflow API files despite all 41 tests passing because the workflow rewrote filenames to an obsolete
/github/workspacecontainer path.Keep filenames relative to the scanner's
openmetadata-airflow-apis/base directory.This extracts the existing correction from #33088 so it can merge first:
pull_request_targetuses the workflow frommain, preventing #33088 from using its own workflow fix during PR validation.Type of change:
High-level design:
Not applicable — one workflow command and its explanatory comment
Tests:
Use cases covered
Unit tests
Not applicable — no application logic or changed-class coverage
Backend integration tests
Not applicable — no backend changes
Ingestion integration tests
Playwright (UI) tests
Not applicable — no UI changes
Manual testing performed
sedexpressions against a path fixture built from all 47 filenames in the CI log; verified every corrected filename exists under the scanner base directoryactionlint .github/workflows/airflow-apis-tests.yml: passedgit diff --checkand commit hooks: passedUI screen recording / screenshots:
Not applicable — no UI changes
Checklist: