Skip to content

Conversation

@stevemostovoy-openai
Copy link
Contributor

@stevemostovoy-openai stevemostovoy-openai commented Dec 1, 2025

  • Add portable history log id helper to support inode-like tracking on Unix and creation time on Windows
  • Refactor history metadata and lookup to share code paths and allow nonzero log ids across platforms
  • Add coverage for lookup stability after appends

@github-actions
Copy link

github-actions bot commented Dec 1, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@stevemostovoy-openai
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@stevemostovoy-openai
Copy link
Contributor Author

recheck

@stevemostovoy-openai
Copy link
Contributor Author

@codex Review

github-actions bot added a commit that referenced this pull request Dec 1, 2025
- Add portable history log id helper to support inode-like tracking on Unix and creation time on Windows
- Refactor history metadata and lookup to share code paths and allow nonzero log ids across platforms
- Add coverage for lookup stability after appends
@stevemostovoy-openai stevemostovoy-openai force-pushed the steve/windows-message-history branch from e6d083e to 6610af4 Compare December 1, 2025 19:59
@chatgpt-codex-connector
Copy link
Contributor

Codex Review: Didn't find any major issues. Breezy!

ℹ️ About Codex in GitHub

Codex has been enabled to automatically 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 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Copy link
Collaborator

@dylan-hurd-oai dylan-hurd-oai left a comment

Choose a reason for hiding this comment

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

Requesting some code cleanup, but this approach feels reasonable to me!

None
fn history_log_id(metadata: &std::fs::Metadata) -> Option<u64> {
if cfg!(windows) {
use std::os::windows::fs::MetadataExt;
Copy link
Collaborator

Choose a reason for hiding this comment

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

ah overlooked this import - @stevemostovoy-openai I think we do need to use a #[cfg(windows)] / #[cfg(not(windows))] macro here

@stevemostovoy-openai stevemostovoy-openai merged commit f443555 into main Dec 2, 2025
26 checks passed
@stevemostovoy-openai stevemostovoy-openai deleted the steve/windows-message-history branch December 2, 2025 00:29
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants