8000 feat: add recorder logger with committed flush cursor by tomrford · Pull Request #46 · tomrford/gocan · GitHub
[go: up one dir, main page]

Skip to content

feat: add recorder logger with committed flush cursor - #46

Merged
tomrford merged 3 commits into
mainfrom
proposed/recorder-committed-cursor
Aug 20, 2026
Merged

tomrford merged 3 commits into
mainfrom
proposed/recorder-committed-cursor

Conversation

@tomrford
Copy link
Copy Markdown
Owner

Task stays the handoff helper: it writes to any RecordWriter and Cursor means the writer accepted the record.

Logger is the file-facing helper. It uses the same WriteRecordsSince pass, then Flush. Accepted moves when the writer takes records. Committed moves only after that flush succeeds. The writer still does not see cursors.

Prune to Committed, or to the oldest Committed cursor among several loggers. Flush is still bufio delivery, not Sync.

This branch keeps the original sketch commit and adds this split on top.

Open in Web Open in Cursor 

Task again reports writer acceptance only. Logger owns Flush and
publishes Committed after that flush succeeds, so prune can wait
without putting cursors on the writer.

Co-authored-by: Tom Ford <t@tomrford.com>
@tomrford
tomrford marked this pull request as ready for review August 20, 2026 15:08
@tomrford
Copy link
Copy Markdown
Owner Author

@cursor review

@codex review

@cursor cursor Bot left a comment
8000
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 007b258. Configure here.

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Keep it up!

Reviewed commit: 007b258fb8

ℹ️ 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".

@tomrford
tomrford merged commit bc2c8c9 into main Aug 20, 2026
2 checks passed
@tomrford
tomrford deleted the proposed/recorder-committed-cursor branch August 20, 2026 16:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
64E1

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

0