Add managed Trrack provenance APIs#1306
Open
JackWilb wants to merge 2 commits into
Open
Conversation
|
A preview of bbc243a is uploaded and can be seen here: ✨ https://revisit.dev/study/PR1306 ✨ Changes may take a few minutes to propagate. |
16 tasks
Contributor
Author
|
Can we pass through in StimulusParams? |
38 tasks
…d-trrack # Conflicts: # src/components/response/ResponseBlock.tsx # src/components/response/tests/ResponseBlock.spec.tsx # tests/demo-trrack.spec.ts
JackWilb
marked this pull request as ready for review
July 17, 2026 17:04
jaykim1213
approved these changes
Jul 17, 2026
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.
Summary
useRevisitTrrackfor React stimuli andRevisit.createTrrackfor website/iframe stimuliRoot cause
reVISit could only observe graph snapshots that a study explicitly submitted. A private Trrack instance could therefore apply, undo, or redo without the platform seeing the transition, and graph node creation order alone cannot reconstruct revisits to existing nodes.
The managed APIs make reVISit responsible for instance creation and observation while leaving study state and action definitions in study code.
Compatibility
setAnswer({ provenanceGraph })andRevisit.postProvenance(...)integrations continue to work through the store-ingestion fallback and are marked@deprecated.@deprecated.Stacked dependency
This PR targets
codex/issue-1284-trrack-replayand must merge after #1305. It builds on #1305's traversal data model and replay compatibility work, then reduces its store-ingestion recording to the deprecated manual-integration fallback.Validation
yarn generate-schemasyarn typecheckyarn lintyarn unittest --run: 1,859 passed, 1 skippedyarn buildgit diff --checkThe updated Playwright demo coverage will run in CI; it was not run locally per the repository testing policy.
Closes #659