Skip to content

Fixing bug with red_teaming_bot#11

Merged
rlundeen2 merged 6 commits into
mainfrom
users/rlundeen/1_16_bugfix
Jan 17, 2024
Merged

Fixing bug with red_teaming_bot#11
rlundeen2 merged 6 commits into
mainfrom
users/rlundeen/1_16_bugfix

Conversation

@rlundeen2
Copy link
Copy Markdown
Contributor

@rlundeen2 rlundeen2 commented Jan 16, 2024

  • Fixing red team bot bug where conversation wasn't being sent
  • Adding test
  • Adding .env to .gitignore
  • Changing the pre-commit run to be more system independent and fast

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jan 16, 2024

Test Results

70 tests  +1   70 ✅ +1   14s ⏱️ +3s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit e5c22f9. ± Comparison against base commit c91b090.

♻️ This comment has been updated with latest results.

Comment thread .github/workflows/build_and_test.yml
Comment thread .gitignore Outdated
@rlundeen2 rlundeen2 merged commit 3092768 into main Jan 17, 2024
@romanlutz romanlutz deleted the users/rlundeen/1_16_bugfix branch January 17, 2024 23:23
rlundeen2 added a commit to rlundeen2/PyRIT that referenced this pull request May 28, 2026
- atomic_attack.py: use 'unknown' instead of '?' in the executor
  max_concurrency log fallback (review microsoft#7).
- scenario.py: extract the post-gather error-collection loop into a
  new _collect_errors_from_outcomes helper for readability (review microsoft#10).
- scenario.py: rewrite the comment block above the parallel-execution
  branch per Justin's suggestion to name the AttackExecutor-level
  Semaphore and the parameter-build + attack-execution units of
  work (review microsoft#11).
- test_attack_executor.py: add four regression tests for
  AttackExecutor._get_semaphore covering lazy construction, in-loop
  reuse, and rebuild across asyncio.run() invocations (review microsoft#12).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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