Commit graph

15 commits

Author SHA1 Message Date
fusion44
c2e3e88e66
chore: remove unused Docker regtest setup
Removes Dockerfile.regtest and the docker/ directory along with the
remaining references: the docker-regtest-image Makefile target, its
help text, and the docker/.env gitignore entry.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-03 17:08:23 +02:00
fusion44
4e038e8fc7 feat: fetch app status via a celery task
This is a feature that allows to fetch the app status via a celery
task which stores the result in the Redis database and notifies the API
of the change. The API sends a notification to connected clients via the
SSE mechanism.

Using a background task allows to avoid crashing the whole API if the
script call fails.

The by default the cache is refreshed every 30 minutes. This can be
changed by setting the `BAPI_APP_STATUS_UPDATE_INTERVAL_MIN` environment
variable.

refs #123
2025-05-06 09:16:46 +02:00
fusion44
ef9bfbefe4 feat: add supporting types for error handling
- add a result type similar to the Rust Result type from
https://github.com/rustedpy/result
- add a Report class to propagate error information back on the stack
with return types instead of exceptions

refs #123
2025-05-06 09:16:46 +02:00
fusion44
46285b9d47
feat: add a devenv.sh environment 2025-02-14 17:07:16 +01:00
pre-commit-ci[bot]
f22074c0b2
[pre-commit.ci] pre-commit autoupdate (#239)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.1.14](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.1.14)

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-01-28 18:53:09 +01:00
fusion44
fc2ba6fcff
feat: nix shell improvements 2024-01-14 11:02:25 +01:00
fusion44
7cb062cbec
chore: update Makefile and gitignore 2024-01-03 21:19:56 +01:00
fusion44
9adcc866fb
feat: add nix flake (#216) 2023-10-29 19:29:25 +01:00
fusion44
84fecd1dcc
feat: implement simple docker compose dev env
refs #62
2022-03-20 19:55:52 +01:00
fusion44
6546240dff
feat: add ping check to sync_to_blitz script 2022-03-19 12:22:15 +01:00
rootzoll
de840cf1e0 improved sync_to_blitz script 2022-03-16 23:33:44 +01:00
Stefan Stammberger
10cd9f7e79
test: Add testing dependencies and first tests 2021-10-02 12:00:44 +02:00
Stefan Stammberger
93610c8588
chore: update vscode config files 2021-10-02 10:01:43 +02:00
Stefan Stammberger
c33351d968
refactor: move some config vars to the .env file 2021-07-25 17:24:33 +02:00
Stefan Stammberger
9046195d02
initial commit 2021-06-10 21:13:26 +02:00