Skip to content

fix: reliability fixes and prepare v1.0.2 - #161

Merged
vriesd merged 3 commits into
mainfrom
fix/reliability-v1.0.2
Sep 8, 2026
Merged

fix: reliability fixes and prepare v1.0.2#161
vriesd merged 3 commits into
mainfrom
fix/reliability-v1.0.2

Conversation

@vriesd

@vriesd vriesd commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Keep backend settings revisions authoritative; isolate progress and reject late completed-operation events.
  • Discover complete flat Parakeet caches while preferring canonical nested models.
  • Parse GNOME shortcut values with typed GLib GVariant parsing.
  • Serialize APT publication and enforce authenticated, durable monotonic publication state.
  • Use bandlimited audio resampling with delay compensation and exact output duration.
  • Prepare v1.0.2 workspace version, AppStream metadata, changelog and operator documentation.

Verification

  • Frontend build, lint, IPC drift check; 296 tests and 6 responsive browser tests passed.
  • Actual Settings browser smoke: 100 progress events, terminal/late-event handling and HUD preference update.
  • Rust workspace unit/integration slices, formatting and clippy passed; workspace check passed after version bump.
  • 24 APT tests, signed repository smoke, workflow policy and Python lint passed.
  • Isolated native GSettings quoting smoke and real audio conversion passband/alias-suppression smoke passed.

Release operations

Merge only after CI and review are clear; tag v1.0.2 only after main package gates pass. APT publication now needs workflow write access to the apt-publication-state branch. Existing signed sites bootstrap state automatically. No live deployment or real-model transcription was performed locally.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

https://github.com/ddv1982/echo/blob/65e4bf57368930ab7905394c1a5ed0202221b5e0/crates/echo/src/audiolk/audio.rs#L1016-L1017
P2 Badge Bound the resampler block size for WAV-declared rates

When load_wav processes a WAV whose header declares an unusually large sample rate relatively prime to 16 kHz, this alignment grows roughly to twice that rate; for example, a tiny file declaring 50,000,003 Hz requests an input buffer of about 100 million f32s. The previous implementation used memory proportional to the decoded/output samples, whereas this can now OOM or panic while transcribing an otherwise small malformed or unusual WAV. Reject unsupported source rates or choose a bounded block size that does not scale with the full reduced-rate denominator.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 8, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-08T09:59:11.657702Z 2492a61 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vriesd

vriesd commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Addressed the sample-rate allocation finding: source rates outside 1..=384000 Hz now return AudioError::Unsupported. WAV headers are checked before decoding; capture configuration is checked before buffer allocation; the public conversion API is fallible and all callers propagate errors. Added a 50,000,003 Hz / 3,126-frame WAV regression plus upper-bound and capture-path checks. All 23 audio tests and workspace/all-target clippy pass. @codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 26032a1e88

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread crates/echo/src/audio.rs
@vriesd

vriesd commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Nice work!

Reviewed commit: 2492a612e5

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@vriesd
vriesd merged commit f8bd8a5 into main Sep 8, 2026
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants