Skip to content

[RSDK-13173] dont cache annotations, just upload for trigger image only#46

Merged
bhaney merged 4 commits intomainfrom
trigger-image-annotaiton
Jan 16, 2026
Merged

[RSDK-13173] dont cache annotations, just upload for trigger image only#46
bhaney merged 4 commits intomainfrom
trigger-image-annotaiton

Conversation

@bhaney
Copy link
Collaborator

@bhaney bhaney commented Jan 15, 2026

This is simply done by no longer caching the annotation and only uploading the annotation with the image that triggered the save.

Edited tests and updated the README with the behavior (and other features that were not documented)

@bhaney bhaney requested review from Rob1in and anazeneli January 15, 2026 22:01
Copy link

@Rob1in Rob1in left a comment

Choose a reason for hiding this comment

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

lgtm

if shouldSend {
// this updates the CaptureTill time to be further in the future
fc.buf.MarkShouldSend(meta.CapturedAt, annotations)
fc.buf.MarkShouldSend(meta.CapturedAt)
Copy link

Choose a reason for hiding this comment

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

ok

Copy link

@anazeneli anazeneli left a comment

Choose a reason for hiding this comment

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

LGTM!

@bhaney bhaney merged commit a1ea339 into main Jan 16, 2026
1 check 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.

3 participants