-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): remove quote-public-view orphan + clean 5 ghost entries (close B-9) #226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
adm01-debug
merged 2 commits into
main
from
fix/ci-remove-quote-public-view-orphan-and-snapshot-ghosts
May 15, 2026
+88
−651
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -26,32 +26,32 @@ const FN_ROOT = "supabase/functions"; | |||||
| // ⚠️ Snapshot tirado em 2026-04-27. NÃO ADICIONAR novas entradas. | ||||||
| // Migrar uma edge para o logger SSOT remove-a daqui. | ||||||
| const LEGACY_ALLOWLIST = new Set([ | ||||||
| "ai-recommendations","analyze-logo-colors","bi-copilot","bi-share-dossier", | ||||||
| "ai-recommendations","analyze-logo-colors","bi-copilot", | ||||||
| "bitrix-sync","block-ip-temporarily","categories-api","cleanup-notifications", | ||||||
| "cleanup-novelties","cnpj-lookup","collections-public-react","collections-watcher", | ||||||
| "cleanup-novelties","cnpj-lookup","collections-watcher", | ||||||
| "commemorative-dates","comparison-ai-advisor","comparison-price-watcher", | ||||||
| "comparisons-public-react","connection-tester","connections-auto-test", | ||||||
| "connection-tester","connections-auto-test", | ||||||
| "connections-health-check","connections-hub-audit","crm-db-bridge", | ||||||
| "detect-new-device","dropbox-list","e2e-cleanup","elevenlabs-scribe-token", | ||||||
| "elevenlabs-tts","expert-chat","external-db-bridge","external-db-inspect", | ||||||
| "favorites-watcher","force-global-logout", | ||||||
| "full-op-diagnostics","generate-ad-image","generate-ad-prompt","generate-mockup", | ||||||
| "generate-mockup-nanobanana","generate-product-seo","get-visitor-info", | ||||||
| "generate-product-seo","get-visitor-info", | ||||||
| "github-credentials-test","health-check","image-proxy", | ||||||
| "kit-ai-builder","kit-identity-suggest","kit-public-view","log-login-attempt", | ||||||
| "kit-ai-builder","kit-identity-suggest","log-login-attempt", | ||||||
| "magic-up-score","manage-users","market-intelligence-insights","materials-api", | ||||||
| "mcp-keys-issue","mcp-keys-revoke","mcp-keys-rotate","mcp-keys-update", | ||||||
| "mcp-server","ownership-audit","ownership-repair","process-queue", | ||||||
| "process-scheduled-reports","product-webhook","quote-followup-reminders", | ||||||
| "quote-public-view","quote-sync","rate-limit-check","rls-audit", | ||||||
| "quote-sync","rate-limit-check","rls-audit", | ||||||
| "rls-integration-tests","rls-matrix-export","secrets-manager","semantic-search", | ||||||
| "send-digest","send-notification","send-scheduled-reports", | ||||||
| "send-transactional-email","step-up-verify","sync-quote-bitrix","tests", | ||||||
| "trends-insights","validate-access","verify-email","visual-search", | ||||||
| "voice-agent","webhook-dispatcher","webhook-inbound", | ||||||
| ]); | ||||||
|
|
||||||
| const SNAPSHOT_SIZE = 84; | ||||||
| const SNAPSHOT_SIZE = 78; | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Set Prompt for AI agents
Suggested change
|
||||||
|
|
||||||
| function listEdgeFunctions() { | ||||||
| return readdirSync(FN_ROOT) | ||||||
|
|
@@ -126,4 +126,4 @@ function main() { | |||||
| process.exit(exit); | ||||||
| } | ||||||
|
|
||||||
| main(); | ||||||
| main(); | ||||||
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this removal the allowlist contains 76 entries, but the new ceiling is 78. Since the growth check only fails when
LEGACY_ALLOWLIST.size - SNAPSHOT_SIZE > 0, the next two PRs could add functions back toLEGACY_ALLOWLISTand still pass this gate, contrary to the "NÃO ADICIONAR" invariant this script is meant to enforce. Set this to the current allowlist size so any growth is caught immediately.Useful? React with 👍 / 👎.