Skip to content

fix(desktop): retain update signature verification op - #36152

Merged
littledivy merged 2 commits into
denoland:mainfrom
rathodkunj2005:fix-desktop-verify-op
Aug 4, 2026
Merged

littledivy merged 2 commits into
denoland:mainfrom
rathodkunj2005:fix-desktop-verify-op

Conversation

@rathodkunj2005

Copy link
Copy Markdown
Contributor

Summary

  • retain op_desktop_verify_ed25519 when imported ops are removed during runtime bootstrap
  • assert that the desktop update signature-verification op remains exposed

Without this entry, the desktop auto-update initializer receives undefined for the verification op and cannot stage signed updates.

Closes #36150

Verification

  • ./tools/format.js --check runtime/js/99_main.js tests/unit/ops_test.ts
  • ./tools/lint.js --js runtime/js/99_main.js tests/unit/ops_test.ts

Signed-off-by: kunjrathod2005 <rathodkunj2005@gmail.com>
@littledivy
littledivy enabled auto-merge (squash) July 26, 2026 06:16
auto-merge was automatically disabled August 4, 2026 03:46

Head branch was pushed to by a user without write access

@rathodkunj2005

Copy link
Copy Markdown
Contributor Author

Pushed a small follow-up for the CI failure: workerDoesNotExposeImportedOps now expects the extra desktop verification op in workers as well as the main runtime.

Verification:

  • deno fmt --check tests/unit/ops_test.ts runtime/js/99_main.js passed.
  • cargo test -p unit_tests --test unit ops_test --no-default-features could not complete locally because this runner ran out of disk space (No space left on device), so CI is the authoritative check for the full unit run.

@littledivy
littledivy merged commit c347f34 into denoland:main Aug 4, 2026
136 checks passed
bartlomieju pushed a commit that referenced this pull request Aug 6, 2026
## Summary

- retain `op_desktop_verify_ed25519` when imported ops are removed
during runtime bootstrap
- assert that the desktop update signature-verification op remains
exposed

Without this entry, the desktop auto-update initializer receives
`undefined` for the verification op and cannot stage signed updates.

Closes #36150

## Verification

- `./tools/format.js --check runtime/js/99_main.js
tests/unit/ops_test.ts`
- `./tools/lint.js --js runtime/js/99_main.js tests/unit/ops_test.ts`

---------

Signed-off-by: kunjrathod2005 <rathodkunj2005@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants