Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change stripDeadJobs to ReservedAgent #5063

Closed
wants to merge 1 commit into from

Conversation

ramondegoede
Copy link

Change the function in which the scaler looks for jobs to filter out from succeeded to reserved agent. This makes will make the filtering of jobs which have been taken over even quicker, because jobs which are running but not succeeded yet will also be filtered out.

Checklist

Fixes #

Relates to #

@ramondegoede ramondegoede requested a review from a team as a code owner October 9, 2023 13:05
@ramondegoede
Copy link
Author

/run-e2e

@github-actions
Copy link

github-actions bot commented Oct 9, 2023

Thank you for your contribution! 🙏 We will review your PR as soon as possible.

While you are waiting, make sure to:

Learn more about:

@JorTurFer
Copy link
Member

JorTurFer commented Oct 13, 2023

/run-e2e pipeline
Update: You can check the progress here

@JorTurFer
Copy link
Member

@Eldarrin , WDYT about this change?

@Eldarrin
Copy link
Contributor

damn, written and deleted a response twice. I see it now, but does it really matter as the system is working and the change will at most affect microseconds? But yeah, could be an improvement if it was tested thoroughly at scale

@JorTurFer
Copy link
Member

JorTurFer commented Oct 14, 2023

I'm worried about it because I have executed e2e tests twice and both times azure_pipelines_test has failed. Could you check it @ramondegoede ?

@JorTurFer
Copy link
Member

JorTurFer commented Oct 14, 2023

/run-e2e pipeline
Update: You can check the progress here

@Eldarrin
Copy link
Contributor

Eldarrin commented Oct 14, 2023

I'm worried about it because I have executed e2e tests twice and both times azure_pipelines_test has failed. Could you check it @ramondegoede ?

quick check pat tokens didn't expire? :) can't see results. But don't see a reason to make the change tbh

@ramondegoede if you were unaware, jobrequests is an unreleased API from MS; so we need to be very careful as its not on any review/maintain cycle. And we haven't found a better alternative

@JorTurFer
Copy link
Member

JorTurFer commented Oct 14, 2023

quick check pat tokens didn't expire?

I don't think so. The other AzPipeline e2e test passes: https://github.com/kedacore/keda/actions/runs/6513120951/job/17694623703#step:9:1840

EXECUTION SUMMARY
##############################################
##############################################
Passed tests:
	Execution of tests/scalers/azure/azure_pipelines_adv/azure_pipelines_adv_test.go, has passed after "one" attempts
Failed tests:
	Execution of tests/scalers/azure/azure_pipelines/azure_pipelines_test.go, has failed after "three" attempts

Also, nightly build passes, so it's not something related with the e2e test case: https://github.com/kedacore/keda/actions/runs/6514260924

@Eldarrin
Copy link
Contributor

So, not for merging IMHO

Copy link

stale bot commented Jan 11, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale All issues that are marked as stale due to inactivity label Jan 11, 2024
Copy link

stale bot commented Jan 19, 2024

This issue has been automatically closed due to inactivity.

@stale stale bot closed this Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale All issues that are marked as stale due to inactivity
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants