style: rustfmt drift from the AMF/watchdog commits
apple / swift (push) Successful in 1m32s
android / android (push) Successful in 4m57s
arch / build-publish (push) Successful in 5m42s
ci / web (push) Successful in 1m4s
windows-host / package (push) Successful in 7m57s
ci / docs-site (push) Successful in 1m22s
apple / screenshots (push) Successful in 6m50s
ci / rust (push) Successful in 4m55s
ci / bench (push) Successful in 4m54s
deb / build-publish (push) Successful in 3m24s
decky / build-publish (push) Successful in 15s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 5s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 5s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 5s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 5s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 4s
rpm / build-publish (44, fedora-44, punktfunk-fedora44-rpm) (push) Successful in 10m44s
rpm / build-publish (43, bazzite, punktfunk-fedora-rpm) (push) Successful in 10m51s
docker / deploy-docs (push) Successful in 19s
apple / swift (push) Successful in 1m32s
android / android (push) Successful in 4m57s
arch / build-publish (push) Successful in 5m42s
ci / web (push) Successful in 1m4s
windows-host / package (push) Successful in 7m57s
ci / docs-site (push) Successful in 1m22s
apple / screenshots (push) Successful in 6m50s
ci / rust (push) Successful in 4m55s
ci / bench (push) Successful in 4m54s
deb / build-publish (push) Successful in 3m24s
decky / build-publish (push) Successful in 15s
docker / build-push (--build-arg FEDORA_VERSION=44, ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora44-rpm) (push) Successful in 5s
docker / build-push (., web/Dockerfile, punktfunk-web) (push) Successful in 5s
docker / build-push (ci, ci/fedora-rpm.Dockerfile, punktfunk-fedora-rpm) (push) Successful in 5s
docker / build-push (ci, ci/rust-ci.Dockerfile, punktfunk-rust-ci) (push) Successful in 5s
docker / build-push (docs-site, docs-site/Dockerfile, punktfunk-docs) (push) Successful in 4s
rpm / build-publish (44, fedora-44, punktfunk-fedora44-rpm) (push) Successful in 10m44s
rpm / build-publish (43, bazzite, punktfunk-fedora-rpm) (push) Successful in 10m51s
docker / deploy-docs (push) Successful in 19s
`cargo fmt --all --check` (a CI gate) failed on main: config.rs (the new
`zerocopy: val(...).map { !matches!(...) }` from 8fb1264) and punktfunk1.rs
(the `reset_stalled_encoder` conditions from 06d594b) were left unwrapped by
the pinned rustfmt. Pure reformat, no semantic change.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -89,7 +89,10 @@ impl HostConfig {
|
|||||||
.and_then(|s| s.parse::<usize>().ok())
|
.and_then(|s| s.parse::<usize>().ok())
|
||||||
.unwrap_or(2),
|
.unwrap_or(2),
|
||||||
zerocopy: val("PUNKTFUNK_ZEROCOPY").map(|s| {
|
zerocopy: val("PUNKTFUNK_ZEROCOPY").map(|s| {
|
||||||
!matches!(s.trim().to_ascii_lowercase().as_str(), "0" | "false" | "off" | "no")
|
!matches!(
|
||||||
|
s.trim().to_ascii_lowercase().as_str(),
|
||||||
|
"0" | "false" | "off" | "no"
|
||||||
|
)
|
||||||
}),
|
}),
|
||||||
ten_bit: flag("PUNKTFUNK_10BIT"),
|
ten_bit: flag("PUNKTFUNK_10BIT"),
|
||||||
four_four_four: flag("PUNKTFUNK_444"),
|
four_four_four: flag("PUNKTFUNK_444"),
|
||||||
|
|||||||
@@ -3586,7 +3586,8 @@ fn virtual_stream(ctx: SessionContext) -> Result<()> {
|
|||||||
// (bounded) instead of killing an otherwise healthy session; a backend without an
|
// (bounded) instead of killing an otherwise healthy session; a backend without an
|
||||||
// in-place rebuild keeps today's fail-fast behavior.
|
// in-place rebuild keeps today's fail-fast behavior.
|
||||||
encoder_resets += 1;
|
encoder_resets += 1;
|
||||||
if encoder_resets > MAX_ENCODER_RESETS || !reset_stalled_encoder(&mut enc, &mut inflight)
|
if encoder_resets > MAX_ENCODER_RESETS
|
||||||
|
|| !reset_stalled_encoder(&mut enc, &mut inflight)
|
||||||
{
|
{
|
||||||
return Err(e).context("encoder submit");
|
return Err(e).context("encoder submit");
|
||||||
}
|
}
|
||||||
@@ -3710,7 +3711,8 @@ fn virtual_stream(ctx: SessionContext) -> Result<()> {
|
|||||||
),
|
),
|
||||||
};
|
};
|
||||||
encoder_resets += 1;
|
encoder_resets += 1;
|
||||||
if encoder_resets > MAX_ENCODER_RESETS || !reset_stalled_encoder(&mut enc, &mut inflight)
|
if encoder_resets > MAX_ENCODER_RESETS
|
||||||
|
|| !reset_stalled_encoder(&mut enc, &mut inflight)
|
||||||
{
|
{
|
||||||
return Err(poll_err.unwrap_or_else(|| anyhow!("{why}")))
|
return Err(poll_err.unwrap_or_else(|| anyhow!("{why}")))
|
||||||
.context("encoder stalled — in-place rebuild unavailable or exhausted");
|
.context("encoder stalled — in-place rebuild unavailable or exhausted");
|
||||||
|
|||||||
Reference in New Issue
Block a user