Record live screenshot coverage, measured performance and fixture cleanup
This commit is contained in:
parent
81d5693ce2
commit
c76673b39c
44
Docs/WritingSolver/CuratedV2/ScreenshotLibrary/Deployment.md
Normal file
44
Docs/WritingSolver/CuratedV2/ScreenshotLibrary/Deployment.md
Normal file
@ -0,0 +1,44 @@
|
||||
# Development deployment and verification
|
||||
|
||||
Runtime **`81d5693`**, based on repository `48a2421` and previously approved theme runtime `cf1dc11`. Production unchanged.
|
||||
|
||||
- Release `/srv/apps/plotdirector-dev/releases/81d5693-20261102T101022Z`.
|
||||
- Previous application `/srv/apps/plotdirector-dev/current-before-81d5693-20261102T101022Z`.
|
||||
- Published/deployed DLL SHA-256 matched `5363f88c10c602cfabd0a403911fe0df2b5c67c583c498824aa6b396a4ad8dba`.
|
||||
- Development database verified before operations; active/queued import, Story Intelligence, synthesis and enrichment check was empty before restart. Service active; public TLS requests succeeded; no warning/error journal entries during live verification.
|
||||
- No application database migration, solver graph publication, theme-palette change or Production change.
|
||||
|
||||
## Automated and live browser results
|
||||
|
||||
- Solution build passed with two existing nullable warnings.
|
||||
- Full executable regression harness: **392 PASS**. Solver acceptance, current prefixes, exhaustive reachability, zero corroborated dead ends and presentation evidence tests remain unchanged. All 60 cases/290 current prefixes and 52 primary-capable diagnoses remain covered.
|
||||
- C# presentation coverage requires every capability's real base image, descriptive alt and all six responsive/format variants. Library remains 14 distinct assets; every primary diagnosis maps to one.
|
||||
- Existing dead-end/result browser suite passed with the image expectations updated from placeholders to real decoded images; public/signed-in CTA, optional secondary/article, reassurance/insufficient evidence and JS/no-JS behaviours preserved.
|
||||
- New library browser suite passed first on the isolated Razor host, then on **actual deployed Development**: all 52 direct diagnosis URLs; 11 view families at **390, 768, 1440 and 1920px**; correct alt; one primary image; no old Development Preview placeholder; no broken image; exactly one chosen image download; AVIF and simulated unsupported-AVIF WebP fallback; clean URL; full-width decorative canvas; <=930px readable column; no horizontal overflow.
|
||||
- Live authenticated completion passed: four actual answers reached the clean D01 slug, personal evidence remained, screenshot decoded and the signed-in workspace CTA remained. Actual account menu showed PlotDirector spanning both columns, with six alternatives in three paired rows.
|
||||
- Existing clean-URL live browser suite passed again: refresh, fresh sharing, Back/Forward, changed answer/new diagnosis, Start again, JS/no-JS, 390/1440px, metadata and all 52 generic direct pages. Development noindex retained.
|
||||
- AVIF and WebP public GETs returned 200 with `image/avif` and `image/webp` MIME types respectively.
|
||||
|
||||
## Measured performance
|
||||
|
||||
Three fresh browser contexts per width, DPR 1, ordinary unthrottled HTTPS Development connection. Measurements are local observations, not controlled real-user percentile estimates. Raw samples are in performance-before.json and performance-after.json.
|
||||
|
||||
| Width | Before median LCP | After median LCP | Max CLS before/after | After screenshot download |
|
||||
| --- | --- | --- | --- | --- |
|
||||
| 390px | 728ms | 260ms | 0 / 0 | One 640px AVIF, 14,201 encoded bytes (14,501 including browser-reported transfer overhead) |
|
||||
| 1440px | 436ms | 296ms | 0 / 0 | Same single correctly sized AVIF |
|
||||
|
||||
No causal speedup is claimed from those variable timings. The important result is that LCP remained the existing decorative background, **not the screenshot**, so native lazy loading remains appropriate. No duplicate WebP/AVIF fetch occurred. Total measured page transfer increased from 3,016,901 to 3,031,684 bytes: **14,783 bytes / 0.49%**. The existing approximately 3 MB background dominates transfer and was not modified in this screenshot task. Higher-DPR browsers select the 960/1280 variants as needed; they do not download the whole library.
|
||||
|
||||
Explicit dimensions and proportional variants produced zero observed CLS. Native browser enlargement opens the full WebP through an accessible link rather than loading another large image automatically.
|
||||
|
||||
## Example pages
|
||||
|
||||
- https://dev.plotdirector.com/writing-problems/too-many-storylines-to-manage — shared Plot Lines view.
|
||||
- https://dev.plotdirector.com/writing-problems/comparing-different-story-versions — named scenario alternatives.
|
||||
|
||||
All assets, source views, sharing groups, crop dimensions and alt text are in AssetManifest.md and the machine-readable screenshot-assets-v1.json. PNG masters remain internal; public delivery is AVIF/WebP only. No real author's private manuscript or account information is in the published captures.
|
||||
|
||||
## Temporary fixture cleanup
|
||||
|
||||
The test identity, sample project/data and private credential file were removed. The normal account-deletion workflow initially stopped on the existing `SubscriptionOverride.UserID` foreign key. Only this isolated fixture's time-limited override and matching self-owned audit record were removed under strict Development/identity/reason guards, then the normal authenticated deletion completed. This reveals a separate account-cleanup omission for users with entitlement overrides; no account-deletion application code was changed in this screenshot task. No other author data was touched.
|
||||
@ -0,0 +1,110 @@
|
||||
[
|
||||
{
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 324,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 260,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"run": 2,
|
||||
"lcp": {
|
||||
"ms": 252,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 348,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 268,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 2,
|
||||
"lcp": {
|
||||
"ms": 296,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [
|
||||
{
|
||||
"url": "https://dev.plotdirector.com/images/writing-solver/plot-lines-weave-640.avif",
|
||||
"transfer": 14501,
|
||||
"encoded": 14201
|
||||
}
|
||||
],
|
||||
"totalBytes": 3031684
|
||||
}
|
||||
]
|
||||
@ -0,0 +1,74 @@
|
||||
[
|
||||
{
|
||||
"width": 390,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 972,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 588,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
},
|
||||
{
|
||||
"width": 390,
|
||||
"run": 2,
|
||||
"lcp": {
|
||||
"ms": 728,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 0,
|
||||
"lcp": {
|
||||
"ms": 540,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 1,
|
||||
"lcp": {
|
||||
"ms": 436,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
},
|
||||
{
|
||||
"width": 1440,
|
||||
"run": 2,
|
||||
"lcp": {
|
||||
"ms": 396,
|
||||
"url": "https://dev.plotdirector.com/images/public/writing-solver-desk.png",
|
||||
"tag": "DIV"
|
||||
},
|
||||
"cls": 0,
|
||||
"images": [],
|
||||
"totalBytes": 3016901
|
||||
}
|
||||
]
|
||||
Loading…
x
Reference in New Issue
Block a user