Skip to content

Admin: stop asking for managed updates where it can't apply, and name the page icon - #2186

Merged
davidmckayv merged 1 commit into
mainfrom
fix/admin-management-404
Nov 25, 2026
Merged

davidmckayv merged 1 commit into
mainfrom
fix/admin-management-404

Conversation

@davidmckayv

Copy link
Copy Markdown
Contributor

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 organization default, 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.ico on 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 in default, 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.

… 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
davidmckayv merged commit f9532d5 into main Nov 25, 2026
23 checks passed
@davidmckayv
davidmckayv deleted the fix/admin-management-404 branch November 25, 2026 07:53
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.
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.

1 participant