Skip to content

fix(ci): run perf tests only after E2E passes - #2185

Merged
Quang Nguyen (nddq) merged 1 commit into
mainfrom
fix/gate-perf-on-e2e
Apr 13, 2026
Merged

fix(ci): run perf tests only after E2E passes#2185
Quang Nguyen (nddq) merged 1 commit into
mainfrom
fix/gate-perf-on-e2e

Conversation

@nddq

Copy link
Copy Markdown
Member

Description

Currently perf-test-basic and perf-test-advanced in images.yaml run in parallel with the e2e job. If E2E is already failing, both perf jobs still spin up AKS clusters, wasting ~2 hours of compute and 2 additional resource groups.

This adds e2e to the needs list for both perf jobs so they only run after E2E passes.

Related Issue

N/A

Checklist

  • I have read the contributing documentation.
  • I signed and signed-off the commits (git commit -S -s ...). See this documentation on signing commits.
  • I have correctly attributed the author(s) of the code.
  • I have tested the changes locally.
  • I have followed the project's style guidelines.
  • I have updated the documentation, if necessary.
  • I have added tests, if applicable.

Screenshots (if applicable) or Testing Completed

Workflow-only change. Verified YAML syntax is correct.

Additional Notes

N/A

Gate perf-test-basic and perf-test-advanced on the e2e job so they
don't spin up clusters when the E2E suite is already failing.

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
@github-actions

Copy link
Copy Markdown

Retina Code Coverage Report

Total coverage no change

@nddq
Quang Nguyen (nddq) added this pull request to the merge queue Apr 13, 2026
Merged via the queue into main with commit e1e4c63 Apr 13, 2026
31 checks passed
@nddq
Quang Nguyen (nddq) deleted the fix/gate-perf-on-e2e branch April 13, 2026 15:58
Laksh (lakshk98) pushed a commit to lakshk98/retina that referenced this pull request Aug 4, 2026
# Description

Currently `perf-test-basic` and `perf-test-advanced` in `images.yaml`
run in parallel with the `e2e` job. If E2E is already failing, both perf
jobs still spin up AKS clusters, wasting ~2 hours of compute and 2
additional resource groups.

This adds `e2e` to the `needs` list for both perf jobs so they only run
after E2E passes.

## Related Issue

N/A

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/Contributing/overview).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [ ] I have updated the documentation, if necessary.
- [ ] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed

Workflow-only change. Verified YAML syntax is correct.

## Additional Notes

N/A

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>
Laksh (lakshk98) pushed a commit to lakshk98/retina that referenced this pull request Aug 4, 2026
# Description

Currently `perf-test-basic` and `perf-test-advanced` in `images.yaml`
run in parallel with the `e2e` job. If E2E is already failing, both perf
jobs still spin up AKS clusters, wasting ~2 hours of compute and 2
additional resource groups.

This adds `e2e` to the `needs` list for both perf jobs so they only run
after E2E passes.

## Related Issue

N/A

## Checklist

- [x] I have read the [contributing
documentation](https://retina.sh/docs/Contributing/overview).
- [x] I signed and signed-off the commits (`git commit -S -s ...`). See
[this
documentation](https://docs.github.com/en/authentication/managing-commit-signature-verification/about-commit-signature-verification)
on signing commits.
- [x] I have correctly attributed the author(s) of the code.
- [x] I have tested the changes locally.
- [x] I have followed the project's style guidelines.
- [ ] I have updated the documentation, if necessary.
- [ ] I have added tests, if applicable.

## Screenshots (if applicable) or Testing Completed

Workflow-only change. Verified YAML syntax is correct.

## Additional Notes

N/A

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.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.

2 participants