Diego Imbert
7d9d16a6a3
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
..
2026-02-11 14:04:54 +00:00
2026-02-27 13:59:14 +01:00
2026-02-27 13:59:14 +01:00