Skip to content

fix: Correctly parse acceptance test url - #3490

Merged
stevehipwell merged 2 commits into
integrations:mainfrom
stevehipwell:fix-acc-test-url
Jun 18, 2026
Merged

stevehipwell merged 2 commits into
integrations:mainfrom
stevehipwell:fix-acc-test-url

Conversation

@stevehipwell

Copy link
Copy Markdown
Collaborator

Resolves #3256
Closes #3258


Before the change?

  • Acceptance test URL didn't behave the same as the provider config

After the change?

  • Acceptance test URl behaves the same as the provider config

Pull request checklist

  • Schema migrations have been created if needed (example)
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

Does this introduce a breaking change?

Please see our docs on breaking changes to help!

  • Yes
  • No

@stevehipwell stevehipwell added this to the v6.13.0 milestone Jun 16, 2026
@stevehipwell stevehipwell added the Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR label Jun 16, 2026
@github-actions

Copy link
Copy Markdown

👋 Hi, and thank you for this contribution!

This repo is maintained by GitHub and community members on a best-effort basis. We'll get to this as soon as we can.

You can help us prioritize by joining the discussion on open issues and PRs, sharing details on the changes you need, and reviewing other contributions.


🤖 This is an automated message.

@github-actions github-actions Bot added the Type: Bug Something isn't working as documented label Jun 16, 2026

@robert-crandall robert-crandall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up, routing the test base URL through getBaseURL so it matches the provider is definitely the right direction. One thing I want to sanity-check: getBaseURL strips /api/v3 and returns the isGHES bool, and the provider uses that bool to set RESTAPIPath/GraphQLAPIPath back. Since we discard it here and getTestMeta doesn't set those paths, do the GHES helper calls (e.g. the owner lookup in TestAccGithubTeamMembership) still land on /api/v3? Just want to make sure we're not stripping the path without adding it back. Happy to be wrong if you've run it against GHES.

@stevehipwell

Copy link
Copy Markdown
Collaborator Author

@robert-crandall good spot, I don't have a GHES to target but you're right that the test meta needs this logic adding. I'll update the PR to fix this.

deiga
deiga previously approved these changes Jun 17, 2026
@stevehipwell

Copy link
Copy Markdown
Collaborator Author

@robert-crandall this should be fixed now.

@stevehipwell
stevehipwell force-pushed the fix-acc-test-url branch 2 times, most recently from d9036d7 to 2d6b3d5 Compare June 18, 2026 09:13

@robert-crandall robert-crandall left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, this is exactly what I was hoping for. I checked out the branch and it builds clean, and the github.com path is unchanged (JoinPath("") is a no-op). Thanks Steve!

@stevehipwell
stevehipwell merged commit 03ae616 into integrations:main Jun 18, 2026
10 checks passed
@stevehipwell
stevehipwell deleted the fix-acc-test-url branch June 18, 2026 16:37
@vensaro236-arch

Copy link
Copy Markdown

Displaying verification statuses for all of your commits

You can enable vigilant mode for commit signature verification to mark all of your commits and tags with a signature verification status.

About vigilant mode

When you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see Signing commits and Signing tags. GitHub marks signed commits and tags with a verification status.

By default commits and tags are marked "Verified" if they are signed with a GPG, SSH, or S/MIME key that was successfully verified. If a commit or tag has a signature that can't be verified by GitHub, we mark the commit or tag "Unverified." In all other cases no verification status is displayed.

However, you can give other users increased confidence in the identity attributed to your commits and tags by enabling vigilant mode in your GitHub settings. With vigilant mode enabled, all of your commits and tags are marked with one of three verification statuses:

Status Description
Verified The commit is signed, the signature was successfully verified, and the committer is the only author who has enabled vigilant mode.
Partially verified The commit is signed, and the signature was successfully verified, but the commit has an author who: a) is not the committer and b) has enabled vigilant mode. In this case, the commit signature doesn't guarantee the consent of the author, so the commit is only partially verified.
Unverified Any of the following is true:
- The commit is signed but the signature could not be verified.
- The commit is not signed and the committer has enabled vigilant mode.
- The commit is not signed and an author has enabled vigilant mode.

You should only enable vigilant mode if you sign all of your commits and tags and use an email address that is verified for your GitHub account as your committer email address. After enabling this mode, any unsigned commits or tags that you generate locally and push to GitHub will be marked "Unverified."

You can check the verification status of your signed commits or tags on GitHub and view why your commit signatures might be unverified. For more information, see Checking your commit and tag signature verification status.

Enabling vigilant mode

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. In the "Access" section of the sidebar, click SSH and GPG keys.
  3. Under "Vigilant mode," select Flag unsigned commits as unverified.# Displaying verification statuses for all of your commits

You can enable vigilant mode for commit signature verification to mark all of your commits and tags with a signature verification status.

About vigilant mode

When you work locally on your computer, Git allows you to set the author of your changes and the identity of the committer. This, potentially, makes it difficult for other people to be confident that commits and tags you create were actually created by you. To help solve this problem you can sign your commits and tags. For more information, see Signing commits and Signing tags. GitHub marks signed commits and tags with a verification status.

By default commits and tags are marked "Verified" if they are signed with a GPG, SSH, or S/MIME key that was successfully verified. If a commit or tag has a signature that can't be verified by GitHub, we mark the commit or tag "Unverified." In all other cases no verification status is displayed.

However, you can give other users increased confidence in the identity attributed to your commits and tags by enabling vigilant mode in your GitHub settings. With vigilant mode enabled, all of your commits and tags are marked with one of three verification statuses:

Status Description
Verified The commit is signed, the signature was successfully verified, and the committer is the only author who has enabled vigilant mode.
Partially verified The commit is signed, and the signature was successfully verified, but the commit has an author who: a) is not the committer and b) has enabled vigilant mode. In this case, the commit signature doesn't guarantee the consent of the author, so the commit is only partially verified.
Unverified Any of the following is true:
- The commit is signed but the signature could not be verified.
- The commit is not signed and the committer has enabled vigilant mode.
- The commit is not signed and an author has enabled vigilant mode.

You should only enable vigilant mode if you sign all of your commits and tags and use an email address that is verified for your GitHub account as your committer email address. After enabling this mode, any unsigned commits or tags that you generate locally and push to GitHub will be marked "Unverified."

You can check the verification status of your signed commits or tags on GitHub and view why your commit signatures might be unverified. For more information, see Checking your commit and tag signature verification status.

Enabling vigilant mode

  1. In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
  2. In the "Access" section of the sidebar, click SSH and GPG keys.
  3. Under "Vigilant mode," select Flag unsigned commits as unverified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Something isn't working as documented Type: Maintenance Any dependency, housekeeping, and clean up Issue or PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG]: TestAccGithubMembership fails on GHES

4 participants