Skip to content

Add a timestamp to runtime events#1590

Merged
dgageot merged 1 commit intodocker:mainfrom
dgageot:runtime-event-timestamp
Feb 4, 2026
Merged

Add a timestamp to runtime events#1590
dgageot merged 1 commit intodocker:mainfrom
dgageot:runtime-event-timestamp

Conversation

@dgageot
Copy link
Member

@dgageot dgageot commented Feb 4, 2026

No description provided.

@dgageot dgageot requested a review from a team as a code owner February 4, 2026 16:22
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Summary

Found one medium-severity issue in the new timestamp handling code. The parseEventTimestamp function should validate timestamp format before use to prevent potential downstream parsing failures.

Verdict: Requesting changes for defensive validation in the new code.

Signed-off-by: David Gageot <david.gageot@docker.com>
}
// Invalid timestamp format - fall back to current time
}
return time.Now().Format(time.RFC3339)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could this mess the the order of things? 🤔

Copy link
Member Author

@dgageot dgageot Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not really. This is for evals. Not super dangerous even if it did

@dgageot dgageot merged commit 9db9125 into docker:main Feb 4, 2026
10 of 11 checks passed
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.

2 participants