Skip to content

fix(models): preserve cloud Fast mode across desktop engines - #4888

Merged
OmarMcAdam merged 2 commits into
devfrom
astra-fast-mode
Sep 11, 2026
Merged

OmarMcAdam merged 2 commits into
devfrom
astra-fast-mode

Conversation

@OmarMcAdam

Copy link
Copy Markdown
Member

Summary

  • Preserve catalog-advertised OpenAI Fast metadata across all cloud provisioning paths and reconcile existing imports.
  • Add independent Fast controls with a higher-pricing warning to both model pickers, preserving Default, reasoning effort, custom variants, and queued selections.
  • Materialize verified priority variants for managed OpenCode v1 and native v2 without changing model identities.
  • Upgrade bundled OpenCode v1 from 1.18.18 to 1.18.30: its updated OpenAI SDK preserves explicit priority for GPT-6 instead of dropping it through an older model capability gate.

Verification

  • 147 focused tests passed during implementation, covering picker behavior, serialization, reconciliation, desktop runtime, adapters, and real-engine request dispatch.
  • App and server typechecks passed.
  • Real-engine loopback tests cover GPT-6 Astra and GPT-5.4: priority only with Fast, all advertised efforts preserved, and Default/Fast/Default transitions within the same session.
  • Final-head wire evidence will be attached separately.

Scope and limitations

  • No database migration is needed; the existing model-config JSON already preserves catalog modes.
  • Supports the verified OpenAI priority body; does not claim Pro or other adapters are supported.
  • Externally overridden older v1 binaries are not repaired by this change.
  • Full Electron visual smoke testing, full release qualification, paid inference, and billing verification were not performed.
  • Gmail journey changes only replace a hard-coded engine pin with constants; no Gmail behavior changed and that journey was not run.

@vercel

vercel Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 11, 2026 3:39pm UTC
openwork-den Ready Ready Preview Sep 11, 2026 3:39pm UTC
openwork-diagnostics Ready Ready Preview Sep 11, 2026 3:39pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
openwork-landing Ignored Ignored Preview Sep 11, 2026 3:39pm UTC

@OmarMcAdam

OmarMcAdam commented Sep 11, 2026 •

Copy link
Copy Markdown
Member Author

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit 48619da98fae3eec528cceb05fd2b9be192139ff · selected evidence

Open review report

@github-actions

github-actions Bot commented Sep 11, 2026 •

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (124924 ms), confidentiality-review (186668 ms), spec-provenance-review (229610 ms), desktop-den-sync-review (351677 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 3
  • Distinct heads in retained window: 3
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 3/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

diff-warden[bot]
diff-warden Bot previously approved these changes Sep 11, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (f04eb1c00920829b5a9a301f7472e4c8586eecd3). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

diff-warden[bot]
diff-warden Bot previously approved these changes Sep 11, 2026

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (c0b52411c0d6f28c0d4bb101c237601d0db7df92). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@OmarMcAdam
OmarMcAdam merged commit 667b450 into dev Sep 11, 2026
36 checks passed
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>
yomgui added a commit that referenced this pull request Sep 11, 2026
Pick up #4888 so ci-tests.yml's packaged Fast module step finds its test file.

Signed-off-by: Guillaume Loret <[email protected]>

This branch was successfully deployed

4 active (1 outdated) deployments
Preview – openwork-app — 48619da9 Deployed Sep 11, 2026 by vercel[bot]
Preview – openwork-den — 48619da9 Deployed Sep 11, 2026 by vercel[bot]
Preview – openwork-diagnostics — 48619da9 Deployed Sep 11, 2026 by vercel[bot]
Preview – openwork-landing — c0b52411 Deployed Sep 11, 2026 by vercel[bot]
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