improve stack size usage (#6936)

* oom

* final

* final
This commit is contained in:
Ruben Fiszel
2025-10-24 22:08:54 +00:00
committed by GitHub
parent 70e6c0d506
commit 5b1ab610b7
9 changed files with 434 additions and 418 deletions

View File

@@ -546,6 +546,7 @@ pub async fn handle_python_job(
precomputed_agent_info: Option<PrecomputedAgentInfo>,
has_stream: &mut bool,
) -> windmill_common::error::Result<Box<RawValue>> {
let script_path = crate::common::use_flow_root_path(job.runnable_path());
let annotations = PythonAnnotations::parse(inner_content);
@@ -1181,13 +1182,13 @@ async fn handle_python_deps(
let (v, requirements_lines, error_hint) = match conn {
Connection::Sql(db) => {
let mut version_specifiers = vec![];
let (r, h) = windmill_parser_py_imports::parse_python_imports(
let (r, h) = Box::pin(windmill_parser_py_imports::parse_python_imports(
inner_content,
w_id,
script_path,
db,
&mut version_specifiers,
)
))
.await?;
let v = PyV::resolve(