Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
workspaces
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ssa
workspaces
Commits
d7c428bf
Commit
d7c428bf
authored
2 years ago
by
Charlotte Hausman
Browse files
Options
Downloads
Patches
Plain Diff
make reacquire system not try to launch monitor processes for missing directories
parent
34259a3d
No related branches found
No related tags found
4 merge requests
!1006
catch qa fail case when request has mutable version
,
!1005
fix pass/fail with mutable version bug
,
!1003
fix typo in inspector endpoint
,
!1001
make reacquire system not try to launch monitor processes for missing directories
Pipeline
#6006
failed
2 years ago
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
shared/workspaces/workspaces/workflow/services/recovery.py
+3
-1
3 additions, 1 deletion
shared/workspaces/workspaces/workflow/services/recovery.py
with
3 additions
and
1 deletion
shared/workspaces/workspaces/workflow/services/recovery.py
+
3
−
1
View file @
d7c428bf
...
...
@@ -137,6 +137,7 @@ class MonitorRecover:
f
"
Results directory
{
results_dir
}
for request #
{
wf_request
.
workflow_request_id
}
"
f
"
is not a directory! Skipping.
"
)
# signal not a directory with current location
return
Path
(
"
.
"
)
@staticmethod
...
...
@@ -148,7 +149,8 @@ class MonitorRecover:
:param wf_request: The WorkflowRequest to update
:return:
"""
if
logfile
==
Path
.
cwd
():
# because for some reason these are not the same....
if
logfile
==
Path
.
cwd
()
or
logfile
==
Path
(
"
.
"
):
return
logger
.
info
(
"
Running wf_monitor.
"
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment