Core app reliability — auth, session management, gateway, .databricksignore
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- authentication, backend, cloud, devops
Research direction
The existing fix is described in datasciencemonkey PR #138 and branch fix/core-app-reliability; review that diff first, including app_state.py and .databricksignore. Run the new gateway-discovery, session-limit, and clipboard-addon tests to understand the current coverage. Done means the listed auth, naming, gateway, session, token, persistence, and sync behaviors are covered in this repository and the relevant tests pass.
Written by the indexing model from the issue text.
Description
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 getlookup and the deploy script silently fails. - AI Gateway auto-discovery from
DATABRICKS_WORKSPACE_IDwith reachability probe before use; fall back to direct serving endpoints if unreachable. MAX_CONCURRENT_SESSIONScap (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 fromdatabricks 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.
- Dominant language
- Python
- Stars
- 40
- Forks
- 11
- Avg merge
- 1m
- Merged PRs (30d)
- 1
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databrickslabs/coding-agents-databricks-apps
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 55/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
All issues in databrickslabs/coding-agents-databricks-apps
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kristofdegrave/homeassistant-smart-charging#1413 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
nasa/earthdata-varinfo#113 ·
-
curriculum documentation quality
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3849 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day