Skip to content

CAMEL-22325: Add AGENTS.md section to enforce Awaitility over Thread.sleep#22371

Merged
oscerd merged 1 commit into
mainfrom
ci-issue-TASK-220
Apr 1, 2026
Merged

CAMEL-22325: Add AGENTS.md section to enforce Awaitility over Thread.sleep#22371
oscerd merged 1 commit into
mainfrom
ci-issue-TASK-220

Conversation

@oscerd

@oscerd oscerd commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Claude Code on behalf of Andrea Cosentino

  • Adds a new "Asynchronous Testing" section to AGENTS.md (which CLAUDE.md symlinks to) under the AI Agent Rules of Engagement
  • Prohibits Thread.sleep() in new test code and mandates Awaitility as the standard replacement
  • Includes a concrete usage example from the existing codebase and migration guidance for existing code

Test plan

  • Verify the new section renders correctly in the AGENTS.md markdown
  • Confirm CLAUDE.md (symlink) reflects the same content
  • No code changes — documentation only

🤖 Generated with Claude Code

@oscerd oscerd requested review from apupier, gnodet and zregvart April 1, 2026 11:00
…sleep

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Signed-off-by: Andrea Cosentino <ancosen@gmail.com>
@oscerd oscerd force-pushed the ci-issue-TASK-220 branch from f176737 to c098153 Compare April 1, 2026 11:01
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

ℹ️ CI did not run targeted module tests (all projects built or tests skipped).

@oscerd oscerd merged commit 83af397 into main Apr 1, 2026
5 checks passed
@oscerd oscerd deleted the ci-issue-TASK-220 branch April 1, 2026 11:54
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

🌟 Thank you for your contribution to the Apache Camel project! 🌟
🤖 CI automation will test this PR automatically.

🐫 Apache Camel Committers, please review the following items:

  • First-time contributors require MANUAL approval for the GitHub Actions to run
  • You can use the command /component-test (camel-)component-name1 (camel-)component-name2.. to request a test from the test bot although they are normally detected and executed by CI.
  • You can label PRs using build-all, build-dependents, skip-tests and test-dependents to fine-tune the checks executed by this PR.
  • Build and test logs are available in the summary page. Only Apache Camel committers have access to the summary.

⚠️ Be careful when sharing logs. Review their contents before sharing them publicly.

@github-actions github-actions Bot added the docs label Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants