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

Alan-Jowett / sonde / 26550860189
82%

Build:
DEFAULT BRANCH: main
Ran 28 May 2026 02:36AM UTC
Jobs 1
Files 130
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

28 May 2026 02:26AM UTC coverage: 82.58% (+0.03%) from 82.547%
26550860189

push

github

web-flow
feat: environment settings import/export for web UI (#1074) (#1077)

Add import/export support for environment settings in the SPA and have
the Azure companion bootstrap emit a \web-ui-environment.json\ file.

**Azure companion changes:**
- Add \WebUiEnvironmentFile\ struct with schema \{version, name,
  clientId, tenantId, storageAccount, functionAppName}\
- Add \BootstrapArtifacts\ struct to replace 3-tuple return from
  \parse_bicep_outputs\
- Parse \storageAccountName\ and \unctionAppName\ from Bicep outputs
- Write \web-ui-environment.json\ during bootstrap (not required for
  runtime readiness)
- Add tests for round-trip serialization and runtime independence

**Bicep changes:**
- Add \storageAccountName\ to \companionBootstrapValues\ output

**Web UI changes:**
- Add per-environment Export button (downloads sanitized JSON file)
- Add Import button in environment manager and first-load modal
- Validate imported JSON: version must be 1, fields must match
  WEB-0802 patterns, extra properties silently ignored
- Blank name prompts user; conflicts offer overwrite or rename
- Overwriting active environment triggers MSAL re-initialization
- Extract shared validation (\alidateEnvironmentFields\) to reduce
  duplication between import and manual entry

**Specification changes:**
- New: AZC-0413 (bootstrap web-ui-environment artifact)
- Modified: AZC-0403 (add \storageAccountName\ to Bicep values)
- New: WEB-0807 (import), WEB-0808 (export)
- Modified: WEB-0803 (first-load import), WEB-0804 (Export button)
- Updated design and validation docs with test cases T-AZC-0433,
  T-WEB-0810 through T-WEB-0822

Closes #1074

Signed-off-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Alan Jowett <alan.jowett@microsoft.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

78 of 88 new or added lines in 1 file covered. (88.64%)

39461 of 47785 relevant lines covered (82.58%)

238.76 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
81.77
0.65% crates/sonde-azure-companion/src/main.rs
Jobs
ID Job ID Ran Files Coverage
1 26550860189.1 28 May 2026 02:36AM UTC 130
82.58
GitHub Action Run
Source Files on build 26550860189
  • Tree
  • List 130
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #26550860189
  • 8d33b71e on github
  • Prev Build on main (#26545897875)
  • Next Build on main (#26555759966)
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