Skip to content

[codex] clear denylist when deleting integration#641

Merged
winhowes merged 1 commit intomainfrom
codex/delete-integration-denylist-cleanup
Apr 25, 2026
Merged

[codex] clear denylist when deleting integration#641
winhowes merged 1 commit intomainfrom
codex/delete-integration-denylist-cleanup

Conversation

@winhowes
Copy link
Copy Markdown
Owner

Summary

Clear an integration's denylist state when DeleteIntegration removes the integration. The existing deletion path already removed allowlist state, but left denylist entries behind.

Root Cause

DeleteIntegration deleted from integrations.m and allowlists.m, but did not delete the matching entry in denylists.m. If an integration was deleted and later recreated with the same name, stale denylist rules could still block requests unexpectedly.

Changes

  • Delete the integration's denylist entry during DeleteIntegration.
  • Add a regression test alongside the existing integration deletion tests.

Validation

  • go test -run TestDeleteIntegration -count=1 ./app
  • go test ./...
  • go vet ./...

@winhowes winhowes marked this pull request as ready for review April 25, 2026 01:21
@winhowes
Copy link
Copy Markdown
Owner Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Hooray!

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@winhowes winhowes merged commit 7b9bdb8 into main Apr 25, 2026
3 checks passed
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