Publish current native acceptance blockers and final portable evidence

This commit is contained in:
zsviczian committed 2026-10-29 20:19:07 +01:00
1 parent 098e6ee13d
commit f240fb86db
8 files changed
+64195 -93

No files matched your search

+14 -1
View File
@@ -27,7 +27,7 @@ validated, and what remains uncertain.
| Phase | Status | Current outcome |
| --- | --- | --- |
| Assessment and baseline design | Complete | Initial architecture, risks, sequencing, and validation matrix documented |
| Automated test coverage (#3022) | Acceptance failed; focused diagnosis | At plugin 9c08d814 / fork 053a3b9 / Extras 1cdcb7c, all 654 portable cases pass (56 new / 598 reused). Exclusive unchanged text/pointer reruns pass. The full run passes all 258 behavioral and 40 device cases, but stability cycle 3 times out; cycles 4/5 and a passing error gate are missing. Eight illegal-access exceptions and one host delete-handler exception fail capture. Cleanup/restoration and negative controls pass. Test-only cleanup ordering is corrected with a regression and passive load snapshots; production is unchanged. Zero of two complete matching-build native repeats pass. See docs/TESTING.md |
| Automated test coverage (#3022) | Acceptance failed; PRs remain draft | At plugin 098e6ee1 / fork 053a3b9 / Extras 1cdcb7c, 655 portable cases pass (57 new / 598 reused), with source/package gates. Exclusive input and focused corrected stability/drop checks pass. Both full attempts pass 258 behavior and 40 device cases; earlier stability timeout and latest unavailable text-history button prevent completion. Latest strict capture records four illegal-access exceptions during dirty popout-to-main migration. Cleanup/restoration and negative controls pass; production is unchanged. Zero of two complete matching-build native repeats pass. Public summaries retain missing cases, raw exceptions and hashes. See docs/TESTING.md |
| Template selection and cancellation (#2649, PR #3020) | Implemented; source and native selection/cancellation checks pass | A dedicated chooser returns template/blank/cancel, displays paths relative to the configured root, and initially selects explicit blank. Interactive callers resolve before folder/file/editor/leaf side effects. Public getBlankDrawing/createDrawing and EA/CLI contracts retain string/file returns and deterministic initData behavior |
| Nested-split fullscreen (#2743, PR #3020) | Implemented; seven source tests and native lower-right split pass | Keep the complete ancestor path visible; hide surrounding siblings and restore only owned classes. Native 958x641 drawing expands to 2560x1438 and returns to identical bounds. Existing inline styles remain untouched; controls are optional and cleanup retains the entry document across migration |
| Canvas preview scaling investigation (#2729, PR #3020) | Original SVG-only behavior not reproduced on Windows Obsidian 1.14.5; unresolved | Two nodes sharing a drawing scale independently in SVG, SVG-as-image and PNG with immersive mode on/off. Doubling one node width scales its preview by 2.0063; the other remains unchanged. Tall previews clip in all modes. No speculative rendering/cache change; retain measurements and keep the issue open |
@@ -3167,3 +3167,16 @@ remain strict pending maintainer classification; no production changes.
evidence/focused stability selection. No production changes or gate waivers.
Highest-risk next checks are the large-scene reopen timeout and real popout
teardown exceptions; fresh full matching-build repeats remain required.
- 2026-10-29 (#3022): Final checkpoint 098e6ee1 passes 655 portable cases and
source/package gates. Focused corrected popout-drop/stability passes all six
large-scene cycles with no unexpected errors. The following full attempt passes
all 258 behavior and 40 device cases but aborts at the text-history button; four
primitive illegal-access exceptions occur during dirty popout-to-main migration.
There are 336 required passes and 21 missing identities, not a full pass. Retained
both failed full attempts, raw error/idle data and exact source/artifact hashes
in accessible summaries. Production diff from reviewed 9c08d814 is empty and
the exact accepted-scope audit passes. Restored the installed vault; stopped UI
work and left all PRs draft. Highest-risk next checks are exact text-action DOM
readiness and migration on an approved host containing the related Electron
fix; physical touch and other native desktop OSes remain separate validation.
+13
View File
@@ -47,6 +47,19 @@ as passed service coverage.
## Focused and complete commands
The current acceptance remains failed; see the [accessible closeout evidence](testing-evidence/3022/README.md).
The unchanged exclusive recheck and focused corrected stability/drop run used:
```powershell
npm.cmd run verify:obsidian -- --text-undo --devices --device-profiles=desktop-wide-full-light
npm.cmd run verify:obsidian -- --internal-drop --stability
```
These focused passes do not count as complete repeats. The full profile still
requires all 357 identities and strict exception/cleanup gates. Text-history
readiness and dirty-migration exceptions must be diagnosed before another full
attempt; retain the exact failed evidence and make no unapproved product changes.
| Command | Work |
| --- | --- |
| `npm run test:native` | Preparation, complete native core and expanded behavior matrix, popout drop variants and device workflows |
+14 -11
View File
@@ -3,8 +3,8 @@
## Current checkpoint (2026-10-29)
[Accessible sanitized case summaries and artifact manifests](testing-evidence/3022/README.md)
record the tested plugin `9c08d814`, fork `053a3b9` and Extras `1cdcb7c`.
Fresh portable verification passes **654 canonical cases (56 new, 598 reused)**.
record the tested plugin `098e6ee1`, fork `053a3b9` and Extras `1cdcb7c`.
Fresh portable verification passes **655 canonical cases (57 new, 598 reused)**.
The approved internal-preview focus correction passes four actual-method tests
and the isolated phone embedding workflow, with no window errors and successful
save/reopen, device restoration and baseline cleanup. Existing `patchMobileView`
@@ -18,15 +18,18 @@ pass. Real single-export PDF output is decoded and visually inspected.
Acceptance remains **failed**: **zero of two required complete native repeats**
have passed. Exclusive unchanged reruns pass all 16 text-history variants and the
desktop pointer profile; the prior failures remain retained without assuming their
cause. The next full attempt passes all 258 behavioral obligations and 40 device
profiles, but stability cycle 3 times out. Cycles 4/5 and the successful error gate
are missing. Eight illegal-access exceptions and one host onDelete parent-null
exception fail strict capture. Cleanup, baseline restoration and both negative
controls pass. The demonstrated test-only delete/detach race is corrected with a
regression; passive load snapshots and focused stability selection support the
remaining diagnosis. No production changes or diagnostic waivers. Do not merge or
substitute subset results for the 357-case gate.
desktop pointer profile. Both subsequent full attempts pass all 258 behavioral
obligations and 40 device profiles. At 9c08d814, stability cycle 3 times out and
strict capture records eight illegal-access exceptions plus a host onDelete
parent-null exception; 353 required identities pass and three are missing. At
098e6ee1, text-history testing fails with an unavailable history button and four
illegal-access exceptions occur during dirty popout-to-main migration; 336 required
identities pass and 21 are missing. Cleanup, baseline restoration and both negative
controls pass in each. The demonstrated test-only delete/detach race is corrected
with a regression; all six focused stability cycles pass with passive load
snapshots. No production changes or diagnostic waivers. Capture exact text-action
readiness and evaluate the related Electron fixed-host comparison before another
full attempt. Do not merge or substitute subset results for the 357-case gate.
The full plan has six native CLI-bearing cases (five editing plus Lucide) and two
separate mobile public `EA.executeCLI` workflows. Historical checkpoints below
retain their original scope and results.
+45
View File
@@ -49,6 +49,13 @@ The required regression runs production artifacts, including main/popout
lifecycle, with strict error and cleanup gates. Physical devices and other desktop
hosts still require their own evidence.
Current production residual, 2026-10-29: the expanded production suite also
captures eight primitive illegal-access exceptions at 9c08d814 and four during
dirty popout-to-main migration at 098e6ee1. The residual is therefore not limited
to development builds. The upstream 43.5.0 fix was rechecked; this host remains
43.3.0. A matching signature is not proof of complete causation. No host upgrade,
additional production mitigation or exception exclusion was made. See F21.
## Product fixes retained in scope after evidence review
| Finding | Before | Regression evidence and expected contract |
@@ -342,3 +349,41 @@ or the eight `illegal access` exceptions. Added passive per-cycle load snapshots
and a focused `--stability` selector for diagnosis without changing the six-cycle,
1000-element, save/reopen, root-retirement, rendering or timeout assertions. Both
full repeats must use a new clean checkpoint after any test-tooling changes.
## F21 - Current acceptance remains failed at 098e6ee1
The frozen test-only checkpoint passes build, 477 fast tests and the final portable
gate: 655 canonical cases (57 new / 598 reused), plus source/package gates. The
exact production audit passes and the production diff from reviewed 9c08d814 is
empty. The installed plugin remains 5,030,423 bytes with the same artifact hash.
A freshly built focused `--internal-drop --stability` run passes popout drop and
all six unchanged 1000-element save/reopen cycles with no notifications or
unexpected exceptions. Passive snapshots show each new editor reaching 1000
elements with a fresh API. This validates the corrected cleanup, not the cause of
the earlier load timeout.
The next full `npm.cmd run test:native` attempt passes all 258 behavior cases and
40 device profiles, but `text-undo-2976` fails with `history button unavailable`.
The parent records it as a feature-scenario failure, so its result and the later
20 required identities are missing. There are 336 recorded required passes, not a
complete 357-case pass. The helper does not retain its exact variant/action for
this direct eval error; capture button state/readiness and that label before
classifying the cause or changing assertions. The earlier unchanged isolated
16-variant run passes, so neither interference nor a product defect is assumed.
Four uncaught primitive `illegal access` exceptions are timestamped while
`native:lifecycle-dirty-popout-to-main` is active. Its persistence/scene assertions
pass, but exceptions remain fatal. No broader diagnostic rule is applied. The
first failed full attempt's two exact ResizeObserver notifications settle under
the bounded policy; the latest attempt has none. [Current sanitized reports,
counts, raw events, hashes and missing cases](testing-evidence/3022/README.md).
Both failed full attempts pass task cleanup, device/baseline restoration and the
two actual native error/layout negative controls. The working vault is installed,
both plugins are ready, and no tasks, print roots or popouts remain. Foreground
testing stopped; final portable checks use headless browsers and do not drive
Obsidian. Acceptance is zero of two complete passes. Keep all PRs draft and do not
merge. Next steps are focused text-action diagnostics, an approved fixed-host
migration comparison, and two fresh complete matching-build runs once blockers
are resolved. Production fixes still require explicit approval.
+111 -81
View File
@@ -1,88 +1,118 @@
# Testing checkpoint: acceptance remains incomplete
# Acceptance failed: keep all three PRs draft
Latest acceptance attempt: plugin `9c08d814`, fork `053a3b9`, Extras `1cdcb7c`.
Fresh portable validation passes 654 cases and source/package gates. Exclusive
unchanged text/pointer reruns pass. The subsequent full run passes all 258
behavioral cases and all 40 device/layout cases, but stability cycle 3 times out;
cycles 4/5 and the passing JavaScript-error gate are missing. Eight illegal-access
exceptions and one host onDelete exception remain failures. Cleanup/restoration
and both actual negative controls pass. **Zero of two complete repeats pass.**
The required result remains **two complete matching-build native passes**. There
are **zero**. The denominator remains **357 native cases**, including **258
behavioral obligations** and **40 device/layout profiles**. Focused checks and
partial full attempts do not count as repeats.
[Sanitized failed acceptance, complete available cases and artifact manifests](acceptance-failed-9c08d814.json)
retains the evidence. The test-only file-delete/detach cleanup race has a
deterministic regression and correction; the initial load timeout and illegal
access still require focused diagnosis. No production fix, exclusion expansion,
or blind full-run retry is applied. A new clean checkpoint is required for both
full repeats after test-tooling corrections. Historical checkpoints follow.
Current tested checkpoint:
Latest tested product: plugin `38bf80fbf42fe75784e31d9763fab35a3196b35c`,
fork `053a3b9f9e77917c457fce8ca9453d38b92a303b`, Extras
`1cdcb7c425a9b80afdc7b39c88861143b4b85e58`.
- Plugin: `098e6ee13dc245c5c86c57575dbf6d10c5f72052`
- Fork: `053a3b9f9e77917c457fce8ca9453d38b92a303b`
- Extras: `1cdcb7c425a9b80afdc7b39c88861143b4b85e58`
[Focus-correction summary and complete artifact hashes](focus-correction-summary.json)
records the approved `focus: false` change, four passing actual-method regressions
and the successful isolated phone embedding/device profile. Actual mobile mode,
390 x 844 geometry, rendered/exported pixels, save/reopen and restoration pass;
no window errors are recorded. Existing `patchMobileView` calls are unchanged.
The installed plugin main is 5,030,423 bytes, SHA-256
Changes after reviewed plugin `9c08d814` affect test tooling, its regression,
inventory and documentation/evidence only. **Production code is unchanged.** The
accepted PDF timeout/concurrency-lock rollback and approved fixes remain.
## Accessible evidence
- [Current status, counts, artifact/config hashes, restoration and next actions](acceptance-status.json)
- [Evidence checksums](acceptance-evidence-manifest.json)
- [First failed full attempt at 9c08d814](acceptance-failed-9c08d814.json)
([raw download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/acceptance-failed-9c08d814.json))
- [Failed full attempt at 098e6ee1](acceptance-failed-098e6ee1.json)
([raw download](https://raw.githubusercontent.com/zsviczian/obsidian-excalidraw-plugin/refs/heads/2026-10-28-automated-test-coverage/docs/testing-evidence/3022/acceptance-failed-098e6ee1.json))
Raw files retain available case assertions, measured geometry, decoded rendering
evidence, captured notifications/exceptions, bounded idle samples and missing
identities. Main/behavior observers can record the same event; their counts are
separate, not added as distinct notifications. No partial report is presented as
a complete pass.
## Current results
| Check | Result |
| --- | --- |
| Final portable gate | **655 passed: 57 new / 598 reused**, plus source-coverage and package-consumer gates |
| Plugin fast | 477 passed: 43 new / 434 reused |
| Fork source / browser | 127 passed (12 new / 115 reused) / 18 reused passes |
| Extras source / browser | 29 passed (2 new / 27 reused) / 4 reused passes |
| Unchanged exclusive input recheck | All 16 text-history variants and the original desktop pointer profile pass |
| Focused corrected cleanup | Popout drop and all six 1000-element stability cycles pass; no notifications or unexpected exceptions |
| Full attempt at 9c08d814 | 353 required identities pass, stability cycle 3 fails, 3 identities missing; 9 unexpected exceptions |
| Full attempt at 098e6ee1 | 336 required identities pass, 21 missing after text-history failure; 4 unexpected exceptions |
| Both full attempts: behavior/device lanes | All 258 behavioral cases and all 40 device profiles pass in each |
| Cleanup, restoration, native negative controls | Pass in both attempts; two controls are outside the 357-case denominator |
| Complete native repeats | **0 / 2** |
| Final production audit | Pass; no additional production behavior changes |
The native plan contains 273 new / 84 reused identities. First attempt observed
273 new / 81 reused; second observed 273 new / 63 reused. Six desktop native-CLI
cases are planned: six execute in the first attempt and four in the second
(native authoring and Lucide are omitted after the earlier failure). Both mobile
public `EA.executeCLI` cases execute in each attempt and are counted separately.
Three historical PDF timeout/lock test identities were removed/replaced; the
source/coverage gate is not double-counted as extra portable cases.
## Remaining failures
1. **`text-undo-2976`: history button unavailable in the full sequence.** The
unchanged isolated 16-variant run passes. The direct helper's failure does not
retain the exact variant/action; capture that and DOM readiness/layout before
deciding whether tooling or product behavior is responsible. Its missing
result is not counted as passed, nor are the later 20 omitted identities.
2. **Four uncaught `illegal access` exceptions during
`native:lifecycle-dirty-popout-to-main`** in the latest production run. Scene
and persistence assertions pass; strict exception capture still fails. This
Electron 43.3.0 host predates the related
[43.5.0 teardown fix](https://releases.electronjs.org/pr/53041). The signature
matches a known upstream issue; complete causation is unproven. An approved
fixed-host comparison is a next step. No installer upgrade, production patch
or exception waiver was performed.
3. **Earlier `native:stability-roundtrip:3` first-commit timeout.** A proven
test-only file-delete/detach cleanup race caused its subsequent host `children`
exception and is corrected with a red-before/green-after regression. The load
timeout's cause remains unproven. All six focused cycles pass with passive
state snapshots; the latest full attempt stops before stability. Full-sequence
verification remains required.
The exact ResizeObserver diagnostic policy is unchanged. First attempt has two
trusted notifications during popout Markdown reading with successful bounded
settling; the latest has none. Storms, unstable geometry, other errors, every
debugger exception, failed persistence or cleanup remain failures. No focus
emulation, observer patch or broad exclusion was introduced.
## Repeatable commands and vault
The exclusive runtime vault is `.test-work/vaults/excalidraw-auto-test/`.
```powershell
npm.cmd run verify:obsidian -- --text-undo --devices --device-profiles=desktop-wide-full-light
npm.cmd run verify:obsidian -- --internal-drop --stability
# After blockers are resolved, use separate fresh report directories:
npm.cmd run test:native
npm.cmd run test:native
npm.cmd run test:regression:portable
node scripts/testing/review3022ProductionDiff.mjs
```
Every native sequence builds, deploys and hash-verifies workspace fork/plugin/
Extras artifacts, configures/enables plugins, verifies the explicit canonical CLI
target and restores the 22-file seed baseline under the application-session lock.
One-time opening/trust/CLI prerequisites are complete. No stale or personal/
desktop-vault fallback is allowed. [Full setup and recovery](../../OBSIDIAN_RUNTIME_TESTING.md).
The working vault is installed and usable: both plugins ready, baseline note and
collapsed sidebars restored, desktop mode, no tasks, print roots or popouts. Plugin
main is **5,030,423 bytes**, SHA-256
`cdc284000720118563ddfddcd482b8b9ade49be354619584e06fc3e4cf1cd6df`.
Fresh portable validation passes **654 canonical cases (56 new / 598 reused)**:
476 plugin fast, 127 fork source, 18 fork browser, 29 Extras source and four Extras
browser cases. Source-coverage and packed-consumer gates pass separately.
[Hosted Plugin tests](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/40914623771)
and [CodeQL](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/40914623903)
pass at this source checkpoint. The exact production audit passes the PDF rollback,
approved plain-PDF/font/internal-preview-focus corrections and release notes.
Native evidence covers Windows Electron and emulated phone/tablet layouts with
measured mobile mode/geometry. Physical Android/iOS/WebView/stylus behavior,
actual OS drag/clipboard, native macOS/Linux and isolated whole-app cold start
remain separate environments. Synthetic drag payloads are labeled separately.
**Zero of the two required complete native repeats have passed.** A full attempt
was interrupted for the maintainer's foreground PC use after all 172 desktop
behavior cases passed. Its keyboard/pointer failures remain recorded and require
an unchanged rerun with exclusive access; focus interference is plausible, not
proven. The task settled and the test vault's device/layout/settings baseline was
restored with both plugins ready and no tasks, print roots or popouts. Native
input is paused until the maintainer frees the machine. No partial run is counted.
See [F17 and the interruption findings](../../TESTING_FINDINGS_3022.md#f17---mobile-embedding-exception-approved-focus-correction).
The earlier independent-core product checkpoint was plugin `3fc7cc9caf89bb4ca8361c004109ac59528fce1e`,
fork `053a3b9f9e77917c457fce8ca9453d38b92a303b`, Extras
`1cdcb7c425a9b80afdc7b39c88861143b4b85e58`.
- [Sanitized native summary and case results](checkpoint-native-summary.json): all
**59 required independent core cases**, **15 popout drop variants** included,
plus one focused nested-pane interaction case pass. These 60 cases comprise
**16 new and 44 reused identities**. Both native negative controls pass.
- [Three-repository artifact/source manifests](checkpoint-artifact-manifests.json):
exact revisions, clean source identities, build commands, toolchains, bytes and
hashes. The native coordinator built, installed and hash-verified these builds
in `.test-work/vaults/excalidraw-auto-test/`.
- Fresh local portable verification passes **650 canonical cases**: **52 new,
598 reused**. Source/package gates pass separately. An earlier matching-product
[hosted portable run and downloadable reports](https://github.com/zsviczian/obsidian-excalidraw-plugin/actions/runs/40887221793)
also pass. Historical timeout/lock test identities were removed/replaced as
required by the PDF rollback; they are listed in the summary.
- The core run records **zero notifications and unexpected exceptions**, passed
cleanup and restored baseline. The native exception and deliberately broken
geometry controls prove that unrelated failures still fail.
- A real plugin-to-Extras PDF export passes: one 288 x 216 pt page, preserved
text, 3330 red pixels, 10,616 bytes. Its decoded page was visually inspected.
PDF SHA-256: `536b8e864e3c4e1c41e52faa9c0eb25fdf18cac5633bf6c45803db287c0888b8`.
That older core checkpoint predates the approved internal-node focus correction;
its phone/tablet error was subsequently reproduced and resolved in the focused
evidence above. It remains historical evidence, not a complete native repeat.
These are checkpoint summaries, not a replacement for the full 357-case profile
or its two matching-build repeats. The final evidence exporter refuses incomplete
acceptance. Native CLI-bearing cases in the full plan are six: four desktop
behavioral editing cases, native CLI authoring, and Lucide catalogue/authoring.
Two phone/tablet protocol workflows use public `EA.executeCLI` separately.
Use the [repeatable setup and execution commands](../../OBSIDIAN_RUNTIME_TESTING.md).
The seed has 22 tracked content/configuration files, including a declared workspace
layout. Plugin executables, raw reports and generated PDF/PNG files remain ignored.
Public summaries contain sanitized paths and synthetic fixtures only.
Physical mobile, native touch/WebView/stylus behavior, actual OS drag transports,
other native desktop operating systems and isolated whole-application cold start
remain separate environments; desktop emulation does not establish those claims.
Historical evidence: [initial independent core checkpoint](checkpoint-native-summary.json),
[its artifact manifests](checkpoint-artifact-manifests.json), and
[the approved focus-correction checkpoint](focus-correction-summary.json).
@@ -0,0 +1,21 @@
{
"schemaVersion": 1,
"status": "acceptance-failed",
"files": [
{
"name": "acceptance-status.json",
"sha256": "58dcf891f95ee47c65caa6686bca81b0d8ca95c76061fc3a6d3618c872b335b2",
"bytes": 521465
},
{
"name": "acceptance-failed-9c08d814.json",
"sha256": "42920c346cb3ac27f69e806f93b9bfc6cdd04fac2338af0b48b54d754d5f943e",
"bytes": 1664130
},
{
"name": "acceptance-failed-098e6ee1.json",
"sha256": "869a0ca3aec1a1e469bcc6870fbe9078ce193bdc9c7832603a69bcb8dd58e52e",
"bytes": 1442703
}
]
}
File diff suppressed because it is too large. Load diff
File diff suppressed because it is too large. Load diff