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

Alan-Jowett / sonde / 25753894085 / 1
83%
main: 83%

Build:
DEFAULT BRANCH: main
Ran 12 May 2026 06:33PM UTC
Files 124
Run time 6s
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

12 May 2026 06:23PM UTC coverage: 83.026% (-0.02%) from 83.043%
25753894085.1

push

github

web-flow
feat(bootstrap): deploy SPA and configure Entra app during bootstrap (AZC-0410) (#882)

* feat(bootstrap): deploy SPA and configure Entra app during bootstrap (AZC-0410)

Integrate Web UI SPA deployment into the unified bootstrap flow so that
sonde-azure-companion bootstrap provisions all Azure surfaces in a single
command: infrastructure (Bicep), handler function, SPA content, and Entra
app configuration.

Implementation:
- Extend bootstrap.sh to extract SWA-related Bicep outputs
  (staticWebAppName, staticWebAppHostname, companionClientId,
  storageAccountName, companionTenantId).
- Generate config.json from deployment outputs for the SPA.
- Deploy SPA content to Static Web App via az CLI / REST API fallback.
- Register SWA hostname as SPA redirect URI on Entra app (merge with
  existing URIs via jq).
- Add Azure Storage user_impersonation API permission to Entra app.
- Add jq and zip to bootstrap Docker image; copy web-ui static assets.

Specification:
- New requirement AZC-0410 with 8 acceptance criteria.
- Updated AZC-0201 to include SPA/Entra in lifecycle scope.
- Extended design section 4.2 with step 17 (SPA deployment inside
  bootstrap container, before state commit).
- Updated design sections 5, 8.5, 8.7.
- New validation test T-AZC-0418.
- Updated web-ui-design.md and Bicep README.

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

* fix(bootstrap): address review feedback on SPA deployment

- Remove dead code: move zip creation and deployment token retrieval
  into fallback branch only; remove unused swa_api_hostname variable.
- Fix redirect URI read: fail bootstrap on az ad app show failure
  instead of silently falling back to empty list (prevents URI
  overwrite).
- Fix permission add: check if permission already exists before adding;
  propagate unexpected errors instead of masking with || true.
- Fix specs: add companionTenantId to AZC-0410 step 1, design step
  17(a), and validation T-AZC-0418 stubs. Fix missing s... (continued)

33750 of 40650 relevant lines covered (83.03%)

197.14 hits per line

Source Files on job 25753894085.1
  • Tree
  • List 124
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25753894085
  • 2fb9a9ce on github
  • Prev Job for on main (#25746740993.1)
  • Next Job for on main (#25753918747.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