Skip to content

docs(api): clarify synced_at semantics (1970-01-01 sentinel) - #2331

Open
MikaKerman wants to merge 1 commit into
docsfrom
app-1550-synced-at-docs
Open

docs(api): clarify synced_at semantics (1970-01-01 sentinel)#2331
MikaKerman wants to merge 1 commit into
docsfrom
app-1550-synced-at-docs

Conversation

@MikaKerman

Copy link
Copy Markdown
Contributor

Summary

Adds a note to the Incremental sync guide clarifying what synced_at means, after smoke-testing the beta surfaced synced_at: "1970-01-01T00:00:00" on a subset of columns.

  • synced_at marks created / last-changed, not last-seen.
  • Unchanged objects keep their existing value; some pre-existing rows carry a 1970-01-01 epoch placeholder.
  • This is safe for incremental: every object is returned by the initial full scan regardless of synced_at, and any later change re-emits it in the synced_since feed.
  • Guidance: treat synced_at as a change marker for upserts, not an absolute freshness signal.

Addresses APP-1550. The matching OpenAPI field descriptions (synced_at on assets/columns) are sharpened in elementary-internal (spec source of truth) and reach the published snapshot via the cross-repo sync (APP-1546).

Test plan

  • mint dev renders /api/incremental-sync (HTTP 200) with the new note.
  • Mintlify validation passes.

Made with Cursor

Smoke-testing the beta showed some columns return synced_at
1970-01-01T00:00:00. That's expected: synced_at marks created/last-changed
(not last-seen), pre-existing rows may carry an epoch placeholder, and it's
safe for incremental (captured in the full scan, re-emitted on next change).
Document it so consumers treat synced_at as a change marker, not an absolute
freshness signal.

Co-authored-by: Cursor <cursoragent@cursor.com>
@linear

linear Bot commented Aug 20, 2026

Copy link
Copy Markdown

APP-1550

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 61c1de02-5f12-4025-8c6c-d8bae327909b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Comment @coderabbitai help to get the list of available commands.

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.

1 participant