-
-
Notifications
You must be signed in to change notification settings - Fork 664
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: feature lifecycle usage behind a flag #6786
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Code Health Quality Gates: FAILED
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Code Health Quality Gates: FAILED
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Code Health Quality Gates: FAILED
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Code Health Quality Gates: FAILED
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❌ Code Health Quality Gates: FAILED
-
Declining Code Health: 1 findings(s) 🚩
-
Affected Hotspots: 1 files(s) 🔥
@@ -347,6 +349,9 @@ export const createServices = ( | |||
const inactiveUsersService = new InactiveUsersService(stores, config, { | |||
userService, | |||
}); | |||
const { featureLifecycleService } = | |||
createFakeFeatureLifecycleService(config); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we'll switch this to prod impl when we're done with controller and testing the in-memory version
this.flagResolver = flagResolver; | ||
} | ||
|
||
private async checkEnabled(fn: () => Promise<void>) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
each event needs to be wrapped with a check because we want runtime control. If we put this around the listen method we'd only have startup control.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
About the changes
When get get DB migrations and SQL repository we'll switch to the real store.
In the next PR I'll expose the in-memory recorded lifecycle stages over API.
Important files
Discussion points