Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Core app reliability — auth, session management, gateway, .databricksignore

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

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

La fix esistente è descritta in datasciencemonkey PR #138 e nel branch fix/core-app-reliability; esamina prima quel diff, inclusi app_state.py e .databricksignore. Esegui i nuovi test gateway-discovery, session-limit e clipboard-addon per comprendere la copertura attuale. Il lavoro è completato quando i comportamenti indicati di auth, naming, gateway, session, token, persistence e sync sono coperti in questo repository e i test pertinenti passano.

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

Descrizione

Summary

Bundle of reliability fixes that have been sitting in datasciencemonkey PR #138:

  • Case-insensitive email auth — Databricks SSO headers can deliver mixed-case email; current strict comparison locks legitimate users out.
  • 30-char app-name truncation — long app names break the databricks apps get lookup and the deploy script silently fails.
  • AI Gateway auto-discovery from DATABRICKS_WORKSPACE_ID with reachability probe before use; fall back to direct serving endpoints if unreachable.
  • MAX_CONCURRENT_SESSIONS cap (default 5) to prevent resource exhaustion on a single-container app.
  • Fresh proxy token on PAT rotation — currently emits 401s until the next app restart.
  • app_state.py — lightweight persistence for owner + last rotation under ~/.coda/.
  • .databricksignore — exclude .venv/ and caches from databricks sync (huge upload otherwise).

Branch

fix/core-app-reliability — about to be pushed to this repo.

Diff scope

+1982 / -429, 22 files; new tests for gateway discovery, session limit, clipboard addon.

Notes

  • Bundled because the fixes touch overlapping surface area (auth, session lifecycle, gateway routing) and tests were written holistically. Splitting into per-fix PRs would force ugly test reshuffles.
  • Hadn't migrated when the repo moved here from datasciencemonkey.
Lingua principale
Python
Stelle
40
Fork
11
Merge medio
1m
PR unite (30g)
1

Preparare l'ambiente

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 databrickslabs/coding-agents-databricks-apps

Tutte le issue di databrickslabs/coding-agents-databricks-apps

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.