2947 Commits

Author SHA1 Message Date
Loïc Mathieu
c06ffb3063 feat(system): set taskrun attempt to resubmitted when a taskrun is resubmitted to a worker
Closes https://github.com/kestra-io/kestra/issues/12481
2025-10-30 15:46:05 +01:00
Hemant M Mehta
313fda153a fix: avoid reusing jq scope and revert unnecessary test changes
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
6c3bbcea4d fix: Move Scope initialization to static block
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
53b46f11aa fix: Increase wait timeout to 120s for restartFlowable tests to fix timing issues
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
9396e73f5a fix: Update ExecutionServiceTest replayFlowable
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
d02b6b0470 fix: static call issue
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
bdfd324a7d fix: update to version
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
551f6fe033 fix: updated the version
Signed-off-by: Hemant M Mehta <hemant29mehta@gmail.com>
2025-10-30 12:53:44 +01:00
Hemant M Mehta
7a0b3843e1 fix: jq-filter-zip-exception
closes: #11683
2025-10-30 12:53:44 +01:00
Loïc Mathieu
bc27e0ea9e chore(executions): deprecate the state store for the KVStore 2025-10-30 11:30:36 +01:00
brian.mulier
d9144c8c4f feat(core): introduce KV Metadata in-repository storing (#12342)
part of https://github.com/kestra-io/kestra/issues/12341
2025-10-29 17:18:43 +01:00
brian.mulier
b18d304b77 fix(kv): properly serialize durations 2025-10-29 17:18:43 +01:00
brian.mulier
c38cac5a9d fix(tests): concurrency-safe Template emits 2025-10-29 17:18:43 +01:00
Florian Hussonnois
e62baaabe4 fix(core): fix PluginCatalogService resolve method 2025-10-29 17:10:32 +01:00
Nicolas K.
efac416863 feat(core): force telemetry when license requires it (#12512)
Co-authored-by: nKwiatkowski <nkwiatkowski@kestra.io>
2025-10-29 17:03:45 +01:00
François Delbrayelle
d26956fc89 doc(http/request): fix doc about basic auth (#12510) 2025-10-29 16:56:27 +01:00
YannC
9042e86f12 fix: make sure taskOutputs is never set as a Variables map (#12484)
close #11967
2025-10-29 15:25:09 +01:00
Florian Hussonnois
228863d91a fix(test): fix test on FlowValidationTest 2025-10-29 14:19:56 +01:00
Your Name
4cdbb5f57e Remove duplicate test and explicitly use Integer.valueOf in chunkWithIntegerVariable 2025-10-29 12:36:00 +01:00
Your Name
3f27645b3c test(core): add reproducer for Integer to Long casting issue in chunk filter 2025-10-29 12:36:00 +01:00
Your Name
a897618108 fix(core): handle integer size in chunk Pebble filter 2025-10-29 12:36:00 +01:00
brian-mulier-p
03542e91f3 fix(core): show tasks in JSON Schema for Switch.cases (#12478)
part of #10508
2025-10-29 10:26:38 +01:00
Florian Hussonnois
958ee1ef8a fix(system): add resolveVersions method to PluginCatalogService
Related-to: kestra-io/kestra-ee#5171
2025-10-29 10:16:59 +01:00
Loïc Mathieu
4502c52d2b fix(executions): remove errors and finally tasks when restarting
Otherwize we would detect that an error or a finally branch is processing and the flowable state would not be correctly taken.

Moreover, it prevent this branch to be taken again after a restart.

Fixes #11731
2025-10-28 14:29:27 +01:00
Florian Hussonnois
153ac27040 fix(flows): KV pebble expressions with input defaults (#12314)
Fixes: #12314
2025-10-28 14:29:03 +01:00
Florian Hussonnois
6361a02deb feat(core): add prefill prop to input to allow nullable value (#11819)
Added a new 'prefill' property for all inputs
to specify an optional UI hint for pre-filling the input,while
allowing the input to be nullable.

Fixes: #11819
2025-10-28 14:21:26 +01:00
Irfan
4cd369e44d feat(core): add type validation to file inputs (#12176)
Closes https://github.com/kestra-io/kestra/issues/11266.

Co-authored-by: iitzIrFan <irfanlhawk@gmail.com>
Co-authored-by: Miloš Paunović <paun992@hotmail.com>
2025-10-28 12:33:10 +01:00
Florian Hussonnois
78c01999ad feat(triggers): add inputs property to webhook trigger
Add a new `inputs` property to the Webhook trigger, allowing input
data to be passed to the triggered flow. If no inputs are defined on the trigger,
the flow will not receive any inputs, even if some have default values.

This behavior ensures backward compatibility with how the Webhook trigger currently works.
2025-10-27 17:02:03 +01:00
skayliu
70ad7b5fa2 chore(core): clean code for "Warning: [text blocks] will remove trailing spaces" (#10511) 2025-10-27 10:24:26 +01:00
brian-mulier-p
25fcf9695a fix(kv): don't throw in KV function with errorOnMissing=false for expired kv (#12321)
closes #12294
2025-10-24 11:20:40 +02:00
Roman Acevedo
296ddb3b19 test(flaky): mark noGroup and flowWaitFailed as flaky 2025-10-23 20:44:27 +02:00
Maru Karthik Reddy
f3befd174c fix(system): replace deprecated setSerializationInclusion with setDefaultPropertyInclusion (#12315)
The method was deprecated in Jackson 2.7 and will be removed in Jackson 3.0.
This is a direct 1:1 replacement with identical serialization behavior.
2025-10-23 16:53:03 +02:00
Florian Hussonnois
832378af07 chore(core): update StorageContext to use FlowId class 2025-10-22 15:30:34 +02:00
(Tum) Poomtum Rattanarat
2ce7841aa3 disable id field when editing and make it required field (#12217) 2025-10-22 14:35:16 +02:00
mustafatarek
85dc3ec788 fix(core): synchronize creation/running flowable attempt states in Jdbc executor 2025-10-22 14:26:13 +02:00
mustafatarek
c6e7ff9436 fix(core): transfer flowable attempt creation from saveFlowableOutput() to TaskRun to fix tests 2025-10-22 14:26:13 +02:00
mustafatarek
bddb8fef89 fix(tests): fix markAsEachPara() test at ExecutionServiceTest 2025-10-22 14:26:13 +02:00
mustafatarek
24e2f5a0f6 feat(core): add unit tests for flowable task attempts( If and Sequential) 2025-10-22 14:26:13 +02:00
Maru Karthik Reddy
832c6eb313 fix(executions): ExecutionUpdatableTask attempt state tracking to record proper duration (#12206)
* fix(executor): record CREATED/RUNNING/SUCCESS states for ExecutionUpdatableTask attempts

Previously, ExecutionUpdatableTask attempts were created with only the
terminal state, skipping RUNNING and causing zero duration and incorrect UI display.

Update attempts through all state transitions:
- CREATED → RUNNING before task.update() call
- RUNNING → terminal state after execution

This preserves complete state history and enables accurate duration tracking.

* refactor: simplify attempt creation in handleExecutionUpdatingTask

Remove null/empty check for attempts list as no attempts exist at this
execution stage. Create attempt directly with RUNNING state using
`new State().withState(State.Type.RUNNING)`.

This simplifies the code while maintaining correct state transitions
(CREATED → RUNNING → terminal).

* test(RuntimeLabels): add state transition assertions
for ExecutionUpdatableTask in Labels tests

Verify that ExecutionUpdatableTask attempts record complete state transitions
(CREATED → RUNNING → SUCCESS) across all Labels test scenarios
2025-10-22 09:49:18 +02:00
brian-mulier-p
2c024c2586 feat: add global secret search controller (#12036)
closes kestra-io/kestra-ee#5130
closes kestra-io/kestra-ee#5132
closes kestra-io/kestra-ee#3476
2025-10-21 19:09:53 +02:00
Manuj Chadha
095def6024 refactor: replace deprecated Property(String) constructor with Property.ofValue / Property.ofExpression (#12202) 2025-10-21 15:29:54 +02:00
atulvishw240
b704a55a39 feat(system): Add Gauge Metric to Kestra Metrics System (#12138)
* feat(core): add gauge metric to metrics system

* Fix increment method to set value correctly
2025-10-21 13:58:49 +02:00
Nicolas K.
ff11ff9006 feat(flows): add truncate parameter for log shipper (#12131)
Co-authored-by: nKwiatkowski <nkwiatkowski@kestra.io>
2025-10-21 10:43:37 +02:00
Julio Daniel Reyes
004a85f701 fix(core): pass flow variables on trigger execution (#12161)
* fix(core): pass flow variables on trigger execution

closes #11891

* fix(core): Test passing variables for triggers
2025-10-20 15:53:57 +02:00
Florian Hussonnois
4d8b737b39 fix(core): allow secrets to be render for multiselect (#12045)
Fix: #12045
2025-10-17 11:32:28 +02:00
Loïc Mathieu
4ec8306976 fix(tests): Load flows for the PauseTest 2025-10-17 11:21:53 +02:00
YannC
9c4656714a Fix/validate endpoint fix (#12121)
* fix: validateTask & validateTrigger endpoint changes for SDK

* fix: validateTask & validateTrigger endpoint changes for SDK
2025-10-17 11:11:54 +02:00
Malay Dewangan
ef76d6cf9f refactor(triggers): make StatefulTriggerService methods static (#12073) 2025-10-16 18:52:17 +05:30
Mustafa Tarek
3689042757 fix(core): adjust date property of PublicHoliday condition (#11605)
* fix(core): Add warning logs for mismatched (Parent-Subflow) inputs for subflow plugin.

* fix(core): adjust date time property in PublicHoliday condition

* fix(core): pass condition context variables map when rendering date at PublicHoliday.test() method

* refactor(tests): remove added code at ConditionService and transfer to tests directly
2025-10-16 09:26:51 +02:00
Florian Hussonnois
7896c96f24 fix(core): ignore not found plugin types for schema generation 2025-10-15 22:26:20 +02:00