Skip to content

fix: fixed cron scaler to return zero metric value by default#6888

Merged
wozniakjan merged 3 commits intokedacore:mainfrom
frauniki:cron-zero-scale
Aug 17, 2025
Merged

fix: fixed cron scaler to return zero metric value by default#6888
wozniakjan merged 3 commits intokedacore:mainfrom
frauniki:cron-zero-scale

Conversation

@frauniki
Copy link
Contributor

@frauniki frauniki commented Jul 7, 2025

Fixed cron scaler to return zero metric value by default.

Checklist

Fixes #6886

@frauniki frauniki force-pushed the cron-zero-scale branch 4 times, most recently from 9049346 to 70a229a Compare July 7, 2025 05:19
@frauniki frauniki changed the title fix: cron_scaler returns zero metric value by default fix: fixed cron scaler to return zero metric value by default Jul 7, 2025
@rickbrouwer
Copy link
Member

Hi!

The autogenerated deepcopy function are not needed for this change I think. Could you remove them?

@frauniki frauniki force-pushed the cron-zero-scale branch 4 times, most recently from 38f4f61 to f11c1f0 Compare July 8, 2025 03:21
@frauniki
Copy link
Contributor Author

frauniki commented Jul 8, 2025

Hi!

The autogenerated deepcopy function are not needed for this change I think. Could you remove them?

fixed

@frauniki frauniki force-pushed the cron-zero-scale branch 2 times, most recently from b5ed076 to fdcd207 Compare July 8, 2025 03:27
@rickbrouwer
Copy link
Member

rickbrouwer commented Jul 8, 2025

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

@frauniki frauniki force-pushed the cron-zero-scale branch 2 times, most recently from 1639848 to 8e1af63 Compare July 8, 2025 08:17
@frauniki frauniki requested a review from rickbrouwer July 8, 2025 08:18
Signed-off-by: frauniki <frauniki@sinoa.jp>
@rickbrouwer
Copy link
Member

rickbrouwer commented Jul 8, 2025

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

Copy link
Member

@rickbrouwer rickbrouwer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks!

@SpiritZhou
Copy link
Contributor

LGTM!

@rickbrouwer rickbrouwer added the ok-to-merge This PR can be merged label Jul 23, 2025
@rickbrouwer
Copy link
Member

rickbrouwer commented Jul 23, 2025

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

Copy link
Member

@wozniakjan wozniakjan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, thank you!

@wozniakjan wozniakjan enabled auto-merge (squash) August 7, 2025 12:14
Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
@JorTurFer
Copy link
Member

/skip-e2e

Signed-off-by: Jorge Turrado Ferrero <Jorge_turrado@hotmail.es>
@wozniakjan wozniakjan merged commit c2f562f into kedacore:main Aug 17, 2025
23 checks passed
jmickey pushed a commit to jmickey/keda that referenced this pull request Aug 22, 2025
dpochopsky pushed a commit to dpochopsky/keda that referenced this pull request Sep 12, 2025
Signed-off-by: frauniki <frauniki@sinoa.jp>
Signed-off-by: David Pochopsky <david.pochopsky@united.com>
alt-dima pushed a commit to alt-dima/keda that referenced this pull request Dec 13, 2025
Signed-off-by: frauniki <frauniki@sinoa.jp>
Signed-off-by: Dmitriy Altuhov <altuhovd@gmail.com>
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Dec 22, 2025
tangobango5 pushed a commit to tangobango5/keda that referenced this pull request Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ok-to-merge This PR can be merged skip-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cron_scaler always reports 1 when inactive, preventing zero scaling with scalingModifiers

6 participants