The user asked to address all remaining PR feedback, and the only still-actionable comment requested a more CI-stable event timeout.
Design notes:
The change follows the reviewer’s recommendation directly and preserves the current event-stream assertion.
The already-open openapi.rs thread was also rechecked locally; the branch already uses std::env::temp_dir().join(OPENAPI_FILENAME), so that thread only needed a fresh reply.
Test coverage summary:
cargo test -p revaer-api update_label_catalog_persists_changes_and_emits_event
just ci
just ui-e2e
Observability updates:
None. No runtime logging, tracing, or metrics changed.
Status-doc validation:
No README or operator-facing docs needed updates because the change is limited to test stability and ADR/task tracking.
Risk & rollback plan:
Risk is low and limited to test-runtime duration.
Rollback is a straightforward revert if the longer timeout proves unnecessary.
Dependency rationale:
No new dependencies were added.
Stale-policy check:
Reviewed:
AGENTS.md
.github/instructions/rust.instructions.md
docs/adr/template.md
Drift found:
None in policy text; the remaining issue was test timing sensitivity in an existing async assertion.