Skip to content

fix(models): keep Free only bulk enable target-limited - #487

Open
luvs01 wants to merge 25 commits into
devfrom
codex/fix-bulk-action-scope-for-free-only
Open

luvs01 wants to merge 25 commits into
devfrom
codex/fix-bulk-action-scope-for-free-only

Conversation

@luvs01

@luvs01 luvs01 commented Sep 12, 2026

Copy link
Copy Markdown
Owner

Motivation

  • The Free-only UI narrowed the visible list and counts to a scoped set but still sent a provider-scoped enable request, which could enable every model in that provider instead of only the filtered free models.

Description

  • When Free only is active, change the bulk action to send a models-scoped request instead of provider, preserving provider-scoped semantics when the list is not narrowed by Free only.
  • Apply the conditional scope in gui/src/pages/Models.tsx: use freeOnlyActive ? "models" : "provider" for applyVisibility calls.
  • Strengthen the regression test tests/gui/models-free-filter.test.ts to assert the conditional scope is present along with the existing target list assertions.

Testing

  • Ran bun test tests/gui/models-free-filter.test.ts and it passed (15 tests, 0 fail).
  • Ran bun run typecheck and it passed.
  • Ran the GUI test suite with cd gui && bun test tests and it passed locally (1,954 tests passed).
  • Ran cd gui && bun run build and the production build succeeded.
  • The repository-wide bun run test completed but includes environment-only/container-known failures unrelated to this change; focused GUI tests and typecheck/lint/build for the modified UI passed.

Screenshot

With Free only on, the provider card narrows to the free rows and All off applies to that scoped set only — the demo-free-* rows switch off (0/2 visible) while the rest of the provider stays enabled (Demo 3/5 visible in the rail).

Free only enabled: All off disables only the filtered free models


Codex Task

Link to Devin session: https://app.devin.ai/sessions/35e61dd7fc1d4568abe8e3ceabee8ffd
Open in Devin Desktop: https://app.devin.ai/desktop/session/35e61dd7fc1d4568abe8e3ceabee8ffd?variant=devin

lidge-jun and others added 23 commits September 6, 2026 01:08
…43-01a07240

[WRONG BRANCH] chore(release): promote verified candidate to 2.43.0
…in-07c0

chore(release): promote validated 2.44.0 to main
Promote frozen dev source cf9f662; no new runtime changes. Candidate CI34061274315 and service34061276621 are the validation references. Publication waits for successful validation and the final main push CI at the exact release SHA.
Promote frozen dev source cf9f662 as 2.45.0.

The repository owner explicitly authorized this main/preview release promotion and admin PR-only merge. This is a release-specific owner decision, not an independent approval or the dev-only maintainer exception.

Frozen candidate full CI34061274315 passed all25jobs after one unchanged-source rerun of Windows5; the initial holder busy assertion remains recorded without a root-cause resolution claim. Service lifecycle34061276621 passed Linux/macOS/Windows. Dev version pre-move3812 is merged. Publication still requires this actual main merge SHA's own successful push CI and Service lifecycle. No local suites were run.
[WRONG BRANCH] chore(release): promote verified 2.46.0 to main
[WRONG BRANCH] release: promote 2.47.0 to main
[WRONG BRANCH] release: apply final roster correction to main
[WRONG BRANCH] release: promote 2.48.0 to main
…in-01a08498

release: promote verified 2.49.0 product tree to main
Promotes the audited freeze SHA 12c248f unchanged. The resulting tree is byte-identical to that commit's tree, d8f5a71, so what ships is exactly what the six-lane regression audit read.
…in-01a08a81

[WRONG BRANCH] release: promote verified 2.50.0 product tree to main
@coderabbitai

coderabbitai Bot commented Sep 12, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: Repository: luvs01/opencodex/.coderabbit.yaml

Review profile: ASSERTIVE

Plan: Advanced

Run ID: 4980dad3-25af-4228-9a66-551ea5c3ae9c


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 12, 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-12T01:33:26.083500Z bbcc164 PR opened
ℹ️ 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.

@github-actions

Copy link
Copy Markdown

Deterministic PR hygiene checks passed.

@github-actions github-actions Bot added the bug Something isn't working label Sep 12, 2026
@github-actions github-actions Bot changed the title fix(models): keep Free only bulk enable target-limited [WRONG BRANCH] fix(models): keep Free only bulk enable target-limited Sep 12, 2026
@github-actions

github-actions Bot commented Sep 12, 2026

Copy link
Copy Markdown

✅ READY

  • all PR quality gates passed.

Hygiene

Deterministic PR hygiene checks passed.

@github-actions
github-actions Bot marked this pull request as draft September 12, 2026 01:32
@luvs01 luvs01 changed the title [WRONG BRANCH] fix(models): keep Free only bulk enable target-limited fix(models): keep Free only bulk enable target-limited Sep 14, 2026
@luvs01
luvs01 changed the base branch from main to Dev September 14, 2026 00:20
@github-actions
github-actions Bot marked this pull request as ready for review September 21, 2026 04:31

@devin-ai-integration devin-ai-integration 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

aardvark bug Something isn't working codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants