Skip to content

AKO-596 Use Docker start time for local containers - #598

Open
ovvesley wants to merge 1 commit into
mainfrom
AKO-596
Open

ovvesley wants to merge 1 commit into
mainfrom
AKO-596

Conversation

@ovvesley

Copy link
Copy Markdown
Collaborator

Summary

Read Docker's start timestamp in the same inspection that resolves the running image ID. Local execution already used Docker's finish timestamp, so both endpoints now come from Docker even when the container exits before the detached launch command returns. Mark the launch-request fallback when Docker's start timestamp is unavailable.

Closes #596.

Validation

  • go test ./internal/provider/local ./internal/controlplane/execution
  • Ran the detached-container integration test against a real Docker daemon and verified both handle timestamps against Docker inspection.
  • The image-observation test covers a valid start timestamp, Docker's unset timestamp, and an unavailable container.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AKO: Use Docker start time for short local activities

1 participant