Skip to content

bump viper incrementally#168

Merged
blaqbern merged 2 commits intomainfrom
cblackburn/bump-viper-incrementally
May 14, 2025
Merged

bump viper incrementally#168
blaqbern merged 2 commits intomainfrom
cblackburn/bump-viper-incrementally

Conversation

@blaqbern
Copy link
Copy Markdown
Contributor

@blaqbern blaqbern commented May 13, 2025

#159 attempts to bump spf13/viper from 1.19.0 to 1.20.1, but there is a failing GHA because the e2e-tests job gets the diff of the PR from the GitHub API, and the diff is so huge that it exceeds the max number of lines that can be returned from the GET pull request endpoint (ripping out a bunch of unneeded code). So this PR bumps the version incrementally to 1.20.0-alpha.1 which accounts for roughly half the changes, and passes the e2e-tests job. We can then immediately upgrade from 1.20.0-alpha.1 to 1.20.1 and I believe that diff should be small enough as well. This means we'd be on an alpha version for a brief time, which is a bit dicey, but I think acceptable. In any event, I'm not sure how else we're going to get around this issue, unless we want to dig into what the test is doing and try to come up with an acceptable substitute, but that feels substantially riskier, actually. Thoughts?

@blaqbern blaqbern requested a review from a team as a code owner May 13, 2025 20:41
@blaqbern blaqbern requested review from a team and removed request for a team May 13, 2025 20:42
Copy link
Copy Markdown
Contributor

@monsagri monsagri left a comment

Choose a reason for hiding this comment

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

I think this should be fine - there's also a way to work around this limit for Github Actions, but it's a bit more involved.
I remember running into it a while back but not having the time to implement it, I'll see if I can find my notes about it and post in your slack thread about this

Copy link
Copy Markdown

@sheldonmartin sheldonmartin left a comment

Choose a reason for hiding this comment

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

Interesting problem. Nice job finding a quick solution!

@blaqbern blaqbern merged commit b9e6098 into main May 14, 2025
6 checks passed
@blaqbern blaqbern deleted the cblackburn/bump-viper-incrementally branch May 14, 2025 18:57
@blaqbern blaqbern mentioned this pull request May 14, 2025
blaqbern added a commit that referenced this pull request May 14, 2025
This is the second half of a two-step process to upgrade viper (see #168
for part 1). We needed to split this because the diff was too large
which caused the e2e-tests GHA job to fail.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants