GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Tools telemetry: accurately report when feature flags were inaccessible by angelapwen · Pull Request #1532 · github/codeql-action

Conversation

@angelapwen

@angelapwen angelapwen commented Feb 9, 2023

Copy link
Copy Markdown
Contributor

Merge / deployment checklist

Previously, we sent a false value of tools_feature_flags_valid in our status reports when we were actually unable to access our feature flags, for example in cases where the repository does not have the appropriate security permissions to access feature flags. This change should allow us to catch the error where we are unable to access feature flags, and not send the tools_feature_flags_valid field at all to the status report.

This will enable us to create a monitor on the tools_feature_flags_valid telemetry field, as we will always expect it to be 0.

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
angelapwen added 2 commits February 8, 2023 17:47
@angelapwen
Cache whether feature flags are accessible
4fb791a
@angelapwen
Small comment fixup from linting change
2bc71f7
@angelapwen
angelapwen requested a review from a team as a code owner February 9, 2023 01:53
@angelapwen angelapwen mentioned this pull request Feb 9, 2023
Add max line length of 120 to linter #1524
Merged
3 tasks done
@angelapwen
angelapwen requested a review from henrymercer February 9, 2023 01:54
henrymercer
henrymercer reviewed Feb 9, 2023
View reviewed changes

@henrymercer henrymercer left a comment

Copy link
Copy Markdown
Contributor

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 good, just a couple of minor comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread src/feature-flags.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread src/feature-flags.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

@angelapwen
Rename and refactor per PR review
0339bdc
@angelapwen
angelapwen requested a review from henrymercer February 9, 2023 20:56
henrymercer
henrymercer approved these changes Feb 10, 2023
View reviewed changes
@angelapwen
angelapwen merged commit 40babc1 into github:main Feb 10, 2023
@github-actions github-actions Bot mentioned this pull request Feb 10, 2023
Merge main into releases/v2 #1534
Merged
5 of 6 tasks
@angelapwen
angelapwen deleted the telemetry-accessible-ff branch April 29, 2023 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@henrymercer henrymercer henrymercer approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@angelapwen @henrymercer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.