Skip to content

fix(social-codenewbie): tolerate invalid article timestamps#794

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/codenewbie-invalid-published-at
Jul 14, 2026
Merged

fix(social-codenewbie): tolerate invalid article timestamps#794
ralyodio merged 1 commit into
profullstack:masterfrom
aiirvizionz:clientkit/codenewbie-invalid-published-at

Conversation

@aiirvizionz

Copy link
Copy Markdown
Contributor

Summary

  • avoid throwing after successful CodeNewbie article creation when published_at or created_at is malformed
  • fall back to the current timestamp for publishedAt
  • add focused regression coverage for invalid CodeNewbie article timestamps

Tests

  • vitest run packages/social/codenewbie/src/index.test.ts
  • tsc -p packages/social/codenewbie/tsconfig.json --noEmit

@github-actions

Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

2 similar comments
@github-actions

Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@github-actions

Copy link
Copy Markdown

🤖 Auto-rebase: The branch was rebased successfully locally but could not be pushed to the fork. Please enable 'Allow edits from maintainers' in the PR settings, or rebase manually: git fetch upstream master && git rebase upstream/master.

@ralyodio
ralyodio merged commit f0247b7 into profullstack:master Jul 14, 2026
4 checks 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.

2 participants