Skip to content

Queue observability via Posthog#745

Merged
rajat1saxena merged 5 commits intomainfrom
issue-742
Mar 23, 2026
Merged

Queue observability via Posthog#745
rajat1saxena merged 5 commits intomainfrom
issue-742

Conversation

@rajat1saxena
Copy link
Member

@rajat1saxena rajat1saxena commented Mar 21, 2026

What's new

  • Queue observability via Posthog
  • Re-worked drip functionality

@vercel
Copy link

vercel bot commented Mar 21, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
courselit-docs Ready Ready Preview, Comment Mar 23, 2026 5:52am

Request Review

@rajat1saxena rajat1saxena changed the title bug fix: drip settings cannot be switched off Queue observability via Posthog Mar 21, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1c20c0b269

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +808 to 809
if (typeof drip.status === "boolean") {
$set["groups.$.drip.status"] = drip.status;

Choose a reason for hiding this comment

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

P2 Badge Preserve drip.type when accepting status: false

Because DripInput.type is optional in apps/web/graphql/courses/types/index.ts:86-95 but Drip.type is non-null on reads at apps/web/graphql/courses/types/index.ts:97-103, this new branch can create a partial groups.$.drip object when a client sends updateGroup(..., drip: { status: false }) for a group that has never had drip configured. In that case the mutation stores drip.status without any drip.type, and subsequent reads of that group can fail with Cannot return null for non-nullable field Drip.type.

Useful? React with 👍 / 👎.

Copy link
Member Author

Choose a reason for hiding this comment

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

Check if still valid as I applied the fix

@rajat1saxena rajat1saxena self-assigned this Mar 23, 2026
@rajat1saxena rajat1saxena merged commit 1ceaf9a into main Mar 23, 2026
7 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.

1 participant