TPT-4435: Upgrade test image linode/alpine3.19 to new version and regenerate fixture files#952
Open
psnoch-akamai wants to merge 1 commit intolinode:mainfrom
Conversation
mawilk90
approved these changes
May 6, 2026
80ec4d7 to
0f4a654
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates integration tests to use a newer Alpine image (linode/alpine3.23) and regenerates the recorded VCR fixtures to reflect the updated API interactions.
Changes:
- Updated instance rebuild integration tests to use
linode/alpine3.23instead oflinode/alpine3.19. - Regenerated multiple integration VCR fixture YAMLs to match the new rebuild/image-list responses.
- Fixture request URLs now point at
https://api.devcloud.linode.com, which is likely to break fixture replay given the current test harness behavior.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| test/integration/instances_test.go | Switches rebuild tests to use linode/alpine3.23. |
| test/integration/fixtures/TestInstance_Rebuild.yaml | Regenerated rebuild cassette (now recorded against api.devcloud.linode.com). |
| test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml | Regenerated encrypted rebuild cassette (now recorded against api.devcloud.linode.com). |
| test/integration/fixtures/TestImages_List.yaml | Regenerated images list cassette (now recorded against api.devcloud.linode.com). |
| test/integration/fixtures/ExampleListImages_all.yaml | Regenerated example cassette for listing images (now recorded against api.devcloud.linode.com). |
| test/integration/fixtures/TestImageSharing_Suite.yaml | Regenerated image-sharing suite cassette (now recorded against api.devcloud.linode.com). |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -14,308 +14,31 @@ interactions: | |||
| url: https://api.linode.com/v4beta/regions?page=1 | |||
| @@ -14,308 +14,31 @@ interactions: | |||
| url: https://api.linode.com/v4beta/regions?page=1 | |||
| @@ -14,169 +14,275 @@ interactions: | |||
| url: https://api.linode.com/v4beta/images?page=1 | |||
| @@ -14,183 +14,275 @@ interactions: | |||
| url: https://api.linode.com/v4beta/images?page=1 | |||
| - application/json | ||
| User-Agent: | ||
| - linodego/dev https://github.com/linode/linodego | ||
| url: https://api.linode.com/v4beta/regions?page=1 |
Contributor
|
@psnoch-akamai Any chance you could regenerate the fixtures against production to get the CI passing? Alternatively you can manually replace all DevCloud API URLs in the fixture files with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Upgrade test image linode/alpine3.19 to new version and regenerate fixture files