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

Alan-Jowett / sonde / 25828738992 / 1
82%
main: 82%

Build:
DEFAULT BRANCH: main
Ran 13 May 2026 10:06PM UTC
Files 124
Run time 4s
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.1

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

Source Files on job 25828738992.1
  • Tree
  • List 124
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25828738992
  • 0e3f3e80 on github
  • Prev Job for on main (#25824709908.1)
  • Next Job for on main (#25828749666.1)
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