Repository navigation
test: prove native Operations narrow-viewport horizontal access - #292
Conversation
Preserve intentional results-region scrolling. Add four measured real-browser positives and two inaccessible-clipping controls, with owned fixture cleanup, clipboard and destination-data assertions. Scoped InMemory and actual Compose Prisma each pass 6/6; strict new-spec compile passes. Production inputs, locks, pixel baselines and gates are unchanged. Self-improvement applied; design accepted because the existing panel already owns scrolling. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
pranems
left a comment
There was a problem hiding this comment.
Parent exact-tip source review completed for all five changed files and the preserved repository PR template. No high-confidence correctness finding was identified. The test measures clipping-ancestor/viewport intersection and hit testing, uses natural wheel input instead of setting scrollLeft, checks every header/cell and existing row action, verifies clipboard values and actual destination HTTP/resource data, and rejects two deliberately inaccessible fixtures. Production CSS is correctly unchanged.
Independently authenticated all 186 sealed evidence files (zero hash/size mismatches), verified both final result inventories are 6 expected / 0 unexpected / 0 skipped / 0 flaky / 0 errors, and ran the exact new-spec strict TypeScript command successfully. No duplicate browser/runtime or full-suite run was performed. The five-file diff does not change protected application/image inputs or any lock. Owner records normal Fast 29/29 and exact owned cleanup with original 11/49/6 identities preserved, not fresh data-byte proof.
Existing exact-head CI is still being awaited; this comment is source review, not an independent GitHub approval or a CI/deployment acceptance claim. No Azure, directory, operator visual, performance or Desktop-removal acceptance is added. Test/gate improvement is applied through discriminating natural-access and destination-data assertions; design is accepted because the existing cohesive scrolling panel works without speculative production changes.
Summary
Prove existing Operations horizontal access through real browser input at 1440px and 900px, without changing production CSS.
The existing results region is 561px wide at 900px. Horizontal wheel input
naturally scrolls the 640px table by 79px, moving the trailing cell right
edge from 930px to 851px inside the clipped visible region. Both All-users
and All-groups pass. The spec measures every header/cell/action against the
viewport and clipping ancestors, verifies real inner overflow, checks ID and
timestamp clipboard copies, and waits for exact destination resource data.
Two deliberately inaccessible fixtures are rejected by the same assertion.
This is a test/documentation-only outcome on normally merged base a72f95b
(PR #291), product 0.55.70. Production API/web/Dockerfile/manifests and all
three locks remain equivalent to the qualified nonshipping f8 image.
Linked Defect / Plan Reference
docs/CONTAINER_RUNTIME_REMOVAL_READINESS.md, "Native narrow-viewport access follow-up, 2026-11-25".TDD Process
api/src/security/). Six permanent Playwright cases use measured outcomes, including two negative controls.Feature / Bug-Fix Commit Checklist (standing rule)
Every behavioral change must include all that apply. Tick or strike through with N/A + reason.
api/test/e2e/exercising the feature through HTTP. N/A: no API behavior changes; six browser cases are added underweb/e2e/.scripts/live-test.ps1runnable against local + Docker + Azure. N/A: no live API behavior change; actual scoped native InMemory and Compose Prisma browser proof was executed.docs/with architecture, RFC references, Mermaid diagrams, test coverage. N/A for a new doc: update the existing runtime-removal readiness record with measurements, scope and approval limits.docs/INDEX.md. N/A: no new documentation file.[Unreleased]entry with full test counts and feature summary. Added six-case scoped evidence; prior complete 353-pass corrected and original 352-pass/1-fail browser receipts remain separate.Session_starter.mdanddocs/CONTEXT_INSTRUCTIONS.md. Updated measurements and explicit local-only limits.api/package.json(and any other version refs) when behavior changed. N/A: production behavior/manifests/locks unchanged, version remains 0.55.70.Validation Output
Exact focused commands, run from
webwithE2E_TOKENandE2E_OAUTH_CLIENT_SECRETset only in the process using public owned test defaults:Results are respectively 6 pass, 6 pass, exit 0.
$eis the private receiptdirectory outside the repository, retaining failed attempts and final
geometry/correlation receipts outside the repository.
Fresh-worktree preparation used separate immutable approved-proxy web/root
npm ci --no-audit --no-fundonly after actual missing-module failures, andpwsh -NoProfile -File scripts\build-standalone.ps1 -PrepareOnlyafter theactual missing API TypeScript command. Preparation passed and did not start
a datasource. No dependency updates or local lock generation occurred.
The exact normal push was:
Result: exit 0, exact head
b5f0d405087727176932c89d99baa62c8ac5b437pushed to the same task branch; 29 normal Fast gates passed. The hook ran
API build/lint, web TypeScript/build, documentation/supply-chain/runtime
contracts, unit and InMemory HTTP suites without changing gate definitions.
API E2E's existing configuration skips are reported above rather than
misrepresented as zero-skip evidence. The new scoped browser cases have zero
skips in both actual native modes.
No duplicate manual full suite, full new browser matrix, cloud browser
execution, performance qualification or deployment was performed.
Standing Rules Acknowledgment
U+2014) anywhere in the diff. Verified viaSelect-String -Pattern ([char]0x2014). Added diff lines also checked before commit.git commit --amendon history that has been pushed. Normal new commit only.api/src/security/forbidden-source-patterns.spec.tswill catch known anti-patterns. Existing fixture token configuration is reused.api/src/scripts/lint-migrations.tsenforces this. N/A: no migration changes.Destructive Migration Override (skip if not applicable)
ALLOW_DESTRUCTIVE_MIGRATION=1in the CI environment for this PR. N/A: not set or needed.Reviewer Hint
Diff areas worth special attention from the reviewer:
web/e2e/operations-horizontal-access.spec.ts: clipping-ancestor intersection,hit testing, natural wheel input rather than programmatic
scrollLeft,real administrative row identity, all headers/cells/actions and two
nested-clipping negative controls.
equivalence and measured scope without calling the whole pipeline green.
destination-data checks. Design disposition: accepted; the existing
results panel already owns scrolling, so production abstraction/CSS
changes would be speculative.
Approval limits: independent parent exact-diff review and normal merge are
still required. Docker Desktop and all original artifacts/backups are
untouched; the offline global bridge was not restarted. Identity preservation
is not fresh data-byte proof. Azure work remains blocked by the missing
approved existing ACR mirror. No cloud writes/login, deployment, production
or canary promotion, operator visual acceptance or Desktop removal is claimed.