Repository navigation
fix: bump go-api-libs/api with cassette - #94
Merged
Merged
Conversation
The scheduled update bumped cassette, which no longer has OptionalHeaders, but left go-api-libs/api at a version that still calls it, so the build broke. api is imported only by golden_test.go, and the update's go get -u ./... skips what only tests import. Bump api, which replays without OptionalHeaders, with cassette and openapi-flatten. Fixes #93 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_019QCb1AfnATvpBQCH3PrX7Y
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.
Fixes #93
The scheduled "update dependencies" run bumped cassette, which no longer has
OptionalHeaderssince MarkRosemaker/cassette#9. It left go-api-libs/api at a version from before go-api-libs/api#12, and that version still callsOptionalHeaders, so the vendoredapitestfailed to build:This PR bumps go-api-libs/api to its current
mastertogether with cassette and openapi-flatten. Its replay ignoresAcceptwithout needingOptionalHeaders. I reproduced the failure by bumping only cassette and flatten, as the scheduled run did, and confirmed it goes away with api bumped as well.make readypasses.Why the run skipped api: codegen imports go-api-libs/api only from
golden_test.go.render/imports.gomentions it only as strings. The run'sgo get -u ./...has no-t, so it never updates a module that only tests import. The same thing will happen again whenever cassette and api change together, unless the run also passes-t.Generated by Claude Code