mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-10-06 16:02:19 +00:00
improve same_worker UX clarity
This commit is contained in:
@@ -847,8 +847,17 @@ mount {{
|
||||
))?,
|
||||
)
|
||||
} else {
|
||||
"".to_string()
|
||||
r#"
|
||||
mount {
|
||||
dst: "/shared"
|
||||
fstype: "tmpfs"
|
||||
rw: true
|
||||
options: "size=500000000"
|
||||
}
|
||||
"#
|
||||
.to_string()
|
||||
};
|
||||
|
||||
let result: error::Result<serde_json::Value> = match language {
|
||||
None => {
|
||||
return Err(Error::ExecutionErr(
|
||||
|
||||
@@ -10,6 +10,8 @@
|
||||
import Button from './common/button/Button.svelte'
|
||||
import { faRotateRight } from '@fortawesome/free-solid-svg-icons'
|
||||
import { flowStateStore } from './flows/flowState'
|
||||
import { flowStore } from './flows/flowStore'
|
||||
import { Alert } from './common'
|
||||
|
||||
let testJobLoader: TestJobLoader
|
||||
|
||||
@@ -54,6 +56,12 @@
|
||||
/>
|
||||
<Splitpanes>
|
||||
<Pane size={50} minSize={20} class="p-4">
|
||||
{#if $flowStore.value.same_worker}
|
||||
<div class="mb-1 bg-yellow-100 text-yellow-700 p-1 text-xs"
|
||||
>Using same_worker does not preserve /shared across individual step tests</div
|
||||
>
|
||||
{/if}
|
||||
|
||||
<RunForm
|
||||
runnable={{ summary: mod.summary ?? '', schema, description: '' }}
|
||||
runAction={(_, args) => runTest(args)}
|
||||
|
||||
Reference in New Issue
Block a user