-
Notifications
You must be signed in to change notification settings - Fork 128
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
chore(flags): Add new debugging property $used_bootstrap_value
, $feature_flag_bootstrapped_response
and $feature_flag_bootstrapped_payload
to $feature_flag_called
event
#1567
Changes from 11 commits
89e8dea
70425b8
c4b0c0e
de0ad0a
9951dc0
93a1dd4
29f8fbf
3895c2e
17918b9
79bbfc1
e87da17
792a429
335412c
6dc0c4b
9c782e1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -47,7 +47,7 @@ If they seem to be failing unexpectedly, check grafana for ingestion lag at http | |
log(JSON.stringify(files, null, 2)) | ||
|
||
// the deadline is the same for each assert, as the ingestion lag will be happening in parallel | ||
const deadline = Date.now() + 1000 * 60 * 30 // 30 minutes | ||
const deadline = Date.now() + 1000 * 60 * 120 // 30 minutes | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. pedantic, but you should change the comment to match the time (it's 120 minutes now). There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was hoping to not leave this around, but may do so depending on what others think There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah fair 'nuff |
||
|
||
for (const file of files) { | ||
const testSessionId = file.testSessionId | ||
|
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.
In this PR we are essentially find+replacing the existing flag
decideEndpointWasHit
for this new, more accurately namedreceivedFlagValues
flag. The prior will now mean that the endpoint truly was hit with no errors, and the latter will mean that there are flag values available for the SDK to return.decideEndpointWasHit
is now really only used for passing back the$used_bootstrap_value
flag in $feature_flag_called events.