[ZEPPELIN-6666] Add notebook transport fixtures - #5458
Open
voidmatcha wants to merge 1 commit into
Open
Conversation
voidmatcha
force-pushed
the
ZEPPELIN-6666-transport-fixtures
branch
from
September 8, 2026 14:54
29ffea3 to
313a64f
Compare
voidmatcha
marked this pull request as draft
September 8, 2026 15:14
voidmatcha
force-pushed
the
ZEPPELIN-6666-transport-fixtures
branch
from
September 8, 2026 16:27
313a64f to
352eb25
Compare
voidmatcha
marked this pull request as ready for review
September 9, 2026 00:30
voidmatcha
force-pushed
the
ZEPPELIN-6666-transport-fixtures
branch
from
September 9, 2026 00:40
352eb25 to
3e9307f
Compare
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.
What is this PR for?
Adds the versioned Notebook REST/WebSocket fixture format, isolated capture helper, and strict replay runner for ZEPPELIN-6666.
The recorder captures notebook REST traffic and
/wsframes, normalizes volatile identifiers while preserving correlation, and redacts sensitive values. Replay rejects unexpected, reordered, or unconsumed traffic and requires REST deliveries to settle successfully. Requests outside the notebook boundary fall through to other route handlers.The capture helper isolates configuration, notebooks, logs, search indexes, PID and recovery state. It verifies listener and process ownership, serializes start/stop operations, and stops only its owned process group. Unsupported whitespace paths are rejected before side effects.
Fixture-only browser tests use a dedicated configuration without backend cleanup or authentication state. Live capture is opt-in through
@live, requires an explicit server URL, and supports isolated anonymous or authenticated setup. Ordinary E2E runs exclude live capture.This PR also fixes E2E setup exposed by the full verification: Monaco select-all follows the browser keymap, cursor movement checks the exact buffer, inline completion checks actual ghost-text dismissal and focus, and cancellation uses exact seeded Python code before asserting RUNNING and ABORT.
This establishes the fixture foundation only. Execution/streaming, paragraph/revision/collaboration/reconnect, and permission/session fixtures remain in ZEPPELIN-6671, ZEPPELIN-6672, and ZEPPELIN-6673. Version 1 limitations are documented in
e2e/core-contract/README.md.What type of PR is it?
Improvement
What is the Jira issue?
ZEPPELIN-6666
How should this be tested?
Local verification of the pushed source tree:
./mvnw -B -ntp verify -pl zeppelin-web-angular -Pweb-e2e— BUILD SUCCESS.The full run used an isolated anonymous server, JDK 11, Node 22, Python dependencies, and built Python/Markdown interpreters. Existing authentication/capability skips remain. This is local validation, not a claim about the new remote CI run. Live authenticated capture is separate and was not rerun in this final verification.
Focused fixture and opt-in live commands are documented in
e2e/core-contract/README.md.Screenshots (if appropriate)
N/A
Questions:
e2e/core-contract/README.md