Skip to content

Fixing bug with red_teaming_bot - #11

Merged
Richard Lundeen (richlundeen) merged 6 commits into
mainfrom
users/rlundeen/1_16_bugfix
Jan 17, 2024
Merged

Richard Lundeen (richlundeen) merged 6 commits into
mainfrom
users/rlundeen/1_16_bugfix

Conversation

@richlundeen

@richlundeen Richard Lundeen (richlundeen) commented Jan 16, 2024 •

Copy link
Copy Markdown
Contributor
  • 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

github-actions Bot commented Jan 16, 2024 •

Copy link
Copy Markdown
Contributor

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 .gitignore Resolved
@romanlutz
Roman Lutz (romanlutz) deleted the users/rlundeen/1_16_bugfix branch January 17, 2024 23:23
Richard Lundeen (richlundeen) added a commit to richlundeen/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