Skip to content

refactor(tests): consolidate Nextcloud Talk media admission proof - #176322

Merged
vincentkoc merged 1 commit into
mainfrom
refactor/test-audit-nextcloud-media-20261018
Oct 18, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
refactor/test-audit-nextcloud-media-20261018

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 18, 2026 •

Copy link
Copy Markdown
Member

Related: #135895

What Problem This Solves

Nextcloud Talk's media tests repeat allowlist behavior already covered through inbound admission and check the same WebDAV identity rejection twice.

User Impact

No production, security-policy, configuration, dependency, or user-visible behavior change.

Why This Change Was Made

Keep allowlist proof at inbound admission, including a normalized sender in the existing table. Keep WebDAV identity proof in the matching/mismatching collision-renamed-file table, carrying over the exact three-fetch assertion.

Audit ledger:

  • Reviewed all 41 declarations in the five inbound-media suites: 37 retained, four consolidated.
  • Five redundant expanded cases removed; one normalization row moved into the existing admission table. Media cases: 83 to 79.
  • Test lines: 2,490 to 2,386. The 55-line shared fixture remains used; production lines changed: zero.
  • Keep URL validation, metadata correlation, canonical user identity, response release, voice semantics, cancellation, staged-file ownership, caption handling, mention admission, and authorization boundaries.

Evidence

  • Baseline: 83/83 media cases across five files passed in 129.99s including compiler preparation.
  • Candidate: all 79 remaining media cases plus 18 core-policy/authorization sibling cases passed, 97/97 across seven files in 50.77s with compiler-cache reuse. These timings are not a speedup claim.
  • Mutation proof: removing sender normalization and WebDAV-ID rejection made the corresponding keepers fail for the intended reasons; the matching-ID control still passed. Restored both production files byte-for-byte, then all three selected cases passed in 26.28s.
  • Scoped typecheck, formatting, and git diff --check passed.
  • Fresh independent preservation review found no actionable P0-P2 issues and confirmed the policy/identity decisions are not supplied by mocks.
  • Targeted type-aware lint passed in 281.10s, including package-boundary declaration generation.
  • Exact-head hosted CI 39153942849, attempt 1: success; all 48 jobs terminal (16 successful, 32 skipped).
  • Native squash landed reviewed head c954038b1ce86b4d41d2f8bc87943a035d3bd161 as 4eb506379410de1d889750fa864055fcaf60e2b8 on October 18, 2026 at 18:34:13 UTC. Verified MERGED, landed main, and exact changed-file blobs.
  • Proof uses isolated fixtures, not a live Nextcloud deployment.

@vincentkoc vincentkoc self-assigned this Oct 18, 2026
@clawsweeper

clawsweeper Bot commented Oct 18, 2026

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc marked this pull request as ready for review October 18, 2026 18:23
@openclaw-barnacle openclaw-barnacle Bot added channel: nextcloud-talk Channel integration: nextcloud-talk size: S labels Oct 18, 2026
@vincentkoc
vincentkoc merged commit 4eb5063 into main Oct 18, 2026
165 checks passed
@vincentkoc
vincentkoc deleted the refactor/test-audit-nextcloud-media-20261018 branch October 18, 2026 18:34
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: nextcloud-talk Channel integration: nextcloud-talk size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant