Route delivered HQ tracks to temporary road interception and refresh playtest packages
This commit is contained in:
@@ -507,8 +507,8 @@ def cleanup_owned_run(child, proton, env, compat):
|
||||
class StartupMonitor:
|
||||
"""Latch failures while allowing a bounded diagnostic drain; no native I/O."""
|
||||
def __init__(self, started, timeout, settle, failure_grace=0):
|
||||
if not 0 <= failure_grace <= 30:
|
||||
refuse('Use failure-grace 0..30 seconds')
|
||||
if not 0 <= failure_grace <= 120:
|
||||
refuse('Use failure-grace 0..120 seconds')
|
||||
self.started = started
|
||||
self.deadline = started + timeout
|
||||
self.settle = settle
|
||||
@@ -1253,8 +1253,8 @@ def run(a):
|
||||
profile = packed['session']/'profile' if packed else a.profile.resolve()
|
||||
if not 60 <= a.timeout <= 1800 or not 5 <= a.settle <= 120:
|
||||
refuse('Use timeout 60..1800 seconds and settle 5..120 seconds')
|
||||
if not 0 <= a.failure_grace <= 30:
|
||||
refuse('Use failure-grace 0..30 seconds')
|
||||
if not 0 <= a.failure_grace <= 120:
|
||||
refuse('Use failure-grace 0..120 seconds')
|
||||
assert_no_game()
|
||||
if a.project == CONTROL:
|
||||
if a.timeout > 120 or a.settle > 30:
|
||||
@@ -1489,7 +1489,7 @@ def main():
|
||||
parser.add_argument('--exercise-player-input', action='store_true', help='Explicit bounded private W/Tab keyboard experiment; requires observer, display inspection, loose Core/Chat and settle >=50')
|
||||
parser.add_argument('--timeout', type=int, default=180)
|
||||
parser.add_argument('--settle', type=int, default=15)
|
||||
parser.add_argument('--failure-grace', type=int, default=0, help='Keep a failed run alive for diagnostic logs only, at most 0..30 seconds within the original timeout')
|
||||
parser.add_argument('--failure-grace', type=int, default=0, help='Keep a failed run alive for diagnostic logs only, at most 0..120 seconds within the original timeout')
|
||||
args = parser.parse_args()
|
||||
try:
|
||||
if args.inspect_processes:
|
||||
|
||||
Reference in New Issue
Block a user