Skip to content

Commit bb881ac

Browse files
committed
Removed username from project name and added description to job healthcheck page
1 parent d8647e3 commit bb881ac

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

src/routes/v2/admin/jobs/healthcheck/+page.svelte

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<script>
22
import { goto } from '$app/navigation';
3-
import { page } from '$app/stores';
43
import { AlertError } from '$lib/common/errors';
54
import StandardErrorAlert from '$lib/components/common/StandardErrorAlert.svelte';
65
@@ -39,8 +38,7 @@
3938
4039
async function createProject() {
4140
const randomPart = new Date().getTime();
42-
const userInfo = $page.data.userInfo;
43-
const projectName = `test_${userInfo.username || userInfo.id}_${randomPart}`;
41+
const projectName = `test_${randomPart}`;
4442
4543
stepMessage = `Creating project ${projectName}`;
4644
@@ -196,7 +194,25 @@
196194
<div>
197195
<h1 class="fw-light mb-3">Job submission healthcheck</h1>
198196

199-
<div class="row">
197+
<p>This page performs the following steps:</p>
198+
199+
<ul>
200+
<li>creates a project with name <code>test_&#123;random_integer&#125;</code>;</li>
201+
<li>creates a dataset, with the provided zarr directory;</li>
202+
<li>creates a workflow;</li>
203+
<li>
204+
if not existing, creates a non-parallel task with a source named
205+
<code>job_submission_health_check</code>, with <code>command_non_parallel="echo"</code>.
206+
</li>
207+
<li>adds the task to the workflow;</li>
208+
<li>submits the workflow;</li>
209+
<li>
210+
if all up to here was successful, redirects to the workflow page; if anything failed, stops the
211+
procedure and displays an error.
212+
</li>
213+
</ul>
214+
215+
<div class="row mt-4">
200216
<div class="col">
201217
<div class="input-group mb-3" class:has-validation={invalidZarrDir}>
202218
<label class="input-group-text" for="zarrDir">Zarr directory</label>

0 commit comments

Comments
 (0)