Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
V
vidai
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
SexHackMe
vidai
Commits
72d01acd
Commit
72d01acd
authored
Oct 09, 2025
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix job progress display to show actual progress instead of 'Assigned to worker'
parent
1d41907b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
9 deletions
+21
-9
jobs.html
templates/jobs.html
+21
-9
No files found.
templates/jobs.html
View file @
72d01acd
...
...
@@ -79,10 +79,21 @@
.
then
(
progressData
=>
{
if
(
progressData
&&
progressData
.
progress
!==
undefined
)
{
updateJobProgressDisplay
(
jobId
,
progressData
);
}
else
if
(
progressData
&&
progressData
.
status
===
'no_progress'
)
{
// No progress available yet, ensure it shows "Processing..."
const
progressElement
=
jobRow
.
querySelector
(
'.job-progress'
);
if
(
progressElement
&&
progressElement
.
textContent
===
''
)
{
progressElement
.
textContent
=
'Processing...'
;
}
}
})
.
catch
(
error
=>
{
console
.
log
(
`Error getting progress for job
${
jobId
}
:`
,
error
);
// On error, ensure it shows "Processing..."
const
progressElement
=
jobRow
.
querySelector
(
'.job-progress'
);
if
(
progressElement
&&
progressElement
.
textContent
===
''
)
{
progressElement
.
textContent
=
'Processing...'
;
}
});
}
});
...
...
@@ -173,6 +184,14 @@
// Update actions based on status change
updateJobActions
(
jobUpdate
.
id
,
jobUpdate
.
status
);
// Initialize progress display for newly processing jobs
if
(
jobUpdate
.
status
===
'processing'
)
{
const
progressElement
=
jobRow
.
querySelector
(
'.job-progress'
);
if
(
progressElement
&&
progressElement
.
textContent
===
''
)
{
progressElement
.
textContent
=
'Processing...'
;
}
}
}
// Update tokens if completed
...
...
@@ -183,15 +202,8 @@
}
}
// Update progress info for processing jobs (element always exists for consistent layout)
const
progressElement
=
jobRow
.
querySelector
(
'.job-progress'
);
if
(
progressElement
)
{
if
(
jobUpdate
.
status
===
'processing'
&&
jobUpdate
.
result
)
{
progressElement
.
textContent
=
jobUpdate
.
result
.
status
||
'Processing...'
;
}
else
{
progressElement
.
textContent
=
''
;
// Clear when not processing
}
}
// Progress info is updated separately by updateJobProgress() function
// Don't override it with job result status
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment