Repository navigation
Conversation
Verify form defaults and edited values through real Spark execution. Report undeclared Spark support as skipped and propagate interpreter and assertion failures.
Build the Spark interpreter and Scala 2.12 support. Run the dynamic-form scenario with Spark 3.5.8 in both authentication modes, using isolated notebook storage and a separate report. Exclude Spark from ordinary E2E interpreter discovery.
Keep web-dist active when spark-scala-2.12 is explicitly selected so the classic UI build generates dist/WEB-INF/web.xml before WAR packaging.
|
This PR adds a new Spark cache, If cache usage exceeds the limit, GitHub Actions can evict existing caches. Rebuilding those caches can add 10 minutes or more to CI jobs. I plan to reduce the existing cache usage in ZEPPELIN-6773. Until then, I suggest keeping this PR in draft. |
|
Commit 37d902d fixes an existing paragraph focus race exposed by the dynamic-form E2E test. A deferred paragraph focus callback could take focus away from the form input before text was inserted, causing the Firefox and WebKit scenarios to fail. The fix is included here because it is needed for the restored scenario to work reliably. The commit also adds focused unit tests for the regression. There was no existing spec directly testing |
What is this PR for?
Restore the missing Playwright scenario for Spark dynamic forms. The test verifies the default values of
z.inputandz.select, edits both controls, and checks that the next Spark execution uses the changed values. Interpreter errors and failed assertions fail the scenario; environments without declared Spark support report it as skipped.Frontend CI provisions Spark 3.5.8 with Hadoop 3 and Scala 2.12, then runs the scenario in a dedicated step in both anonymous and authenticated modes. Spark is excluded from ordinary E2E interpreter discovery so installing it does not change those tests’ default interpreter selection. The dedicated step uses its own notebook directory and report, with one worker and no retries.
What type of PR is it?
Improvement
What is the Jira issue?
How should this be tested?
With a Zeppelin server built with the Spark interpreter and Scala 2.12 support, set
SPARK_HOMEbefore starting the server, then run:cd zeppelin-web-angular ZEPPELIN_E2E_REQUIRE_SPARK=true npm run e2e:fast -- tests/notebook/paragraph/dynamic-forms.spec.ts --retries=0Verify that:
WorldandUnder 18, with output containingName: WorldandAge: 1.Zeppelinand18-65changes the next execution’s output toName: ZeppelinandAge: 2.ZEPPELIN_E2E_REQUIRE_SPARKreports the scenario as skipped.In frontend CI, verify that
Run Spark dynamic-form E2Eexecutes in both authentication modes and uploads its separate Playwright report.Questions: