Repository navigation
feat(codex): show a rocket icon for the Ultrafast service tier - #6198
Merged
Merged
Conversation
Contributor
|
Thanks for the pull request, @smsunarto. It was closed automatically because it does not meet the requirements below yet. This is an automated check, not a review of the change. Linked issue. Every pull request must close an open issue in this repository. The issue keeps the problem tracked even if this pull request closes or we take a different approach. Open an issue for the change, or find an existing one, and add See CONTRIBUTING.md for details. |
2 tasks done
ymichael
added a commit
that referenced
this pull request
Oct 24, 2026
… check (#6200) ## Human comments ## What was wrong Maintainers had no way to exempt a pull request from the PR gate's linked-issue requirement (#6189). Reopening one by hand sends a `reopened` event, the gate runs again, finds no linked issue, and closes it again. #6198 is an example. Separately, GitHub reports `maintainer_can_modify: false` on every closed pull request. #6198 had `MAINTAINER_CAN_MODIFY: true` in its `opened` run (40040917882) and reports `false` now, and every closed fork PR in the repo shows `false`. When the gate re-checked a closed `needs-issue` PR after an edit, it read that stale value as "maintainer edits off" and wouldn't reopen it. So "this pull request reopens on its own once you save the description" probably never worked for PRs from personal forks. ## What changed `.github/workflows/pr-gate.yml`: - **`skip-issue-check` label:** when the label is present, the linked-issue check is skipped. The gate now also runs on `labeled` events. Adding this label to a closed `needs-issue` PR goes through the same re-check as editing its description: the gate reopens the PR if the author is approved and maintainer edits were on. Other labels are ignored. Only accounts with triage access or higher can add labels, so contributors can't exempt themselves. - **`needs-maintainer-edits` label:** when the gate closes a PR because "Allow edits by maintainers" is off, it now adds this label. The re-check after an edit or label reads this label instead of the stale `maintainer_can_modify`. On `opened` and `reopened`, the gate still reads `maintainer_can_modify` as before. PRs closed for edits-off before this change don't have the label, so a re-check could reopen one of them. `CONTRIBUTING.md`: documents the maintainer exemption under "Linked Issue". I created the `skip-issue-check` label in the repo. ## How you verified I pulled the `run` script out of the workflow, checked it with `bash -n`, and ran it against a stubbed `gh` in eight scenarios. Each produced the expected `gh pr` calls: - opened with no issue → closed with `needs-issue` - `skip-issue-check` added to a closed PR (with the stale `maintainer_can_modify=false`) → reopened - some other label added → no action - description edited with `Fixes #N` on a closed PR (stale `false`) → reopened - `skip-issue-check` added, but the PR has `needs-maintainer-edits` → stays closed - reopened by hand with `skip-issue-check` → stays open - `skip-issue-check` added, but the author is not approved → stays closed - opened with edits off → closed with `needs-maintainer-edits` None of this has run on real GitHub events yet. `pull_request_target` takes effect only after merge, and #6198 is the first real case. > AGENT GENERATED 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
sms-yui
force-pushed
the
scott/ultrafast-tier-icon
branch
2 times, most recently
from
October 24, 2026 00:41
f767764 to
5f19f74
Compare
Service tier descriptors accept an optional experimental_icon host glyph. Codex declares Rocket for Ultrafast; Fast keeps the default Zap.
sms-yui
force-pushed
the
scott/ultrafast-tier-icon
branch
from
October 24, 2026 01:10
5f19f74 to
9119043
Compare
The Codex app marks Ultrafast with two lightning bolts, so use a double bolt instead of a rocket. It is Codex's own concept, so the glyph lives in the Codex plugin's icons/ and is declared through bb.branding.experimental_icons, the way the ACP provider ships its agent icons, rather than in the shared icon set. Service tier icons accept a declared "<pluginId>/<name>" icon as well as a host glyph name, and reject paths, which nothing resolves for tiers. Co-Authored-By: Claude Opus 5.5 <[email protected]>
A service tier's experimental_icon that names another plugin's icon or an undeclared one now fails the load at bb.providers.register, the same check the provider icon gets, instead of silently drawing the default bolt. The server and the fake plugin host share one helper for both icons. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Merged
ymichael
added a commit
that referenced
this pull request
Oct 24, 2026
## Human comments ## What was wrong `main` has 14 commits since 0.47.0, including #6195, which fixes the timeline staying detached at the bottom (a regression from #5951 that shipped in 0.47.0). `bb-app` and `@bb/desktop` were still at 0.47.0, so the publish and desktop workflows can't ship them. ## What changed - `packages/bb-app/package.json`, `apps/desktop/package.json`: 0.47.0 → 0.47.1 (`node scripts/bump-version.mjs --patch`). - No `CHANGELOG.md` or `RELEASE_META` entry: like earlier fix-only patches, these changes go into the 0.48.0 notes. The release commit sits directly on `b17bfc8fdd` (#6217). Everything below was tested on `22d41249ee`, and the sidebar was tested again on `b17bfc8fdd`. This release includes the daemon protocol bump from #6185 (251 → 252), so enrolled machines will update their daemon. ## How you verified - `node .github/workflows/check-version-lockstep.mjs`: `bb-app=0.47.1 @bb/desktop=0.47.1`. - Typecheck, tests and the `bb-app` tarball smoke run in CI on this PR, instead of locally. - `git diff --check`, and `oxfmt --check` on the changed files: clean. - Manual QA of `22d41249ee` with `pnpm start:worktree` (production bundle) and headless Chrome, on a fresh data dir: - **Timeline (#6195):** a long unread reply stops at NEW, detached. A short unread reply opens at the end with no jump arrow. Scrolling up 150 px and growing the viewport 900 → 1200 attaches. Scrolling up 400 px and growing it stays detached. Sending after scrolling up 1,800 px jumps to the end and follows the streamed Claude Code reply. The view is still at the end after a reload. - **Docs (#6146):** typing in a note while `bb docs pull`/`push` appended a paragraph kept both edits on disk and in the editor. A stale push after a UI edit was refused as a conflict. A new note was renamed from its first line and kept its Markdown after a reload. - **Skills (#6185):** `bb project commands` lists project skills from the documented roots for Claude Code and Codex, with no duplicate names. A Codex `/skill` turn ran the skill. - **Storage & retention (#6190, #6205):** two outside worktrees were listed. Bulk removal removed the clean one, kept its branch, and kept the dirty one. The table fits a 390 px viewport. - **Sidebar multi-select (#6191, #6217), on `b17bfc8fdd`:** with the experiment on, Cmd+Shift-click selected a second thread without navigating ("Actions for 2 threads"). Pressing it again on the same thread deselected it. Shift-click selected a range of 4. Escape cleared the selection. Cmd-click cleared the selection and opened a split. Bulk Pin applied to the two selected threads (checked with `bb thread list`). With the experiment off, Cmd-click opens a split. - **omp (#6186):** the picker labels GPT-5.6 Terra rows `openai` and `openai-codex`. Not exercised: the Ultrafast icon (#6198), because no Codex model on the test account offers Ultrafast. Also not exercised: the Android touch-drag attach, the desktop app, the SDK realtime reconnect (#6183) and retryable host RPCs (#6184). Those last two are covered by unit tests only. > AGENT GENERATED 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Human comments
What was wrong
The model picker hardcoded the
Zapglyph for every selected service tier, so Codex's Fast and Ultrafast looked identical in the composer.What changed
PluginProviderOptionDescriptorgains an optionalexperimental_icon: a host glyph name, or a declared plugin icon"<pluginId>/<name>"frombb.branding.experimental_icons. The SDK validates it (host-policy.ts) and rejects paths, which nothing resolves for tiers; the server projects it toProviderInfo.serviceTiers[].icon, andresolveServiceTierOptionspreserves it.ModelReasoningPicker's trigger andModelReasoningMenu's single-tier toggle row use the tier's icon, falling back toZap. Both stay filled, matching the solid bolt.plugins/provider-codex/icons/ultrafast.svg, declared in itspackage.json) andserver.tsdeclaresexperimental_icon: "provider-codex/ultrafast", the same way the ACP provider ships its agent icons. The shared icon set is unchanged.docs/api_to_audit.mdentry, plus updates todocs/provider-plugin-api.mdand the authoringproviders.mdreference.No server/daemon wire change.
How you verified
ModelReasoningPicker.test.tsxcases: the trigger showsZapwhen Fast is selected and the registeredprovider-codex/ultrafastplugin icon (notZap) when Ultrafast is selected.provider-declaration-v3.test.tstable: host glyphs and declared icons are accepted, plugin-relative and bare paths rejected.pnpm exec turbo run typecheck --filter=@bb/app --filter=@bb/server --filter=@bb/domain --filter=@get-bb/plugin-sdk --filter=@bb/shared-uipnpm exec turbo run test --filter=@get-bb/plugin-sdk --filter=@bb/domain --filter=bb-plugin-provider-codex --filter=@bb/shared-uipnpm start:worktreeserver,/api/v1/system/providersreports"icon": "provider-codex/ultrafast"for Ultrafast and the plugin list servesicons/ultrafast.svg. The test account has no Ultrafast-eligible model, so the double bolt was not seen in the live composer.Fixes #6199