Skip to content

fix(proxies): refresh usage references after provider deletion - #925

Merged
nixuuu merged 1 commit into
devfrom
fix/clear-stale-proxy-usage
Nov 17, 2026
Merged

nixuuu merged 1 commit into
devfrom
fix/clear-stale-proxy-usage

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 17, 2026

Copy link
Copy Markdown
Member

Change

After deleting a provider, Settings → Proxies could retain its stale “Used by” reference and keep Delete disabled. The proxy feed revision now includes provider references, worker overrides and worker names, so reference changes refresh the shared proxy list automatically.

Update the proxy documentation and add real gRPC/BFF regression coverage for provider deletion, detaching and restoring worker overrides, cascading assignment deletion, and subsequent proxy deletion.

Verification

  • Reproduced the failure before the fix: the gateway returned no references while the BFF retained the deleted provider.
  • Passed 14 integration tests through bun run check:tmp ./tests/integration/bff-reads.test.ts ./tests/integration/overview-feeds.test.ts; temporary directory clean.
  • Re-ran both proxy-reference cases after the final assertion change; both passed, with temporary directory clean.
  • Edited-file lint and formatting passed; git diff --check passed.
  • No UI markup or user-facing copy changed; a copy audit is not required.
  • Full repository checks, remaining tests and builds are left to CI.

Fixes: #458

Include provider and worker override references in the proxy feed revision so cached usage and deletion controls update after references change.

Fixes: #458
@nixuuu
nixuuu enabled auto-merge (squash) November 17, 2026 10:11
@nixuuu
nixuuu merged commit fea18fb into dev Nov 17, 2026
15 checks passed
@nixuuu
nixuuu deleted the fix/clear-stale-proxy-usage branch November 17, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant