Skip to content

treewide: task_runner: transition task args to generated - #944

Merged
JordanYates merged 8 commits into
mainfrom
feature/json_tasks
Aug 5, 2026
Merged

treewide: task_runner: transition task args to generated#944
JordanYates merged 8 commits into
mainfrom
feature/json_tasks

Conversation

@JordanYates

Copy link
Copy Markdown
Contributor

Transition the tree across to generated task arguments. As downstreams can now define custom arguments in the same way as TDFs etc, remove TASK_RUNNER_CUSTOM_TASK_DEFINITIONS.

@codecov

codecov Bot commented Aug 4, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@JordanYates
JordanYates force-pushed the feature/json_tasks branch 2 times, most recently from fe3ac4b to 4df5433 Compare August 4, 2026 11:35
Update zephyr fork to include the nRF91 modem memory partitioning as
part of the core nRF91 files. The existing `modem_shemem.dtsi` file is
still kept in Infuse as we shift the allocations between secure and
non-secure applications.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Add a JSON description of Infuse-IoT task runner task arguments and IDs.
This will be the ground truth for generating language specific files.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@JordanYates
JordanYates force-pushed the feature/json_tasks branch 5 times, most recently from d4ad141 to 4a6e237 Compare August 5, 2026 06:23
Add tooling to generate task specific files for use with the task
runner task implementations.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Add an option to skip python generation, which removes the dependency on
the `infuse` python package.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Transition the tree across to generated task arguments. As downstreams
can now define custom arguments in the same way as TDFs etc, remove
`TASK_RUNNER_CUSTOM_TASK_DEFINITIONS`.

Signed-off-by: Jordan Yates <jordan@embeint.com>
As the task arguments struct is now autogenerated and includes base and
extension schedules, remove the `.infuse` level of schedule nesting.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Ensure the `union task_arguments` definition doesn't expand unexpectedly
and fix the size of the `raw` field, which has been 17 bytes for over a
year.

Signed-off-by: Jordan Yates <jordan@embeint.com>
Update the docs in line with the generating arguments from json changes.

Signed-off-by: Jordan Yates <jordan@embeint.com>
@sonarqubecloud

sonarqubecloud Bot commented Aug 5, 2026

Copy link
Copy Markdown

@JordanYates
JordanYates merged commit 5bc6ff8 into main Aug 5, 2026
17 checks passed
@JordanYates
JordanYates deleted the feature/json_tasks branch August 5, 2026 08:17
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.

1 participant