Diego Imbert
d1d7757b00
feat: runScript inline for path and hash (#8019)
* runScript inline for path and hash
* Update backend/windmill-api/src/jobs.rs
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
* refactor: unify inline script param structs and deduplicate closures
- Replace RunInlineScriptByPathFnParams and RunInlineScriptByHashFnParams
with a single RunInlineScriptFnParams using InlineScriptTarget enum
- Collapse two nearly-identical closures in worker.rs into one
- Merge duplicate InlineByPath/InlineByHash into InlineScriptArgs
- Extract shared run_inline_script_inner helper in API handler
- Add missing check_scopes to run_inline_script_by_hash endpoint
- Fix duplicate lines from prior commit in run_inline_script_by_path
- Change tag from "inline_preview" to "inline" for deployed scripts
Co-authored-by: Diego Imbert <diegoimbert@users.noreply.github.com>
* Integration tests
* rm
* rename feature to run_inline
* Run inline integration tests
* Fix tests
* check path scope
* openapi fix
* nits
* remove register_potential_assets_on_inline_execution
* unused variable
* refactor
* Pass user_db to check script permission
---------
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com>
Co-authored-by: Diego Imbert <diegoimbert@users.noreply.github.com>
2026-02-27 13:59:14 +01:00
..
2022-09-18 09:52:50 +02:00
2026-02-27 13:59:14 +01:00
2025-08-05 13:59:07 +00:00
2025-08-05 13:59:07 +00:00
2025-07-17 15:18:10 +00:00
2022-05-10 12:14:38 +00:00
2023-09-03 14:01:51 +02:00
2026-02-22 07:53:28 +00:00
2023-09-03 14:01:51 +02:00
2022-05-05 10:50:54 +02:00
2023-01-01 09:00:56 +01:00