Compute keep_open_until in /allowed + 9 bugfixes #8

Open
mykhailo wants to merge 1 commits from mykhailo/doorboy-proxy:issue-1-keep-open into master
First-time contributor

Closes #1

A. Hold feature: /allowed returns keep_open_until from the newest approved hold in doorlog; /longpoll skips hold events to avoid spurious open pulses.

B. 9 bugfixes: assert→raise SECRET check, text() on 403, removed dead /logs code, flattened auth decorator, by_slackid None fallback, load kube config once, guard missing slack command, backoff on PyMongoError, mongo→mongosh.

Files: app/doorboy-proxy.py, app/kube.py, app/slack.py, mongo-init.sh.

Closes #1 **A. Hold feature:** /allowed returns `keep_open_until` from the newest approved hold in `doorlog`; /longpoll skips hold events to avoid spurious open pulses. **B. 9 bugfixes:** assert→raise SECRET check, text() on 403, removed dead /logs code, flattened auth decorator, by_slackid None fallback, load kube config once, guard missing slack command, backoff on PyMongoError, mongo→mongosh. Files: app/doorboy-proxy.py, app/kube.py, app/slack.py, mongo-init.sh.
mykhailo added 1 commit 2026-06-17 13:54:15 +00:00
/allowed returns keep_open_until from the newest approved hold in
doorlog; /longpoll skips hold events to avoid spurious open pulses.

Fixes: assert->raise for SECRET check, text() on 403, remove dead
/logs code, flatten auth decorator, by_slackid None fallback, load
kube config once, guard missing slack command, backoff on PyMongoError,
mongo->mongosh.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u issue-1-keep-open:mykhailo-issue-1-keep-open
git checkout mykhailo-issue-1-keep-open
Sign in to join this conversation.