Release 0.3.45
A mail stream that cannot be created at boot is a warning, not a failed start. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5.1
parent
0c68396d5b
commit
3c68814030
@@ -4,6 +4,10 @@ One line per change, grouped by the release that shipped it. Newest
|
|||||||
first. A release is a Cargo.toml bump plus a `v<version>` tag; the
|
first. A release is a Cargo.toml bump plus a `v<version>` tag; the
|
||||||
content repos pin the tag they run (see the end of this file).
|
content repos pin the tag they run (see the end of this file).
|
||||||
|
|
||||||
|
## 0.3.45 (2026-09-23)
|
||||||
|
|
||||||
|
- A mail stream that cannot be created at boot (subjects owned by an older stream) is a warning, not a failed start; 0.3.44 took the kasse sites down for two minutes on the rename.
|
||||||
|
|
||||||
## 0.3.44 (2026-09-23)
|
## 0.3.44 (2026-09-23)
|
||||||
|
|
||||||
- The mail stream is named `mail` (was `WORMHOLE`); gdo 0.1.2 matches. Delete the old stream on each NATS after upgrading both.
|
- The mail stream is named `mail` (was `WORMHOLE`); gdo 0.1.2 matches. Delete the old stream on each NATS after upgrading both.
|
||||||
|
|||||||
Generated
+1
-1
@@ -3265,7 +3265,7 @@ dependencies = [
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "portal"
|
name = "portal"
|
||||||
version = "0.3.44"
|
version = "0.3.45"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"arc-swap",
|
"arc-swap",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "portal"
|
name = "portal"
|
||||||
version = "0.3.44"
|
version = "0.3.45"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
[lib]
|
[lib]
|
||||||
|
|||||||
+6
-1
@@ -62,7 +62,12 @@ async fn main() -> anyhow::Result<()> {
|
|||||||
portal::events::store::ensure_stream(&jetstream).await?;
|
portal::events::store::ensure_stream(&jetstream).await?;
|
||||||
// Outgoing mail waits here for gdo; a mail is never lost to gdo
|
// Outgoing mail waits here for gdo; a mail is never lost to gdo
|
||||||
// being down, and never sent by portal itself.
|
// being down, and never sent by portal itself.
|
||||||
portal::mail::ensure_stream(&jetstream).await?;
|
// Best-effort: a stream that already owns these subjects under an
|
||||||
|
// older name (a rename mid-upgrade) must not keep a site from
|
||||||
|
// booting; mail waits until the old stream is removed.
|
||||||
|
if let Err(e) = portal::mail::ensure_stream(&jetstream).await {
|
||||||
|
tracing::warn!("the mail stream could not be created: {e} - outgoing mail is off until a stream owns portal.mail.>");
|
||||||
|
}
|
||||||
|
|
||||||
let oidc_state = Arc::new(oidc::Oidc::from_env().await?);
|
let oidc_state = Arc::new(oidc::Oidc::from_env().await?);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user