Skip to content

1.2.4 — Foundry discovery timeout fixes

Choose a tag to compare

@daknoblo daknoblo released this 24 Sep 13:06
· 38 commits to main since this release

Foundry discovery timeout fixes

ai-ui 1.2.4 fixes two reproducible weaknesses in multi-resource inventory
refresh: transient metadata-request timeouts previously failed immediately,
and one slow sibling account could exhaust the group's deadline before healthy
accounts were queried.

Fixes

  • Retry transient metadata GET request timeouts, using the existing bounded
    backoff and a maximum of three attempts within the discovery deadline.
    Cancellation and non-transient failures still stop promptly.
  • Allow up to 20 seconds for response headers and 30 seconds per HTTP request,
    while retaining the 45-second overall group discovery deadline.
  • Discover sibling accounts with at most four concurrent workers per group.
    Healthy results and cached entries for failing accounts are retained;
    errors remain visible and saved deployment selections are unchanged.
  • Clarify English/German partial-refresh warnings and avoid presenting every
    resource-group listing failure as a missing Reader permission.

This changes only metadata discovery. Image generation/editing requests are
not automatically replayed, and Azure inference quotas are unchanged.

Upgrade and test

  1. Back up the persistent data volume.
  2. Update the existing container to ghcr.io/daknoblo/ai-ui:1.2.4, keeping the
    same volume, ports and environment settings. Fully reload the browser.
  3. Open Settings and choose Refresh deployments. Verify the image
    deployments from both configured regions are listed.
  4. Enable the desired deployments for image generation and image editing and
    save if they are not already selected.

No new environment variables, permissions or embedding reindex are required
when upgrading from 1.2.3. Persistent Azure/network failures can still produce
warnings; this patch does not suppress errors or guarantee availability.

Validation

  • New regression tests reproduced the missing timeout retry and sibling
    starvation before the fix, then passed afterward.
  • Focused timeout, cancellation and bounded-concurrency race tests passed five
    consecutive runs.
  • Full go test -race ./..., go vet ./..., static CGO_ENABLED=0 build,
    formatting and golangci-lint checks passed locally with Go 1.26.8.

The publication workflow gates image promotion on CI, blocking HIGH/CRITICAL
scans for both architectures, SBOM/provenance generation and keyless signing.
No production container is updated by publishing this release, and no live
Azure image generation is performed during verification.

Verified publication

  • Source: 0ca2342910be16217c6f7bb74f522109d11bd0e2 (PR #42 and the generated
    screenshot update).
  • Published image: ghcr.io/daknoblo/ai-ui:1.2.4.
  • Digest: sha256:484bfda728757f6d161a31b6ee0f1c6d78a2a09f128af6deb1f2957f082ff72f.
  • Tags 1.2.4, 1.2 and latest resolve to this same digest.
  • All PR and main checks passed, including the browser screenshot suite.
  • Release run 36003404063
    passed its quality gate and blocking HIGH/CRITICAL scans for Linux AMD64 and
    ARM64 before signing and promotion.
  • Cosign verified the exact refs/tags/v1.2.4 workflow identity, source commit,
    trusted certificate chain and transparency-log evidence.
  • Both platform attestations contain SPDX 2.3 SBOMs and matching SLSA source
    and version metadata.
  • Both published architectures passed startup and binary health checks with
    no networking, a read-only root filesystem, all Linux capabilities dropped,
    non-root UID/GID 65532 and temporary data only. Test containers were removed.
  • The 1.2.3 image remains unchanged. No production container was updated and no
    live Azure inference was performed.

See the attached release-v1.2.4-verification.json for the verification record.