Repository navigation
Conversation
1 task done
5 tasks done
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
--strata-ready-timeoutis checked only after a failed health probe. A/healthresponse that arrives after the deadline can therefore start the server successfully. Fixed two-second connection and five-second read timeouts also let a probe outlive the remaining startup budget.Use a steady-clock deadline for the ready-file/health phase. Each health probe receives the remaining connection, read and total request budget; check the deadline before accepting its response. Poll sleeps stop at the same deadline. The total request budget also bounds a response that keeps sending small body fragments, which would otherwise reset the per-read timeout.
The launcher protocol and default timeout are unchanged. This bounds the ready-file/HTTP health phase after the launcher reports its PID; child shutdown retains its existing cleanup allowance.
Area
edge0-infer/)How was it tested?
Base:
bc2dc409d420097b4e864d511901180d7c2c6bac; Linux, GCC 14.2, CPU preset.Listening:, and removes the child processes. A timely 0.2-second health probe still starts and shuts down normally.launch_handshake,failures,platform_launch, andlifecycleintegration functions pass, including default Python selection, paths containing spaces, startup failures, signals, and cleanup.chat_strata_test.py --cli ...passes, covering history, regeneration, cancellation, child failures, passthrough and cleanup.moe_test_app_generation(std::tmpfileunavailable),moe_test_platform_memory(existing Linux expectation), and the extreme-float cases inmoe_test_ordered_json/moe_test_template_tools.git diff --checkpass. Linux execution was available; no macOS, Windows or GPU execution claim.Checklist