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 — Tolerate other GitHub variants when retrieving feature flags from GitHub API by NlightNFotis · Pull Request #2567 · github/codeql-action

Conversation

@NlightNFotis

@NlightNFotis NlightNFotis commented Oct 24, 2024

Copy link
Copy Markdown
Contributor

Description

This PR introduces the capability to the GitHub API handler to tolerate other GitHub variants when retrieving feature flags.

Merge / deployment checklist

  • 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
@NlightNFotis NlightNFotis self-assigned this Oct 24, 2024
@NlightNFotis
NlightNFotis requested a review from a team as a code owner October 24, 2024 14:13
aeisenberg
aeisenberg previously approved these changes Oct 24, 2024
View reviewed changes

@aeisenberg aeisenberg 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.

Nice. I didn't realize it was so easy. This looks like the right fix.

Before merging, can you do a quick check throughout the code to see if there's any other place we're missing GHE_DOTCOM?

Sorry, something went wrong.

Uh oh!

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

All reactions
henrymercer
henrymercer previously approved these changes Oct 25, 2024
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.

Thanks Fotis!

Sorry, something went wrong.

Uh oh!

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

All reactions
@NlightNFotis
NlightNFotis dismissed stale reviews from henrymercer and aeisenberg via 20d41c3 October 25, 2024 16:02
NlightNFotis added 2 commits October 25, 2024 17:04
@NlightNFotis
fix: tolerate other GitHub variants when retrieving feature flags fro…
1a02ac9
…m GitHub API
@NlightNFotis
test: add test ensuring we don't bail against proxima stamps when req…
6511785
…uesting feature flags
@NlightNFotis
NlightNFotis force-pushed the NlightNFotis/feature_flag_fix branch from 20d41c3 to 6511785 Compare October 25, 2024 16:05
henrymercer
henrymercer reviewed Oct 25, 2024
View reviewed changes
Comment thread src/feature-flags.test.ts Resolved

Uh oh!

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

@henrymercer henrymercer added the Rebuild Re-transpile JS & re-generate workflows label Oct 25, 2024
@github-actions github-actions Bot removed the Rebuild Re-transpile JS & re-generate workflows label Oct 25, 2024
@NlightNFotis @henrymercer
test: update wording of text description
fddb49d
Co-authored-by: Henry Mercer <[email protected]>
@NlightNFotis
NlightNFotis force-pushed the NlightNFotis/feature_flag_fix branch from e4e89f5 to fddb49d Compare October 25, 2024 16:20
henrymercer
henrymercer approved these changes Oct 25, 2024
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.

Thanks for adding the test!

Sorry, something went wrong.

Uh oh!

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

NlightNFotis reacted with heart emoji
All reactions
  • ❤️ 1 reaction
@NlightNFotis
NlightNFotis enabled auto-merge October 25, 2024 16:35
@NlightNFotis
NlightNFotis merged commit 3aa7135 into main Oct 25, 2024
@NlightNFotis
NlightNFotis deleted the NlightNFotis/feature_flag_fix branch October 25, 2024 16:38
This was referenced Nov 8, 2024
Merge main into releases/v3 #2585
Merged
Merge releases/v3 into releases/v2 #2587
Merged
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
@aeisenberg aeisenberg aeisenberg left review comments

Uh oh!

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

Assignees

@NlightNFotis NlightNFotis

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.

3 participants

@NlightNFotis @aeisenberg @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.