Skip to content

Pin OSA widget to 0.8.16 - #398

Merged
neuromechanist merged 1 commit into
stagingfrom
chore/repin-osa-0.8.16
Oct 1, 2026
Merged

neuromechanist merged 1 commit into
stagingfrom
chore/repin-osa-0.8.16

Conversation

@neuromechanist

@neuromechanist neuromechanist commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Production's Open Science Assistant widget moves from OSA 0.8.15 to 0.8.16 (v0.8.16, commit 0e966d6), in wrangler.toml [vars].
Staging follows OSA's develop with no hash (ADR 0018, update 2026-09-29), so it is not touched.

The release adds launcher settings (launcherPosition, launcherSize, launcherOpenSize, and desktop and mobile offsets; OSA #555).
This PR sets none of them. (Corrected after review: NEMAR's community config in OSA already writes out the five desktop values at what the launcher had, so nothing moves; see ADR 0018 and #403.)

ADR 0018 gets an update section recording the pin.

Verification

  • The tag v0.8.16 resolves to 0e966d60821dfc007928e46f80098ec9daf86b67
  • sha384-+eweaUHPTuzDVWdLIvO+EsdQEJxJ/4bVi5xK2rtXMwojX3u0yHHwTlJZNr9Ufvwk computed from GitHub's file and from jsDelivr's copy: byte-identical (399,337 bytes); jsDelivr's @v0.8.16 alias serves the same bytes
  • The same recipe reproduces the recorded 0.8.15 hash, so the method is sound
  • The widget's hosts are identical between 0.8.15 and 0.8.16, so the CSP needs no change
  • The real wrangler.toml values resolve to ready through resolveOsaWidget (the unit tests use fixtures and do not read wrangler.toml)
  • bun run test passes

After promotion to main

  • curl -s https://nemar.org/ | grep -o 'osa@[0-9a-f]*' shows 0e966d6
  • The widget opens on nemar.org with no Subresource Integrity error in the console

Production pins osa v0.8.16 (0e966d6) in wrangler.toml with its sha384
hash. The hash was computed from GitHub's file and jsDelivr's copy,
which are byte-identical, and the real wrangler values resolve to
"ready" through resolveOsaWidget. The widget's hosts are unchanged
from 0.8.15, so the CSP is untouched. Staging follows develop and is
not changed. Recorded as an update in ADR 0018.
@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying nemar-website with  Cloudflare Pages  Cloudflare Pages

Latest commit: e6c704f
Status: ✅  Deploy successful!
Preview URL: https://c47dbc62.nemar-website.pages.dev
Branch Preview URL: https://chore-repin-osa-0-8-16.nemar-website.pages.dev

View logs

@neuromechanist
neuromechanist merged commit ced44f7 into staging Oct 1, 2026
5 checks passed
@neuromechanist
neuromechanist deleted the chore/repin-osa-0.8.16 branch October 1, 2026 15:26
neuromechanist added a commit that referenced this pull request Oct 1, 2026
Entries for the mobile header fix (#397) and the OSA 0.8.16 pin (#398), the
existing Unreleased entries moved under the release each shipped in, and
0.2.16 to 0.2.23 written from the PRs in each release's notes. Docs only.
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.

1 participant