Altinity / Altinity/altinity-sql-browser
GS: End-to-end Google Sheets integration test suite
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8
- Forks
- 2
- Ø Merge
- 1 Std. 34 Min.
- Gemergte PRs (30 T.)
- 6
Beschreibung
Parent: #398
Depends on: #399, #400, #401, #402, #403, #404
Design:
docs/design/google-sheets/testing.md
Scope
Add the complete automated test matrix for Google Sheets integration using injected seams, a dedicated Google Cloud test project, disposable spreadsheets, supported browsers, and scale fixtures.
Acceptance criteria
- Unit tests cover binding/checkpoint codecs, validation, conversion, limits, version checks, capability probes, and cursor query construction.
- Fake Google tests cover exact-range writes, metadata, staging, publication, retries, ambiguous responses, copies, renames, deletion, permissions, and cleanup.
- ClickHouse seam tests cover binding storage, table conformance, typed parameters, UUID/schema/query validation, upper-bound capture, and append pages.
- Chromium, Firefox, and WebKit cover deep links, OAuth popups, auth redirects, cancellation, tab close, concurrency, full refresh, append resume, repair, and unlink.
- Scale tests prove bounded memory and enforce row/cell/byte/cell-length limits without truncation.
- Real Google tests use only disposable project-owned files and leave diagnostic metadata when cleanup fails.
- CI secrets are isolated and tests skip clearly when the external test project is unavailable.
Non-goals
Production monitoring or load testing against personal Google accounts.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit docs/design/google-sheets/testing.md und prüfe die Abhängigkeiten #399–#404, um die Nahtstellen und die Einrichtung des Testprojekts zu verstehen. Verwende die Akzeptanzkriterien als Abschluss-Checkliste: Die Fälle für Unit-, Fake-Google-, ClickHouse-, Browser-, Skalierungs-, echtes Google- und CI-Secret-Tests sollten abgedeckt sein, mit eindeutigem Überspringen, wenn das externe Projekt nicht verfügbar ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- clickhouse, google-cloud, typescript
- Bereich
- cloud, databases, testing
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100