• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Alan-Jowett / sonde / 25828738992
82%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:06PM UTC
Jobs 1
Files 124
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

13 May 2026 09:56PM UTC coverage: 83.125% (-0.02%) from 83.147%
25828738992

push

github

web-flow
fix: assign Storage Table Data Contributor in bootstrap (#900)

* fix: assign Storage Table Data Contributor in bootstrap

The bootstrap script deploys the Web UI and configures Entra permissions
but never grants the deploying user the \Storage Table Data Contributor\
role on the storage account. Without this role, the admin cannot access
the programs table via the SPA after bootstrap completes.

Add the same role-assignment step that \deploy/web-ui/deploy.sh\ already
performs: resolve the signed-in user principal and assign the role scoped
to the storage account.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: add CORS to Function App for SPA program ingest

The SPA uploads BPF programs by POSTing to the Function App's
\/api/programs/ingest\ endpoint. Without CORS configured on the
Function App, the browser blocks the preflight OPTIONS request and
\etch()\ fails with 'Failed to fetch'.

Pass the Static Web App origin (\https://<hostname>\) into the
Function App module and configure \siteConfig.cors.allowedOrigins\.
This mirrors what \deploy/web-ui/deploy.sh\ already does via
\z functionapp cors add\.

Also remove the unnecessary explicit \dependsOn\ entries in
\stack.bicep\ that the Bicep linter warned about — the implicit
dependencies from \storage.outputs\ and \unctionPlaceholder.outputs\
references are sufficient.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: send JSON with base64 ELF for program ingest

The Azure handler's \ProgramIngest\ endpoint expects a JSON body with
a base64-encoded \lf\ field, but the SPA was sending
\multipart/form-data\ with the raw file. This caused the handler to
fail parsing the HTTP envelope body as JSON, returning 'Program ingest
failed'.

Read the file as an ArrayBuffer, encode to base64, and POST JSON with
\Content-Type: application/json\.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

* fix: address review feedback on bootst... (continued)

34246 of 41198 relevant lines covered (83.13%)

194.79 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
79.7
-0.31% crates/sonde-azure-companion/src/main.rs
2
70.81
-0.1% crates/sonde-gateway/src/bin/gateway.rs
Jobs
ID Job ID Ran Files Coverage
1 25828738992.1 13 May 2026 10:05PM UTC 124
83.13
GitHub Action Run
Source Files on build 25828738992
  • Tree
  • List 124
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25828738992
  • 0e3f3e80 on github
  • Prev Build on main (#25824709908)
  • Next Build on main (#25828749666)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc