Skip to content

AMBARI-26634: Advance React parity for remaining frontend refactor modules - #4176

Merged
JiaLiangC merged 20 commits into
apache:frontend-refactorfrom
JiaLiangC:AMBARI-26634
Aug 25, 2026
Merged

AMBARI-26634: Advance React parity for remaining frontend refactor modules#4176
JiaLiangC merged 20 commits into
apache:frontend-refactorfrom
JiaLiangC:AMBARI-26634

Conversation

@JiaLiangC

@JiaLiangC JiaLiangC commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Issue: AMBARI-26634

What changes were proposed in this pull request?

Complete the remaining non-Metrics React parity work across ResourceManager and Ranger Admin HA, Federation and HAWQ workflows, Views, global authorization and feature gates, and server-driven Service Theme layouts.

The implementation adds guarded routes and actions, durable long-running workflow checkpoints and recovery, exact configuration and API handling, View-only shell behavior, operational log counts, stack and permission policies, Theme parsing/rendering/Widget behavior across four consumers, and server Theme provider contract fixes.

The history is split into 20 topic commits so shared infrastructure, each HA workflow, Views, each Theme integration layer, the server provider, parity evidence, and review guidance can be reviewed independently. The baseline and React gap documents record the remaining real-cluster validation and server-protocol boundaries instead of claiming static parity for those cases.

How was this patch tested?

  • React Vitest: 178 files and 888 tests passed.
  • TypeScript and Vite production build passed.
  • Every one of the 20 topic commits passed a forced TypeScript project build when checked out independently.
  • ThemeArtifactResourceProviderTest: 14 tests passed.
  • React parity tool tests: 10 tests passed.
  • Ember baseline validation passed for 14 modules and 1,154 feature IDs with no warnings or errors.
  • React matrix generation check and validation passed for 1,154 synchronized rows.
  • Focused ESLint checks for the new Module 13 policy, clock, and host log files passed.
  • git diff --check origin/frontend-refactor..HEAD passed.
cd ambari-web/latest
npm test
npm run build

cd ../..
/tmp/apache-maven-3.9.11/bin/mvn \
  -s /tmp/ambari-maven-settings.xml \
  -pl ambari-server \
  -Dtest=ThemeArtifactResourceProviderTest \
  -Dcheckstyle.skip \
  -Drat.skip=true \
  -DskipPythonTests test

node --test docs/frontend-refactor/react-current/tools/react-parity-matrix.test.mjs
node docs/frontend-refactor/ember-baseline/tools/validate-ember-baseline.mjs
node docs/frontend-refactor/react-current/tools/generate-react-parity-matrix.mjs \
  --source gaps \
  --issue AMBARI-26634 \
  --check
node docs/frontend-refactor/react-current/tools/validate-react-parity-matrix.mjs
git diff --check origin/frontend-refactor..HEAD

Existing non-blocking warnings remain: Vitest TimeoutNaNWarning, Sass deprecations, excluded Metrics eval warnings, and Vite large-chunk warnings. Full-project ESLint remains outside this patch because the branch contains longstanding lint debt.

Please review Ambari Contributing Guide before opening a pull request.

@JiaLiangC
JiaLiangC merged commit 359f5c5 into apache:frontend-refactor Aug 25, 2026
1 check failed
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