fix(agent): avoid full availability refresh on reads#566
Merged
Conversation
added 7 commits
July 3, 2026 09:52
piorpua
pushed a commit
that referenced
this pull request
Jul 3, 2026
🤖 I have created a release *beep* *boop* --- ## [0.1.42](v0.1.41...v0.1.42) (2026-07-03) ### Features * **assistant:** 官方助手默认关闭 + 固定顺序 + 一次性重置迁移 ([#567](#567)) ([3e30b02](3e30b02)) ### Bug Fixes * **agent:** align unchecked availability with team runtime selection ([#571](#571)) ([f80b0ce](f80b0ce)) * **agent:** avoid full availability refresh on reads ([#566](#566)) ([1ffb7aa](1ffb7aa)) * **cron:** preserve existing conversation jobs across lifecycle changes ([#572](#572)) ([fa4217a](fa4217a)) * **mcp:** support aionrs config path subcommand with legacy fallback ([#568](#568)) ([72cfba1](72cfba1)) * preserve ACP config catalogs on resume ([#570](#570)) ([a9c1955](a9c1955)) * preserve Linux GLIBC baselines ([#573](#573)) ([ab6e227](ab6e227)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
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.
Summary
/api/agents/refreshendpoint.Uncheckedinstead of being assumed available.Uncheckedso the frontend can display unknown/unprobed availability accurately.YYYY/MM/DD/YYYY-MM-DD.{aioncore,aionrs}.logdirectory instead of writing the new date under the previous day directory.Why
Opening or refreshing the Agents page was triggering repeated full availability probes for all agents. That produced thousands of repeated
node runtime probe decided/agent available/agent unavailablelog lines and unnecessary path/runtime checks. After removing the full refresh, unchecked historical rows need to remain visibly unknown rather than silently becoming available.A separate log-rotation issue also made cross-day debugging confusing: files such as
2026-07-03.aioncore.logcould appear under2026/07/02/.Notable Changes
/api/agents/refreshendpoint was removed.Uncheckedfor rows that have not been probed.Verification
cargo fmt --all -- --checkcargo test -p aionui-app bootstrap::tracing_init::testscargo test -p aionui-ai-agentcargo clippy -p aionui-app -p aionui-ai-agent -- -D warnings