Skip to content

Conversation

@amogh09
Copy link
Contributor

@amogh09 amogh09 commented Jun 5, 2025

Summary

This change makes Fault Injection Handlers' validation of task metadata stricter so that issues in it are handled gracefully. Specifically, they now ensure that all network interfaces' in the task metadata have a non-empty DeviceName. DeviceName is used when injecting the faults.

Testing

New tests cover the changes: yes

Description for the changelog

Enhancement: Stricter validation for task metadata in fault injection handlers

Additional Information

Does this PR include breaking model changes? If so, Have you added transformation functions?

No

Does this PR include the addition of new environment variables in the README?

No

Licensing

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@amogh09 amogh09 marked this pull request as ready for review June 10, 2025 16:23
@amogh09 amogh09 requested a review from a team as a code owner June 10, 2025 16:23
@amogh09 amogh09 enabled auto-merge (squash) June 10, 2025 17:17
@amogh09 amogh09 merged commit bfcd1c6 into aws:dev Jun 10, 2025
40 checks passed
@prateekchaudhry prateekchaudhry mentioned this pull request Jul 3, 2025
timj-hh pushed a commit to timj-hh/amazon-ecs-agent that referenced this pull request Jul 19, 2025
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