feat(reactlynx-snapshot-debugging): add RL3 snapshot error debugging skill - #99
Draft
upupming wants to merge 1 commit into
Draft
feat(reactlynx-snapshot-debugging): add RL3 snapshot error debugging skill#99upupming wants to merge 1 commit into
upupming wants to merge 1 commit into
Conversation
…skill Add a troubleshooting skill for ReactLynx 3 Snapshot runtime errors (`snapshotPatchApply failed: ctx not found` and `Snapshot not found`). - Dual-thread hydrate/snapshotPatch model and rule-out-upstream-crash diagnosis workflow - Capturing dual-thread logs: built-in ALog macros (`REACT_ALOG` / `REACT_ALOG_ELEMENT_API`, gated to `@lynx-js/react` >= 0.111.2) first, driving lynx-devtool to dump + analyze both threads, manual instrumentation only as a fallback for older runtimes - snapshotPatch opcode decoding and per-error playbooks - Wired into the reactlynx plugin; evals + trigger evals included
🦋 Changeset detectedLatest commit: 941124a The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Contributor
Skill EvalsEval definitions: 11/11 valid.
|
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
Adds a new skill
reactlynx-snapshot-debugging— a troubleshooting guide for ReactLynx 3 Snapshot runtime errors, wired into thereactlynxplugin.Covers the two most common RL3 snapshot errors:
snapshotPatchApply failed: ctx not foundError: Snapshot not found: __Card__:__snapshot_...Contents
snapshotPatchmodel and a "rule out the upstream crash first" procedure (most snapshot errors are a downstream symptom of an earlier main-thread or background-thread crash).references/debug-instrumentation.md):REACT_ALOG=true/REACT_ALOG_ELEMENT_API=trueemit[ReactLynxDebug]diagnostics on both threads. Gated by version: available since@lynx-js/react0.111.2 (separateREACT_ALOG_ELEMENT_APIsince 0.116.3).lynx-devtoolskill to dump both threads and analyze root cause directly (with the user's consent), including an annotated worked walkthrough.@lynx-js/react< 0.111.2.snapshotPatchdecoding — opcode table + pretty-printer.Wiring
@lynx-js/skill-reactlynx-snapshot-debuggingunderpackages/skills/.package.jsonand thereactlynxpluginpackage.json(workspace:*).Notes
Content is open-source-clean: no internal doc links, tools, or product names.
Draft — watching CI.