Repository navigation
Admin: stop asking for managed updates where it can't apply, and name the page icon - #2186
Merged
Merged
Conversation
… the page icon On OpenBot Cloud every Admin page asked getManagementEnrollment and got a 404. Managed updates are answered only in the organization `default`, on an OpenBot a company runs itself, so Admin now asks only there: never on a hosted OpenBot (hostedSignIn), never in any other organization, and still never on the personal edition. The rail and the page say what they said before, without the request. Every page load also got a 404 for /favicon.ico. The page named no icon, so the browser asked for the one it guesses at, and the app ships none. The page now names an empty inline icon, so nothing is asked for and the tab looks as it did.
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
November 25, 2026 07:21
davidmckayv
added a commit
that referenced
this pull request
Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a shimmer on the running step (#2201), long tasks that keep going instead of stopping as too long (#2184), a push to your phone when a Bot finishes while you're away and a conversation marked read only while it's seen (#2192), an invited address with no account signing up (#2187), the version on screen on OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's managed-updates and favicon requests (#2186), the screen guide's Open apps and Every Bot, the pre-upgrade backup of every database with a restore command, and the API's invitationSignUp and setup checklist wording. release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its last migration, 0181_organization_ai_sign_in_credentials.
davidmckayv
added a commit
that referenced
this pull request
Nov 25, 2026
Unreleased gains, from the code of each change since rc.5 (OpenBot main a9ba3fe to 25d50a1, and the server since rc.5's): a Bot's work folded with a shimmer on the running step (#2201), long tasks that keep going instead of stopping as too long (#2184), a push to your phone when a Bot finishes while you're away and a conversation marked read only while it's seen (#2192), an invited address with no account signing up (#2187), the version on screen on OpenBot Cloud (#2197), Setup's model row as the reader's AI (#2185), Admin's managed-updates and favicon requests (#2186), the screen guide's Open apps and Every Bot, the pre-upgrade backup of every database with a restore command, and the API's invitationSignUp and setup checklist wording. release-policy.json: fromVersions adds v1.2.0-rc.5 and database.from adds its last migration, 0181_organization_ai_sign_in_credentials.
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.
Found on OpenBot Cloud (1.2.0-rc.5): every Admin page got two 404s.
GET /organizations/{id}/management. Admin's rail and the Managed updates page asked for the management enrollment on every Admin page. The server answers it only in the organizationdefault, on an OpenBot a company runs itself, and 404 everywhere else, as the spec already says. Admin now asks only there: never on a hosted OpenBot (hostedSignIn), never in another organization, and, as before, never on the personal edition. Nothing on screen changes: the rail leaves Managed updates out and the page says "Not available here", as they did after the 404./favicon.ico. The page named no icon, so the browser asked for/favicon.icoon every load, and the app ships none. It looked like a 404 from another host because a browser's own favicon request isn't one the page makes, so it shows in the console with no address. The page now names an empty inline icon, so nothing is requested and the tab looks the same.Tests (red on main, green here):
app/tests/admin-management.test.tsx: on OpenBot Cloud, on a hosted OpenBot indefault, and in a team OpenBot's other organization, Admin makes no management request. On main these asked 2, 1 and 1 times.app/tests/page-icon.test.ts: the page head names an inline icon. On main it names none.