Handle configuration errors gracefully #284

Merged
cmo merged 15 commits from tolerate-configuration-errors into master 2026-11-04 13:10:55 +00:00
Owner
No description provided.
This commit fixes an issue where a faulty configuration
that is submitted via the dynamic configuration endpoint
bring the server down.
tests: add test for faulty policy location detection
Some checks failed
Codespell / Check for spelling errors (push) Failing after 28s
Ruff / Code linting (push) Failing after 36s
Test execution / Test-all (push) Successful in 1m12s
b9e49a1d9a
refactor: remove unnecessary FastAPI re-initialization
Some checks failed
Codespell / Check for spelling errors (push) Failing after 28s
Ruff / Code linting (push) Failing after 33s
Test execution / Test-all (push) Successful in 1m9s
Codespell / Check for spelling errors (pull_request) Failing after 28s
Ruff / Code linting (pull_request) Failing after 36s
Type annotation (PR) / check (pull_request) Successful in 1m7s
e9ff0d52fd
Since the dynamically generated endpoints are gone,
there is no more need to re-initialize FastAPI.
chore: improve comments and error messages
Some checks failed
Codespell / Check for spelling errors (push) Failing after 42s
Codespell / Check for spelling errors (pull_request) Failing after 45s
Ruff / Code linting (pull_request) Failing after 51s
Ruff / Code linting (push) Failing after 51s
Type annotation (PR) / check (pull_request) Successful in 1m24s
Test execution / Test-all (push) Successful in 1m30s
82b2f37479
feat: ensure disjunct paths for collections
Some checks failed
Codespell / Check for spelling errors (pull_request) Failing after 42s
Codespell / Check for spelling errors (push) Failing after 45s
Ruff / Code linting (push) Failing after 51s
Ruff / Code linting (pull_request) Failing after 55s
Type annotation (PR) / check (pull_request) Failing after 1m23s
Test execution / Test-all (push) Successful in 1m32s
4cb9a770c9
Ensure that incoming-path and curated-path of
different collections are disjunct. That means
none of them is contained in any other path.

Paths within the same collection, i.e., the
incoming- and the curated-path don't have to
be disjunct. This supports some old
configurations.
feat: add directory test to configuration loading
Some checks failed
Codespell / Check for spelling errors (push) Failing after 41s
Ruff / Code linting (pull_request) Failing after 41s
Ruff / Code linting (push) Failing after 44s
Codespell / Check for spelling errors (pull_request) Failing after 1m3s
Type annotation (PR) / check (pull_request) Failing after 1m26s
Test execution / Test-all (push) Successful in 1m30s
f2a015af6a
cmo force-pushed tolerate-configuration-errors from f2a015af6a
Some checks failed
Codespell / Check for spelling errors (push) Failing after 41s
Ruff / Code linting (pull_request) Failing after 41s
Ruff / Code linting (push) Failing after 44s
Codespell / Check for spelling errors (pull_request) Failing after 1m3s
Type annotation (PR) / check (pull_request) Failing after 1m26s
Test execution / Test-all (push) Successful in 1m30s
to bef156af1b
Some checks failed
Codespell / Check for spelling errors (pull_request) Failing after 37s
Codespell / Check for spelling errors (push) Failing after 38s
Ruff / Code linting (push) Failing after 39s
Ruff / Code linting (pull_request) Failing after 42s
Type annotation (PR) / check (pull_request) Failing after 1m6s
Test execution / Test-all (push) Successful in 1m15s
2026-11-04 08:19:08 +00:00
Compare
typo: fix typo
Some checks failed
Codespell / Check for spelling errors (push) Successful in 36s
Codespell / Check for spelling errors (pull_request) Successful in 42s
Ruff / Code linting (pull_request) Failing after 42s
Ruff / Code linting (push) Failing after 43s
Type annotation (PR) / check (pull_request) Failing after 1m8s
Test execution / Test-all (push) Successful in 1m8s
64186e99c6
chore: fix linting errors
Some checks failed
Ruff / Code linting (push) Failing after 38s
Codespell / Check for spelling errors (push) Successful in 42s
Ruff / Code linting (pull_request) Failing after 43s
Codespell / Check for spelling errors (pull_request) Successful in 43s
Type annotation (PR) / check (pull_request) Failing after 1m6s
Test execution / Test-all (push) Successful in 1m11s
fe844c9db7
Collections with recoverable error are reported in
`/server`-response with a class list with a single
entry: `'??? (recoverable error in schema location)'`.
fix: ensure that faulty URLs lead to recoverable error
Some checks failed
Codespell / Check for spelling errors (pull_request) Successful in 43s
Codespell / Check for spelling errors (push) Successful in 44s
Ruff / Code linting (push) Failing after 43s
Ruff / Code linting (pull_request) Failing after 43s
Type annotation (PR) / check (pull_request) Has been cancelled
Test execution / Test-all (push) Has been cancelled
32accd081d
Make sure that faulty URLs are detected and lead to
recoverable errors.
tests: add test for recoverable errors
Some checks failed
Ruff / Code linting (pull_request) Failing after 47s
Codespell / Check for spelling errors (pull_request) Successful in 47s
Ruff / Code linting (push) Failing after 48s
Codespell / Check for spelling errors (push) Successful in 48s
Type annotation (PR) / check (pull_request) Failing after 1m14s
Test execution / Test-all (push) Successful in 1m14s
bfbbbb4cea
cmo merged commit aa1dbea3ec into master 2026-11-04 13:10:55 +00:00
cmo deleted branch tolerate-configuration-errors 2026-11-04 13:11:09 +00:00
Sign in to join this conversation.
No description provided.