Added
- (agent-platform) Disable organizations where the person may not create agents in the New agent picker by @fiunchinho — On New agent, the Organization picker greys out organizations where you only use agents, as
Needs the editor role to create agents, and says so under the picker, instead of failing at the end. Needs an agent-manager that reports the permission. - (agent-platform) Turn environments on and off on /profile, with their access health by @marians — On Profile and settings, every environment is a toggle with its access state: turn one off and the portal shows nothing from it, or use
All onandAll off. An expired environment offersSign in again.
Changed
- (agent-platform) Mount one persisted query client provider per route by @fiunchinho — Nothing changes on the pages: Agent Platform pages restore their cached data from the browser’s storage once per page instead of once for every section that reads it.
Fixed
- (agent-platform) Show a disconnected connector’s state in the Tools step instead of 0 tools by @marians — When creating or editing an agent, a connector that isn’t connected shows
Not connected,Partly connectedorDeactivatedin the Tools step instead of 0 tools; the Connectors tab shows — as its tool count. - (agent-platform) Say what blocks the toolset and mark connector states in words by @QuentinBisson — In the Tools step of creating or editing an agent, a blocked Continue says what blocks the toolset, connectors name their sign-in state in words, and picking individual tools says what it leaves out.
- (agent-platform) Hide unavailable deployment details by @QuentinBisson — On an agent’s page,
Technical detailsleaves out deployment information you may not read, instead of showing the backend’s permission message; the agent’s status stays visible. - (agent-platform) Format the remaining session and cache dates with the shared formatters by @QuentinBisson — The Sessions page and the command palette show times in 24-hour format and add the year to older dates. On Model hosting’s Model cache, creation dates read as an age, with the full timestamp on hover.
- (agent-platform) Say when a sign-in from another browser ended the session by @QuentinBisson — When signing in on another device, browser or profile ends your session, the Agent Platform pages say
You signed in somewhere elseand offerSign in again, instead of showing empty lists and zero counts. - (agent-platform) Name a model by its display name, else the model it runs by @QuentinBisson — On New agent, Edit agent and an agent’s page, a model is named by its display name, else the model it runs, the same way everywhere; choices that would look identical also show their configuration’s name.
- (agent-platform) Count cache tokens inside input without guessing the convention by @QuentinBisson — Nothing changes on today’s installations: the Usage pages and session cost estimates read cached tokens as part of input without guessing the gateway’s convention from the totals, which a time window could misread.
- (agent-platform) Show errors and the current selection in the workspace editor by @QuentinBisson — On New workspace and Edit workspace, a save shows which fields need attention, picked repositories come first, unticked ones leave filter selections, keyboard focus stays in place, and technical provider errors fold away.
- (agent-platform) Say in words when the model provider failed a turn by @QuentinBisson — In a session, a turn the model provider refused, for example over its credentials, gets a heading and a sentence on what happened, instead of
This turn failedwith the gateway’s raw error. - (agent-platform) Correct model failure recovery advice by @QuentinBisson — In a session, a failed model turn’s advice and the notification inbox’s label follow the provider’s HTTP status, and its technical details open and close from the keyboard without losing focus.
- (agent-platform) Clarify model failures and stabilize review checks by @QuentinBisson — In a session, a turn the model couldn’t answer says
Could not get an answer from the modeland whether to try again or ask the platform team to check its access; the provider’s error moves under its details. - (agent-platform) Show one progress bar on the Agents tab while Last used waits for its first read by @marians — On Customize’s Agents tab, sorting by
Last usedshows one progress bar while it loads, and the Sort picker keeps one width so the filters no longer move when you pick a longer sort. - (agent-platform) Keep a Customize page’s environment out of the sessions lists, and add an Environment filter to /sessions by @marians — Choosing an environment on a Customize page no longer hides other environments’ sessions and agents from the side rail, the inbox, the start screen and the Sessions page, which gets an
Environmentfilter. Usage keeps its own environment choice. - (agent-platform) Complete credential saves and recover stale requests by @QuentinBisson — On an organization’s page, the credential form no longer shows stale values or warnings after a refresh or a finished request, and adding a model with an existing key closes its dialog.
- (agent-platform) Disable an organization’s changes while it is pending erase by @fiunchinho — On an organization in
Pending erase,Add a member,Remove,Add model,Replace keyandReplace credentialare disabled, with the notice saying why;Erase nowstays available. - (agent-platform) Name every General Assistant that cannot start sessions on the start screen by @marians — On the start screen, the alert about General Assistant agents that cannot start sessions counts them, groups them by reason and environment, and links each one; it turns into a warning when one has failed.
- (agent-platform) Disable an organization’s changes while it is erased by @fiunchinho — While an organization is
Erasing, its members, models and credentials can’t be changed either, as inPending erase, and the disabled fields ofAdd a membernow look disabled. - (agent-platform) Select a new-session link’s agent when its installation name is agent-manager’s, and focus its prompt by @marians — A link in an agent’s reply that starts a new session selects the agent it names, or says above the message box why it can’t, and puts the cursor at the end of the prepared message.
- (agent-shell) Remove the dead core-components table scroll rule by @marians — Nothing changes on the pages: a style rule of the Agent Platform shell that matched no element is gone.
- (auth) Refuse a Giant Swarm sign-in the catalog cannot match instead of the shared guest by @QuentinBisson — A Giant Swarm employee with no user in the catalog, for example with no GitHub handle in Personio, gets a sign-in error instead of entering as the shared guest user.
- (muster) Consolidate usage counts and preserve histogram caching by @QuentinBisson — The Connectors usage page and a connector’s or tool’s Usage tab keep all latency data of a large time window, such as 90 days, instead of a truncated part, and load with fewer queries.
- (muster) No shared usage cache for guests, and no reused 404 in the settings storage by @QuentinBisson — Settings saved in another tab or device can no longer be overwritten by a stale read. For operators: connector usage of guest users is no longer cached.
- (muster) Show a failed connector’s error as a warning on its Tools tab by @marians — On the page of a connector that failed to connect, or whose instances all failed, the Tools tab shows why it has no tools as a warning instead of grey text.
- (muster) Put the connectors’ Sign in in a column of its own by @marians — On Customize’s Connectors tab, a connector’s
Sign inbutton sits beside itsSign in neededstate, lined up with the other rows’ buttons, and long labels wrap instead of being cut off.
Development and CI/CD
- (agent-platform) Serve agent-manager from the fixture data set by @marians — In fixture mode, organizations, models and agents come from the data set. In the portal, an organization’s Models, Connectors and Egress tabs and Cost’s By model table no longer fail on an item named like a column, such as
default. - (agent-platform, gs-common) Serve workspace-, toolchain- and skill-manager from the fixture data set by @marians — In fixture mode, workspaces, toolchains and skills show made-up data.
- (agent-platform, gs-common) Serve kagent from the fixture data set by @marians — In fixture mode, sessions, conversations and usage show made-up data.
- (agent-platform, gs-common, muster) Serve model-manager and cluster-manager from the fixture data set by @marians — In fixture mode, Model hosting’s running models, GPU pools and model cache, and its serve, import and pull flows, show made-up data.
- (gs-common, muster, agent-platform) Fixture data builders and base data set by @marians — Adds the fixture mode’s data builders and its base data set.
- (muster) Serve muster’s reads from the fixture data set by @marians — In fixture mode, connectors, workflows and connector usage show made-up data in every state.
- (muster, agent-platform, gs) Fixture mode skeleton by @marians — Adds a fixture mode for local development,
yarn fixtures start, that runs the portal against made-up data. Production builds contain none of its code. - (plans, roadmap) Keep fixture code out of production builds by @marians — Production builds no longer contain the fixture code of Plans and Roadmap, and CI fails a build that would.
Full Changelog: https://github.com/giantswarm/backstage/compare/v3.39.1...v3.40.0