Skip to content

Centralize desktop settings and microphone ordering - #136

Merged
vriesd merged 3 commits into
mainfrom
refactor/echo-settings-order
Sep 5, 2026
Merged

Centralize desktop settings and microphone ordering#136
vriesd merged 3 commits into
mainfrom
refactor/echo-settings-order

Conversation

@vriesd

@vriesd vriesd commented Sep 5, 2026

Copy link
Copy Markdown
Contributor

Settings and microphone operations currently coordinate through several frontend and backend queues and revision schemes. This change gives desktop configuration one backend FIFO owner. Each read or write returns its own revisioned snapshot, so a delayed response cannot overwrite newer settings in Home or Settings.

Synchronous Tauri command acceptance enqueues work before asynchronous dispatch. Typed completion channels preserve the frontend Promise API. Tray language changes and setup configuration changes use the same owner. The replaced frontend write chains, microphone queue, backend write lock, retry scheme, and tray language queue are removed.

PRs #134 and #135 have merged. Review this final PR against main.

Validation includes 272 frontend tests, six browser tests, frontend build/typecheck/lint, 513 passing Rust workspace tests under Xvfb with two test threads (16 ignored), Clippy, formatting, and generated IPC checks. A native WebKit/Tauri probe uses the production adapter and real completion channels to verify cross-domain ordering, saved values, error recovery, recording completion, and History retrieval.

The architecture documentation now describes these ownership boundaries. Research scripts remain because their audit found maintained consumers and explicit retention history. This change concentrates coordination; it adds backend protocol and test code while removing distributed state management.

Independent read-only review passed the settings unit. The final native probe passed against commit 416ebce, including stale recording-request rejection. Hosted checks are tracked on this PR.

Release preparation updates the workspace and six local lockfile packages to 0.14.17 and adds changelog notes. The annotated release tag will be pushed only after this stack has merged and main builds pass. The queued setup cancellation review finding is fixed in 5397942 with a blocked-queue regression.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 5, 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-05T11:45:00.572547Z 246d03e 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.

@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: 416ebceac0

ℹ️ 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 src-tauri/src/setup.rs Outdated
@vriesd
vriesd force-pushed the refactor/echo-recording-api branch from 08e853e to 2c9ab89 Compare September 5, 2026 11:34
@vriesd

vriesd commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

@codex review

@vriesd

vriesd commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

PASS — independently verified the frozen head 246d03e97730965ffc312d5aa93a580aba4fbd48 against the original requested base 08e853e930098f97ab54867230d5ce8744cb82ec (not the PR’s subsequently moved base).

  • Stable patch-id: 384cd883e4fa9d1275c77251a9c12639dfb80707.
  • git diff --check passed; worktree remained clean.
  • Fresh cancellation regression passed: settings::tests::setup_plan_activation_cancelled_while_queued_does_not_write_config.
  • Ran /tmp/echo-simplify/native-probe/run.py under flock /tmp/echo-simplify/cargo.lock; it built the real production adapter and passed its FIFO/error/session/history assertions at this exact head.
  • Release metadata is consistent: workspace and all lockfile workspace packages are 0.14.17, and CHANGELOG includes the matching v0.14.17 entry.

No shipping blocker found in this unit. Boundary: this verdict does not replace review of the recording-base PR.

@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: 246d03e977

ℹ️ 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/rec.rs
@vriesd
vriesd force-pushed the refactor/echo-settings-order branch from 246d03e to 7582fb6 Compare September 5, 2026 11:48
@vriesd
vriesd changed the base branch from refactor/echo-recording-api to main September 5, 2026 11:48
@vriesd
vriesd merged commit b53b3e2 into main Sep 5, 2026
16 of 22 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