This commit is contained in:
Ruben Fiszel
2025-01-16 11:51:40 +01:00
parent 53b45cf67d
commit 6cd3381baa
3 changed files with 8 additions and 4 deletions
@@ -1705,9 +1705,10 @@ pub async fn handle_python_reqs(
tracing::info!(
workspace_id = %w_id,
job_id = %job_id,
// is_ok = out,
"started thread to install wheel {}",
job_id
venv_p
);
let start = std::time::Instant::now();
@@ -1721,7 +1722,7 @@ pub async fn handle_python_reqs(
if let Err(e) = pull {
tracing::info!(
workspace_id = %w_id,
"No tarball was found on S3 or different problem occured {job_id}:\n{e}",
"No tarball was found for {venv_p} on S3 or different problem occured {job_id}:\n{e}",
);
} else {
print_success(
@@ -1858,9 +1859,10 @@ pub async fn handle_python_reqs(
tracing::info!(
workspace_id = %w_id,
job_id = %job_id,
// is_ok = out,
"finished setting up python dependency {}",
job_id
venv_p
);
pids.lock().await.get_mut(i).and_then(|e| e.take());
@@ -24,6 +24,7 @@
export let selectFirst = false
export let expressOAuthSetup = false
export let defaultValues: Record<string, any> | undefined = undefined
export let placeholder: string | undefined = undefined
onMount(() => {
setTimeout(() => {
@@ -153,7 +154,7 @@
}}
items={collection}
class="text-clip grow min-w-0"
placeholder="{resourceType ?? 'any'} resource"
placeholder={placeholder ?? `${resourceType ?? 'any'} resource`}
inputStyles={SELECT_INPUT_DEFAULT_STYLE.inputStyles}
containerStyles={darkMode
? SELECT_INPUT_DEFAULT_STYLE.containerStylesDark
@@ -91,6 +91,7 @@
/>
{:else if fieldType === 'resource' && subFieldType === 's3'}
<ResourcePicker
placeholder="S3 resource (workspace s3 if empty)"
initialValue={componentInput.value?.split('$res:')?.[1] || ''}
on:change={(e) => {
let path = e.detail