Repository navigation
Fixes 32584: lower no-positional-locator suppressions baseline to 1322 - #32585
Merged
Merged
Conversation
#32078 and #32576 each pruned one no-positional-locator suppression, in different entries of eslint-suppressions.json. Git applied both reductions to that file (1324 - 1 - 1 = 1322) but the identical 1324 -> 1323 edit both made to this test merged to a single 1323, so the recorded baseline counted one burn-down and the data file counted two. Records the burn-down that already landed; the ratchet still only moves down. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
Contributor
✅ PR checks passedThe linked issue has a description and all required Shipping project fields set. Thanks! |
Code Review ✅ ApprovedCorrects the OptionsDisplay: compact → Showing less information. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
ShaileshParmar11
temporarily deployed
to
test
September 4, 2026 05:03 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes:
Fixes #32584
maincurrently fails its own Playwright guardrail check. This lowers the recordedno-positional-locatorsuppressions baseline from 1323 to 1322 so it matcheseslint-suppressions.json, which is already at 1322.const EXPECTED = { 'om-playwright/justified-rule-disable': 12, 'om-playwright/no-blanket-test-slow': 83, - 'om-playwright/no-positional-locator': 1323, + 'om-playwright/no-positional-locator': 1322, 'om-playwright/require-assertion-per-test': 1, 'playwright/no-skipped-test': 4, 'playwright/no-wait-for-selector': 35, };One line, one file. No production code, no Playwright specs, no suppressions data.
Root cause analysis
Symptom
ui-checkstylefails in the merge queue. The job is an aggregator over 9 results; the failing one islint_playwright_result. That step iscontinue-on-error, so it reportsconclusion: successin the step list while its outcome is failure — which makes the real cause easy to miss.Inside the step, ESLint is clean and the guardrail suite is not:
corpus.test.mjssumsentry.countacrosseslint-suppressions.jsonand compares the per-rule totals to a hardcodedEXPECTED. The data file says 1322, the recorded literal says 1323.It is
main, not any open PRVerified on a clean checkout of
origin/mainat2fb1cb523a:Measured at each relevant ref:
origin/main6e20c8f0a2062355#32348 changes zero Playwright files and touches neither
eslint-suppressions.jsonnorcorpus.test.mjs.Why it looked selective
The Playwright lint step is gated on a trigger path list:
PRs touching none of these skip the step entirely and never evaluate the corpus test — which is why most of the merge queue is green and this sat unnoticed. The ESLint rule-promotion PRs (#32348, #32364, #32381) all edit
eslint.config.mjs, so they are currently the only ones exercising the gate, and all three fail on it.How
mainbroke — a semantic merge conflictTwo independently-correct PRs:
9a73f6c1e02edf277d65(Sep 2)count 3 → 24db5ca000e(Sep 3)UserDetails.spec.ts,count 6 → 5#32576 branched from
9a73f6c1e0, before #32078 landed. The two then:eslint-suppressions.json→ git applied both reductions: 1324 − 1 − 1 = 13221324 → 1323edit tocorpus.test.mjs→ git saw no conflict and kept a single 1323The additive data file counted two burn-downs; the hand-maintained mirror counted one.
Neither PR is at fault. #32078 was green, and #32576's head at
2596a70edais a consistent 1323/1323 — I checked it directly. The inconsistency exists only in the merge result, so no reviewer of either diff could have seen it.Why lower rather than raise
The test's own comment states the rule:
eslint-suppressions.jsonis already at 1322 because two real violations were genuinely fixed. This records a burn-down that already happened; it does not relax the gate. The ratchet still only moves down: 1335 → 1328 → 1324 → 1323 → 1322.Pushing the JSON back up to 1323 would mean re-suppressing a fixed violation, which is the direction the test explicitly calls wrong.
Follow-up (not in this PR)
This will recur — any two concurrent burn-down PRs pruning different entries reproduce it, with no mistake by either author. Tracked in #32584. Options: derive
EXPECTEDfrom the JSON at test time, or haveyarn lint:playwright:suppressionsrewrite both files together so they cannot drift.Type of change:
High-level design:
N/A — one-line change.
Tests:
Use cases covered
ui-checkstylepasses onmainagain.eslint.config.mjs/playwright/**are unblocked in the merge queue.Unit tests
This change is to a test's recorded baseline. Verified with the exact commands CI runs, in
openmetadata-ui/src/main/resources/ui:Before the change, on the same clean
maincheckout,corpus.test.mjswas# pass 1 · # fail 1.Backend integration tests
Not applicable — no backend changes.
Ingestion integration tests
Not applicable — no ingestion changes.
Playwright (UI) tests
Not applicable — no Playwright specs added or changed; this only corrects a recorded count.
Manual testing performed
origin/main(2fb1cb523a) and rannode --test playwright/eslint-rules/tests/corpus.test.mjs→ fail.UI screen recording / screenshots:
Not applicable — no UI changes.
Checklist:
Fixes #32584above.