Skip to content

test(agents): Match native delete failure guidance - #299

Merged
wesbillman merged 1 commit into
mainfrom
codex/fix-agent-delete-error-test
Sep 25, 2026
Merged

wesbillman merged 1 commit into
mainfrom
codex/fix-agent-delete-error-test

Conversation

@salman1993

Copy link
Copy Markdown
Contributor

Why

After #283 changed the native operation error, ProfileAgentArchive.test.tsx still expected the old delete message. This makes the JavaScript CI job fail on current main and on PR #272's updated base.

What

  • Match the displayed host refusal and recovery guidance in the failed-delete test.
  • Keep the assertions that relay effects completed, the profile stayed open, and Delete remains available.

How

The test accepts either place the same error appears in the profile, without depending on the number of alerts.

Risk

Test-only change. Production behavior is unchanged.

Testing

No manual testing; the test uses a synthetic native refusal.

Bigger picture

This restores the baseline JavaScript gate needed to merge #272 and then #277. The test failed before this change and passed afterward on current main.

Generated with Codex

Signed-off-by: OpenAI Codex <codex@openai.com>
@salman1993
salman1993 marked this pull request as ready for review September 25, 2026 20:06
@salman1993
salman1993 requested review from a team, comp615 and wesbillman as code owners September 25, 2026 20:06
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codex Review Summary

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-25T20:08:25.944730Z 78dfa24 Draft marked ready
ℹ️ 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.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 78dfa24fdc

ℹ️ 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".

@@ -453,9 +453,10 @@ it("a failed native delete after confirmed relay effects reports it and stays op
"Synthetic native refusal",
);
await confirmDelete(userEvent.setup());

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add the required DCO sign-off

Commit 700596d334d393fc1b00ea5db0442fdea0664f0c has no Signed-off-by trailer, so it violates the repository's per-commit DCO requirement and will not satisfy the hosted DCO check. Recreate this commit with git commit --signoff using the verified effective author identity before submitting it.

AGENTS.md reference: AGENTS.md:L151-L161

Useful? React with 👍 / 👎.

@wesbillman
wesbillman merged commit 64be4c2 into main Sep 25, 2026
14 checks passed
@wesbillman
wesbillman deleted the codex/fix-agent-delete-error-test branch September 25, 2026 20:19
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.

4 participants