Skip to content

Detect AWS IAM errors as infra failures, allow date in run_command#2551

Merged
hiroshinishio merged 1 commit intomainfrom
wes
Apr 18, 2026
Merged

Detect AWS IAM errors as infra failures, allow date in run_command#2551
hiroshinishio merged 1 commit intomainfrom
wes

Conversation

@hiroshinishio
Copy link
Copy Markdown
Collaborator

@hiroshinishio hiroshinishio commented Apr 18, 2026

Summary

  • Add AccessDeniedException and no identity-based policy allows to infra failure patterns so GA skips AWS IAM errors instead of wasting iterations trying to fix testing/setup.ts
  • Allow date command in run_command so GA can check current date when debugging date-sensitive test failures
  • Fix pylint W1514 in test_detect_infra_failure.py (missing encoding on read_text)

Social Media Post (GitAuto)

  • Agent now recognizes AWS permission errors as infrastructure issues instead of code bugs
  • Added date command to agent's shell toolkit for debugging time-dependent tests

AccessDeniedException from SSM/SecretsManager caused GA to waste iterations
trying to "fix" testing/setup.ts instead of skipping. Adding `date` lets GA
check current date for debugging date-sensitive test failures.
@hiroshinishio hiroshinishio self-assigned this Apr 18, 2026
@hiroshinishio hiroshinishio merged commit 8dd0d6e into main Apr 18, 2026
1 check passed
@hiroshinishio hiroshinishio deleted the wes branch April 18, 2026 03:36
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.

1 participant