-
Notifications
You must be signed in to change notification settings - Fork 2
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
[sc-231506] fix: extinction checking not working correctly #93
[sc-231506] fix: extinction checking not working correctly #93
Conversation
This pull request has been linked to Shortcut Story #231506: [pr commenter] falsely saying all refs have been removed. |
LaunchDarkly flag references🔍 1 flag added or modified
❌ 1 flag removed
|
delimiters := strings.Join(lsearch.GetDelimiters(opts), "") | ||
elements := make([]lsearch.ElementMatcher, 0, 1) | ||
elements = append(elements, lsearch.NewElementMatcher(opts.ProjKey, opts.Dir, delimiters, flagKeys, aliasesByFlagKey)) | ||
matcher = lsearch.Matcher{ | ||
elements = append(elements, lsearch.NewElementMatcher(opts.ProjKey, "", delimiters, flagKeys, aliasesByFlagKey)) |
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.
this is the fix - this was setup for monorepo support, but didn't work correctly with scanning.
oldPricingBanner | ||
show_widgets | ||
oldPricingBanner | ||
mobile-app-promo-ios | ||
mobile-app-promo-ios |
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.
looks like this is listed twice now?
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.
yea just test data to show that everything is working properly (see comment) - this file changes with most PRs
We weren't properly checking for flag extinctions, because the project element matcher wasn't configured right.
Also adds new logging helpers and debug logs for github actions debug mode