Skip to content

fix: use published_at for registry released_at timestamp#67

Merged
gontzess merged 2 commits intomainfrom
bt/fix-released-at-timestamp
Apr 13, 2026
Merged

fix: use published_at for registry released_at timestamp#67
gontzess merged 2 commits intomainfrom
bt/fix-released-at-timestamp

Conversation

@btipling
Copy link
Copy Markdown
Contributor

@btipling btipling commented Apr 12, 2026

Summary

  • Fix draft release timestamps showing the wrong date in the connector registry
  • The workflow was using GitHub's created_at (when the draft was first created) instead of published_at (when it was actually published) for the registry's released_at field
  • For draft releases these can be hours or days apart, causing the registry to show a stale publish date

Fixes: https://linear.app/ductone/issue/CE-625/release-time-and-date-is-wrong-on-connector-releases

Test plan

  • Create a draft release, wait, then publish it -- verify the registry shows the publish time, not the draft creation time
  • Verify non-draft releases still record the correct timestamp (published_at equals created_at for direct publishes)

🤖 Generated with Claude Code

Draft releases have two timestamps: created_at (when the draft was
first created) and published_at (when it was actually published).
These can be hours or days apart. The registry was recording
created_at, causing releases to show a publish date in the past.

Prefer published_at with a fallback to created_at for releases that
were never drafted.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@linear
Copy link
Copy Markdown

linear Bot commented Apr 12, 2026

@gontzess gontzess merged commit 0f2d22a into main Apr 13, 2026
1 check passed
@gontzess gontzess deleted the bt/fix-released-at-timestamp branch April 13, 2026 14:51
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