Skip to content

chore: new project event types#108

Merged
kevcodez merged 1 commit intomasterfrom
new-event-types
Mar 31, 2026
Merged

chore: new project event types#108
kevcodez merged 1 commit intomasterfrom
new-event-types

Conversation

@kevcodez
Copy link
Copy Markdown
Contributor

No description provided.

@kevcodez kevcodez requested review from a team as code owners March 31, 2026 03:02
Copilot AI review requested due to automatic review settings March 31, 2026 03:02
@kevcodez kevcodez merged commit effef00 into master Mar 31, 2026
5 checks passed
@kevcodez kevcodez deleted the new-event-types branch March 31, 2026 03:04
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds new ProjectEvents entries for project hibernation lifecycle changes and bumps the package version to publish the updated shared types.

Changes:

  • Added two new ProjectEvents values related to hibernation state changes.
  • Bumped @supabase/shared-types version from 0.1.85 to 0.1.86.
  • Updated package-lock.json (includes transitive dependency version changes).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/events.ts Introduces new project event type constants for hibernation lifecycle.
package.json Increments package version for release.
package-lock.json Updates lockfile (version bump plus transitive dependency changes).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

ProjectClonedToTarget = 'project.cloned_to_target',
ProjectClonedFromSource = 'project.cloned_from_source',
ProjectHibernationSuspended = 'project.hibernation_suspended',
ProjectHibernationWaken = 'project.hibernation_waken',
Copy link

Copilot AI Mar 31, 2026

Choose a reason for hiding this comment

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

ProjectHibernationWaken / project.hibernation_waken is grammatically inconsistent with the rest of ProjectEvents (which mostly uses past tense/participle like paused, restored, completed). If this event represents “project was woken”, consider renaming to something like ProjectHibernationWoken (and project.hibernation_woken) or ...Awakened to avoid confusion/mismatched event routing for consumers.

Suggested change
ProjectHibernationWaken = 'project.hibernation_waken',
ProjectHibernationWoken = 'project.hibernation_woken',

Copilot uses AI. Check for mistakes.
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.

3 participants