Skip to content

Add remote config wasm layer - #197

Open
bwoebi wants to merge 5 commits into
mainfrom
bob/rc
Open

Add remote config wasm layer#197
bwoebi wants to merge 5 commits into
mainfrom
bob/rc

Conversation

@bwoebi

@bwoebi bwoebi commented Aug 7, 2026

Copy link
Copy Markdown

Also consistently upgrades everything to the same rev instead of multiple revs being pinned.

Tests in particular completely LLM generated.

@bwoebi
bwoebi requested review from a team as code owners August 7, 2026 12:59

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: fecc6f1307

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread package.json Outdated
Comment thread crates/capabilities/src/http.rs
@bwoebi
bwoebi force-pushed the bob/rc branch 4 times, most recently from 18b2b9e to 06d9e93 Compare August 10, 2026 14:48
@github-actions

github-actions Bot commented Aug 10, 2026

Copy link
Copy Markdown

Overall package size

Self size: 31.41 MB
Deduped: 31.41 MB
No deduping: 31.41 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

bwoebi added 3 commits August 21, 2026 16:00
Also consistently upgrades to v40.0.0 instead of multiple revs being pinned.
// Node itself exposes one major later. An existing one is never overwritten.
module.exports.ensureWebCrypto = function ensureWebCrypto () {
if (globalThis.crypto === undefined) {
globalThis.crypto = require('node:crypto').webcrypto

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we do this in other places? We should avoid modifying the global if we can.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the generated wasm directly defers to crypto...
It's just a polyfill for node 18 and 19.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"Just" a polyfill that may impact or be impacted by customer code. Can we make the generated wasm code not do this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants