⏱️ fix: Recycle Sandboxes Before Clock Drift - #39
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 77fd5adbf1
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: e213accc26
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Can't wait for the next one! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4241b96965
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
Codex Review: Didn't find any major issues. What shall we delve into next? Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
evellasques
left a comment
There was a problem hiding this comment.
Great work, should indeed contain the problem. Maybe based on this:
A true guest synchronization path can be pursued separately when libkrun/libkrunfw supports an appropriate host-to-guest time source.
I'd advocate for creating a Linear issue to track that.
Summary
I added an actual-skew readiness and liveness guard that removes long-lived libkrun sandbox guests from service and recycles them before wall-clock drift crosses the 30-second execution-manifest tolerance.
Dateheader against the enclosing host request interval.This contains the immediate failure mode without widening the signed execution-manifest replay window. A true guest synchronization path can be pursued separately when libkrun/libkrunfw supports an appropriate host-to-guest time source.
Change Type
Testing
bash -n docker/sandbox-runner-healthcheck.sh tests/sandbox_runner_healthcheck.sh tests/block_root_package_delivery.sh.tests/sandbox_runner_healthcheck.sh.tests/block_root_package_delivery.sh.docker buildx build --check -f api/Dockerfile ..docker buildx build --check -f docker/Dockerfile.worker-sandbox ..docker compose -f docker-compose.scalable.yml config --quiet.git diff --check.Test Configuration:
desktop-linuxbuilder.Checklist