Skip to content

[HnR:4] Bulk checkpoint upsert API + reveal response fields#10150

Draft
karenrasmussen wants to merge 11 commits into
feat/checkpoint-merge-hookfrom
checkpoint-reveal-response-fields
Draft

[HnR:4] Bulk checkpoint upsert API + reveal response fields#10150
karenrasmussen wants to merge 11 commits into
feat/checkpoint-merge-hookfrom
checkpoint-reveal-response-fields

Conversation

@karenrasmussen

Copy link
Copy Markdown
Contributor

No description provided.

@Elimpizza Elimpizza force-pushed the feat/bulk-checkpoint-upsert-api branch from 6b92a90 to 1d91f53 Compare July 2, 2026 17:01
@Elimpizza Elimpizza force-pushed the checkpoint-reveal-response-fields branch from 50ae459 to 1977626 Compare July 2, 2026 17:01
@Elimpizza Elimpizza changed the title Add revealed and reveal_date fields to checkpoint responses Bulk checkpoint upsert API + reveal response fields Jul 2, 2026
@Elimpizza Elimpizza changed the base branch from feat/bulk-checkpoint-upsert-api to feat/checkpoint-merge-hook July 2, 2026 17:02
@Elimpizza Elimpizza changed the title Bulk checkpoint upsert API + reveal response fields [HnR:4] Bulk checkpoint upsert API + reveal response fields Jul 2, 2026
Comment thread h/views/api/bulk/checkpoint.py Outdated
Comment thread h/views/api/bulk/checkpoint.py Outdated
return (
checkpoint is not None
and checkpoint.reveal_date is not None
and checkpoint.reveal_date <= datetime.now(tz=UTC)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Shouldn't we use naive sa.DateTime here? Also, the unit test test_it_includes_reveal_date in tests/unit/h/views/api/bulk/checkpoint_test.py:147-171 hides this because it mocks reveal_date as datetime(2026, 7, 1, 10, 0, 0, tzinfo=UTC)

@Elimpizza Elimpizza force-pushed the feat/checkpoint-merge-hook branch from 18362fb to 685059d Compare July 5, 2026 02:17
@Elimpizza Elimpizza force-pushed the checkpoint-reveal-response-fields branch from d080cbb to 4d28fa1 Compare July 5, 2026 02:48
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