Replace the tests that read the removed table-config endpoint

Aperta
#491 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
65/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Tranquilla
Stack tecnologico
python, rust
Ambito
databases, testing

Direzione di ricerca

Start with the five named tests in test_etl_pipeline.py, test_lance_tables.py, test_mysql.py, and test_sql_databases.py; read beacon-server/beacon-server/src/axum/admin/tables.rs:42 for the removed endpoint behavior. Update the engine assertions to use SHOW EXTENSIONS FOR <table>, schema reads to use GET /api/table-schema, and identify another source for the redacted secret. Run the integration suite; done when the five tests pass.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug effort-S python

Problem

Five integration tests read GET /api/admin/table-config. The server no longer supports this endpoint.

The server answers with this message:

Table configuration is no longer supported. A table's definition is engine bookkeeping rather than an API contract.

Commit 29bc0d06 (#333) removed the endpoint. See beacon-server/beacon-server/src/axum/admin/tables.rs:42.

Each test still parses the old body. Each test fails.

Failed tests

  • test_etl_pipeline.py::test_full_etl_pipeline
  • test_lance_tables.py::test_plain_create_table_is_lance_backed
  • test_lance_tables.py::test_ctas_creates_lance_table
  • test_mysql.py::test_mysql_credentials_redacted
  • test_sql_databases.py::test_postgres_credentials_redacted_in_config

Task

  1. Replace each engine assertion with SHOW EXTENSIONS FOR <table>.
  2. Replace each schema read with GET /api/table-schema.
  3. Find another source for the redacted secret value.
  4. Run the suite again.

Environment

Branch features/reimplement-atlas. Image beacon-integration:local.

Lingua principale
Rust
Stelle
16
Fork
4
Merge medio
19h 58m
PR unite (30g)
39

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di maris-development/beacon

Tutte le issue di maris-development/beacon

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.