Skip to content

fix(site/src/pages/AgentsPage/components/ChatMessageInput): retry agents on reopen and match qualified aliases - #221

Merged
ibetitsmike merged 2 commits into
mainfrom
mike/agent-mention-issue-217-fixes
Nov 11, 2026
Merged

ibetitsmike merged 2 commits into
mainfrom
mike/agent-mention-issue-217-fixes

Conversation

@ibetitsmike

@ibetitsmike ibetitsmike commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Xum opened this PR on behalf of @ibetitsmike.

Fixes #217

Two late Codex findings on #183 that the triage on #217 accepted, both in the composer's @ agent menu (ForkAgentMentionPlugin):

  • Retry after reopening. Escape closes the menu but leaves the typeahead query, and the agent queries stayed enabled while that query existed. Editing the mention reopened the menu without refetching a list that had failed, even though the status says "Close and type @ again to retry." Automatic retries are off app-wide. The queries are now enabled only while the menu is shown, so reopening it refetches a failed list.
  • Qualified names keep matching. Once every list loads with no name shared across tiers, a custom agent is listed by its bare name, and the filter checked only that name. So @personal/rev matched nothing, although chatd accepts personal/reviewer. A query containing / now matches the tier-qualified name. A query without / still matches only the listed name, so a short query like @e doesn't match every agent in the personal tier.

Threads 2 and 4 on #183 are dropped, with the reasons from the triage comment on #217.

Tests: two new cases in ForkAgentMentionPlugin.test.tsx. One fails the personal list, presses Escape, types a letter, and checks the list is fetched again and the loaded agent can be inserted. The other types @personal/rev and inserts the bare reviewer once the lists load. Each fails when its fix is reverted.

Checks: the plugin's unit tests, biome, oxlint, tsc and knip pass locally. The frontend deep review found nothing.

…nts on reopen and match qualified aliases

Fixes #217
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-11T21:31:31.596357Z b39602e Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@ibetitsmike

Copy link
Copy Markdown
Owner Author

@codex review

Xum commented on behalf of @ibetitsmike.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: b39602e016

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@ibetitsmike
ibetitsmike merged commit c02ab7a into main Nov 11, 2026
9 checks passed
@ibetitsmike

Copy link
Copy Markdown
Owner Author

Xum merged this PR on behalf of @ibetitsmike.

Merged by the pstack parity lead. CI passed (9/9) on head 2a4be6b. That head only merges main into b39602e, and the file diff is the same. The Codex receipt on b39602e is clean, and 0 threads are unresolved here and on #183. frontend-deep-review found 0 findings. Each fix has a Vitest case that fails when the fix is reverted. That is enough for this small composer fix, so it had no live UAT (the same as #199). Fixes #217.

@ibetitsmike
ibetitsmike deleted the mike/agent-mention-issue-217-fixes branch November 11, 2026 21:51
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.

site(ChatMessageInput): triage the four Codex findings that arrived after #183 merged

1 participant