Skip to content

Conversation

@reyhankoyun
Copy link
Contributor

@reyhankoyun reyhankoyun commented Oct 16, 2025

Issue #, if available:

Description of changes:

  • Add GitHub Actions workflow with OIDC authentication and secure fork testing
  • Remove #[ignore] annotations and enable all 6 integration tests to run in CI
  • Use pull_request_target with team member detection and safe-to-test label requirement for external contributors
    • COLLABORATOR: automatic test execution
    • Others: require 'safe to test' label for manual approval

Testing

  • All integration tests pass in both sequential and parallel execution
  • OIDC authentication tested and working

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

- Add integration-tests.yml workflow with OIDC authentication and pull_request_target
- Support team member detection and safe-to-test label for external contributors
- Remove #[ignore] annotations from all 6 integration tests
- Add dynamic port allocation using atomic counter to prevent port conflicts
- Add proper randomness to secret naming (thread ID + nanoseconds + random number)
- Add fastrand dependency for random number generation
- Update test-local.sh to remove --ignored flag and update comments
- Enable both sequential (--test-threads=1) and parallel test execution
Use 'safe to test' (with spaces) to align with other AWS repositories
- COLLABORATOR: automatic test execution
- Others: require 'safe to test' label for manual approval
- Remove repo source checks - only author trust level matters
@reyhankoyun reyhankoyun requested a review from a team as a code owner October 16, 2025 20:56
@reyhankoyun reyhankoyun force-pushed the add-integration-tests-workflow branch from 03774c2 to 3a9a4f3 Compare October 16, 2025 22:20
@codecov
Copy link

codecov bot commented Oct 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.72%. Comparing base (bad0177) to head (c7e7088).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #136   +/-   ##
=======================================
  Coverage   91.72%   91.72%           
=======================================
  Files          14       14           
  Lines        2418     2418           
  Branches     2418     2418           
=======================================
  Hits         2218     2218           
  Misses        150      150           
  Partials       50       50           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

simonmarty
simonmarty previously approved these changes Oct 16, 2025
Signed-off-by: Simon Marty <simon.marty@protonmail.com>
simonmarty
simonmarty previously approved these changes Oct 16, 2025
- Add reopened trigger (part of default set)
- Add ready_for_review trigger for draft PRs marked ready
- Add Checkout step name for consistency
@reyhankoyun reyhankoyun enabled auto-merge (squash) October 17, 2025 17:36
@simonmarty simonmarty disabled auto-merge October 17, 2025 19:35
@reyhankoyun reyhankoyun merged commit ab15067 into aws:main Oct 17, 2025
10 checks passed
@reyhankoyun reyhankoyun deleted the add-integration-tests-workflow branch October 20, 2025 20:18
simonmarty added a commit to aws/secrets-store-csi-driver-provider-aws that referenced this pull request Nov 3, 2025
*Issue #, if available:*

*Description of changes:* Fork run:
https://github.com/simonmarty/secrets-store-csi-driver-provider-aws/actions/runs/18887954508
(will try to keep this link up to date during review)

Add initial integration test workflow. The workflow triggers on
`pull_request_target` similar to
aws/aws-secretsmanager-agent#136


By submitting this pull request, I confirm that you can use, modify,
copy, and redistribute this contribution, under the terms of your
choice.
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