calling policy servers #857

Merged
nex merged 16 commits from nex/serving-policy into main 2025-07-23 23:27:11 +00:00

16 commits

Author SHA1 Message Date
f32f60d056
fix(policy-server): Return the correct result when an event is marked as spam
All checks were successful
Documentation / Build and Deploy Documentation (pull_request) Successful in 35s
Checks / Prefligit / prefligit (pull_request) Successful in 27s
Release Docker Image / define-variables (push) Successful in 7s
Checks / Prefligit / prefligit (push) Successful in 25s
Documentation / Build and Deploy Documentation (push) Successful in 31s
Checks / Rust / Format (push) Successful in 40s
Checks / Rust / Clippy (push) Successful in 4m57s
Checks / Rust / Cargo Test (push) Successful in 5m30s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Successful in 12m49s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Successful in 13m46s
Release Docker Image / merge (push) Successful in 25s
2025-07-23 18:01:46 +01:00
fe06d78c8e
fix(policy-server): Update ask_policy_server docstring 2025-07-23 17:58:33 +01:00
99ebe022ed
fix(policy-server): Correctly default to 10 second timeout 2025-07-23 17:56:45 +01:00
f335f45017
feat(policy-server): Add configurable timeout
Some checks failed
Release Docker Image / merge (push) Blocked by required conditions
Release Docker Image / define-variables (push) Successful in 2s
Checks / Prefligit / prefligit (push) Successful in 11s
Checks / Rust / Format (push) Successful in 39s
Checks / Prefligit / prefligit (pull_request) Successful in 15s
Documentation / Build and Deploy Documentation (pull_request) Successful in 40s
Checks / Rust / Clippy (push) Successful in 4m4s
Checks / Rust / Cargo Test (push) Successful in 5m0s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Has been cancelled
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Has been cancelled
2025-07-23 17:49:08 +01:00
1726633c0f
fix(policy-server): Fixup refactor 2025-07-23 17:49:08 +01:00
dfda27fadc
feat(policy-server): Don't fail-closed & refactor references 2025-07-23 17:49:08 +01:00
9465c5df1f
style: Improve logging and comments 2025-07-23 17:49:07 +01:00
2d475b1220
style(policy-server): Run clippy 2025-07-23 17:49:07 +01:00
d7fa624fd2
feat(policy-server): Optimise policy server lookups 2025-07-23 17:49:07 +01:00
cc9202b0c4
feat(policy-server): Limit policy server request timeout to 10 seconds 2025-07-23 17:49:07 +01:00
a3d62ed0d9
feat(policy-server): Prevent local events that fail the policy check 2025-07-23 17:49:07 +01:00
78b7175677
feat(policy-server): Soft-fail redactions for failed events 2025-07-23 17:49:07 +01:00
74d60f256b
style(policy-server): Restructure logging 2025-07-23 17:49:07 +01:00
732c69f5ca
fix(policy-server): Avoid unnecessary database lookup 2025-07-23 17:49:07 +01:00
8e7801f323
chore: Update ruwuma & fix lints 2025-07-23 17:49:06 +01:00
9017efe45b
feat(policy-server): Policy server following 2025-07-23 17:49:06 +01:00