chore: remove scripts de debug soltos na raiz (leftovers da Lovable)#511
Conversation
`test-filter.ts` e `simulate_latency_and_error.ts` eram scripts de debug/scratch
deixados na raiz por commits automáticos da Lovable ("Changes"). Ambos:
- importam o client do Supabase e fazem chamadas/monkey-patch para testes manuais;
- não são referenciados por nenhum código, build, teste ou config;
- ficam fora do tsconfig (só `src`) e são ignorados pelo ESLint.
São apenas ruído no repositório (e `simulate_latency_and_error.ts` ainda
monkey-patcha `supabase.functions.invoke` para injetar latência/erro — não deve
acompanhar o código de produção). Removidos. Sem impacto em gates ou runtime.
https://claude.ai/code/session_01B2ghtor8Q4zfS5yQWCNDYW
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This pull request has been ignored for the connected project Preview Branches by Supabase. |
|
Warning Review limit reached
More reviews will be available in 26 minutes and 14 seconds. Learn how PR review limits work. Your organization has run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (2)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
Pull request overview
This PR removes two root-level debug/scratch TypeScript scripts left behind by automated Lovable commits, reducing repository noise without affecting build, lint, typecheck, or runtime behavior.
Changes:
- Removed
test-filter.ts, a manual script that invoked theexternal-db-bridgeedge function and logged results. - Removed
simulate_latency_and_error.ts, a script that monkey-patchedsupabase.functions.invoketo inject artificial latency/errors.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
test-filter.ts |
Deleted unused root-level manual debug script. |
simulate_latency_and_error.ts |
Deleted unused root-level monkey-patch simulation script. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Limpeza de leftovers da Lovable
Remove dois scripts de debug/scratch deixados na raiz do repositório por commits automáticos da Lovable (
"Changes"):test-filter.tsexternal-db-bridgee logava o resultadosimulate_latency_and_error.tssupabase.functions.invokepara injetar 3s de latência + 20% de erro artificial (ferramenta de teste de skeletons)Por que é seguro remover
greplimpo).tsconfig(que inclui sósrc) → não são typechecked.simulate_latency_and_error.tsem particular não deveria acompanhar o código (monkey-patch do client Supabase).Verificação
Em
mainatualizado, antes da remoção:npm ci✅ ·typecheck✅ ·lint:baseline✅. A remoção não toca em nada dosrc.Nota
Os outros artefatos dos mesmos commits da Lovable (a migração
20260529141006_*.sqle oe2e/teleport-comprehensive.spec.ts) parecem legítimos e os gates passam — deixei-os intactos.https://claude.ai/code/session_01B2ghtor8Q4zfS5yQWCNDYW
Generated by Claude Code
Summary by cubic
Removed two root-level debug scripts left by Lovable auto-commits. Cleans up the repo with no build, test, or runtime impact.
test-filter.ts— manual invoker for edge functionexternal-db-bridge.simulate_latency_and_error.ts— monkey-patchessupabase.functions.invoketo inject 3s latency and 20% error.Written for commit 2b53fd2. Summary will update on new commits.