Skip to content

fix(test): preserve admitted Visitor Access renewals - #201736

Merged
vincentkoc merged 1 commit into
mainfrom
fix/visitor-access-admission-tests-20261119
Nov 19, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/visitor-access-admission-tests-20261119

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Visitor Access tests still expect device revocation to interrupt an already-admitted renewal. The current captured-admission contract lets that renewal finish while fresh requests must obtain new authority.

User Impact

No production behavior changes. The tests now verify that admitted renewals commit and that their execution ownership is released afterward.

Why This Change Was Made

Require successful plugin renewal, preserved creation time, increased expiry, and an accepted commit in both revocation scenarios. Keep the admin/writer cases, exact admission stages, and provider-write assertions. Check final execution-owner cleanup inside the existing cleanup wait.

Related: #199959

Evidence

  • Full pin validation fails both revocation rows under Node and Bun at the obsolete immediate-owner-removal assertion.
  • Source inspection confirms admitted authority excludes device currency; fresh reauthorization checks it. Visitor renewal uses the admitted authority through its commit boundary.
  • Independent source review and ClawSweeper found no correctness or security issues. Normal commit formatting and line-cap checks and git diff --check passed. No new tests, timing changes, mocks, or production changes.
  • Exact-head hosted Node/Bun proof passed all five Visitor Access cases under both runtimes, including admin, writer, revocation before commit, revocation after commit, and profile/grant reopening. The existing dual-all runtime selector was used. Log SHA-256: 68ec44383a4022591fdb117901128bceecb9e79231b6feeb4441ce83c474741f. Local dependencies are unqualified; runtime proof uses the established hosted route.

@vincentkoc vincentkoc self-assigned this Nov 19, 2026
@clawsweeper

clawsweeper Bot commented Nov 19, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

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

ClawSweeper review ended

ClawSweeper stopped reviewing this revision because the pull request closed.

View the workflow run.

@openclaw-barnacle openclaw-barnacle Bot added gateway Gateway runtime size: XS labels Nov 19, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review November 19, 2026 09:01
@vincentkoc
vincentkoc enabled auto-merge (squash) November 19, 2026 09:02
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Nov 19, 2026
@vincentkoc
vincentkoc merged commit 03115b5 into main Nov 19, 2026
265 checks passed
@vincentkoc
vincentkoc deleted the fix/visitor-access-admission-tests-20261119 branch November 19, 2026 09:13
@vincentkoc

Copy link
Copy Markdown
Member Author

Merged via squash auto-merge.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. gateway Gateway runtime size: XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant