Skip to content

fix(playwright): retry logs viewer pipeline trigger (1.13) - #32212

Merged
shah-harshit merged 6 commits into
1.13from
fix-logs-viewer-pipeline-test
Sep 1, 2026
Merged

shah-harshit merged 6 commits into
1.13from
fix-logs-viewer-pipeline-test

Conversation

@shah-harshit

@shah-harshit shah-harshit commented Aug 28, 2026 •

Copy link
Copy Markdown
Contributor

Describe your changes:

Backports the pipeline-trigger retry from #29725 to the 1.13 branch.

The Logs Viewer Playwright setup previously triggered a newly deployed Airflow DAG only once after a fixed delay. Airflow can still be registering the DAG at that point and return HTTP 400. The helper now:

  • retries the trigger up to three times with a bounded delay;
  • returns immediately after a successful trigger;
  • reports the final HTTP status and response body when all attempts fail.

The existing LogsViewer.spec.ts scenario covers the failing setup path.

Type of change:

  • Bug fix

Checklist:

  • I have read the CONTRIBUTING document.
  • I have commented on my code, particularly in hard-to-understand areas.
  • JSON Schema migrations are not needed because this changes only a Playwright support helper.

Testing:

  • organize-imports-cli on BundleTestSuiteClass.ts
  • ESLint on BundleTestSuiteClass.ts
  • Prettier check on BundleTestSuiteClass.ts
  • TypeScript syntax check on BundleTestSuiteClass.ts
  • git diff --check origin/1.13...HEAD

The full Logs Viewer E2E was not run locally because it requires the Airflow-backed test stack.

Greptile Summary

The PR makes the Logs Viewer Playwright pipeline setup retry an Airflow trigger that initially fails while its DAG is still registering.

  • Adds three bounded trigger attempts with ten-second delays.
  • Returns immediately on success and includes the final response status and body when all attempts fail.

Confidence Score: 5/5

The PR appears safe to merge.

No blocking failure remains.

Important Files Changed

Filename Overview
openmetadata-ui/src/main/resources/ui/playwright/support/entity/BundleTestSuiteClass.ts Adds bounded retries and improved final-error diagnostics to the Playwright ingestion-pipeline trigger helper.

Reviews (3): Last reviewed commit: "Merge branch '1.13' into fix-logs-viewer..." | Re-trigger Greptile

@shah-harshit
shah-harshit requested a review from a team as a code owner August 28, 2026 05:42
@shah-harshit shah-harshit added UI UI specific issues safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check labels Aug 28, 2026
@shah-harshit shah-harshit self-assigned this Aug 28, 2026
@github-actions

Copy link
Copy Markdown
Contributor

❌ UI Checkstyle Failed

❌ Core Components - I18n Sync

Core-components t() keys, locale files, or language-set are out of sync. Run yarn check-i18n-all locally.

❌ Antd + Less Deprecation Guard

A new antd import or new .less file was added. Use UntitledUI + Tailwind for new work.

Affected files

at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
at Function._load (node:internal/modules/cjs/loader:1211:37)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
at node:internal/main/run_main_module:36:49 {


Fix locally (fast - only checks files changed in this branch):

make ui-checkstyle-changed

@gitar-bot

gitar-bot Bot commented Sep 1, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

Backports pipeline-trigger retry logic to the 1.13 branch, allowing the Logs Viewer Playwright setup to retry DAG triggers up to three times with bounded delays instead of a single attempt. This handles cases where Airflow is still registering the DAG and returns HTTP 400. No issues found.

Options

Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@shah-harshit
shah-harshit merged commit 8ff0add into 1.13 Sep 1, 2026
81 checks passed
@shah-harshit
shah-harshit deleted the fix-logs-viewer-pipeline-test branch September 1, 2026 10:52

This branch was previously deployed

1 inactive deployment
test — a694b244 Deployed Sep 1, 2026 by shah-harshit via playwright-ci-postgresql (4, 6) #76798
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

safe to test Add this label to run secure Github workflows on PRs skip-pr-checks Bypass PR metadata validation check UI UI specific issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants