Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kubefirst 2.3.5 #153052

Merged
merged 2 commits into from
Nov 7, 2023
Merged

kubefirst 2.3.5 #153052

merged 2 commits into from
Nov 7, 2023

Conversation

claywd
Copy link
Contributor

@claywd claywd commented Nov 1, 2023

  • Have you followed the guidelines for contributing?
  • Have you ensured that your commits follow the commit style guide?
  • Have you checked that there aren't other open pull requests for the same formula update/change?
  • Have you built your formula locally with HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>, where <formula> is the name of the formula you're submitting?
  • Is your test running fine brew test <formula>, where <formula> is the name of the formula you're submitting?
  • Does your build pass brew audit --strict <formula> (after doing HOMEBREW_NO_INSTALL_FROM_API=1 brew install --build-from-source <formula>)? If this is a new formula, does it pass brew audit --new <formula>?

@github-actions github-actions bot added autosquash Automatically squash pull request commits according to Homebrew style. go Go use is a significant feature of the PR or issue labels Nov 1, 2023
@claywd claywd force-pushed the kubefirst-2.3.3 branch 2 times, most recently from 9c489eb to a8fe165 Compare November 1, 2023 15:01
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 1, 2023
@Bo98 Bo98 changed the title chore: bump version kubefirst 2.3.3 Nov 1, 2023
@claywd
Copy link
Contributor Author

claywd commented Nov 1, 2023

Any guidance you can give on the following would be super appreciated.

 Already downloaded: /github/home/.cache/Homebrew/downloads/482f67d791f1a6d4b4f00eb38995ba722b9e3f9b1bb0739c2a5580d46408e1cb--kubefirst-2.3.3.tar.gz
  ==> Verifying checksum for '482f67d791f1a6d4b4f00eb38995ba722b9e3f9b1bb0739c2a5580d46408e1cb--kubefirst-2.3.3.tar.gz'
  Error: kubefirst: SHA256 mismatch

Formula/k/kubefirst.rb Outdated Show resolved Hide resolved
@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 1, 2023
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 1, 2023
@chenrui333
Copy link
Member

Minitest::Assertion: Expected /v2\.3\.3/ to match "".

@chenrui333 chenrui333 added the test failure CI fails while running the test-do block label Nov 1, 2023
@p-linnane p-linnane changed the title kubefirst 2.3.3 kubefirst 2.3.4 Nov 1, 2023
@chenrui333 chenrui333 added the CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. label Nov 1, 2023
@claywd
Copy link
Contributor Author

claywd commented Nov 1, 2023

still working on this. Not expecting linuxbrew to succeed

@claywd
Copy link
Contributor Author

claywd commented Nov 1, 2023

image
Not sure why this isn't working in the test but locally on my linux host the flags seem to be working find. What's the best way to replicate the test locally for linuxbrew?

@github-actions github-actions bot added the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 1, 2023
@p-linnane
Copy link
Member

brew test --verbose --debug kubefirst. You can open a shell by pressing 5 after it fails and investigate.

@claywd
Copy link
Contributor Author

claywd commented Nov 1, 2023

So I started testing by installing using the recipe and --build-from-source and... it doesn't work with the recipe but it works when I used the commands from the recipe in my shells. Tested on linux and macos. if I provide the ldflags, it builds fine and the version is displayed as expected, but not when I run the recipe even though the commands I'm running match the recipe.

Formula/k/kubefirst.rb Outdated Show resolved Hide resolved
@claywd claywd changed the title kubefirst 2.3.4 kubefirst 2.3.5 Nov 2, 2023
@claywd claywd force-pushed the kubefirst-2.3.3 branch 2 times, most recently from 69edf99 to fc8427a Compare November 2, 2023 02:03
@github-actions github-actions bot removed the autosquash Automatically squash pull request commits according to Homebrew style. label Nov 2, 2023
@claywd claywd force-pushed the kubefirst-2.3.3 branch 3 times, most recently from 0394fe5 to a64c54d Compare November 2, 2023 04:16
@Bo98
Copy link
Member

Bo98 commented Nov 3, 2023

I can reproduce the same issue with the binaries at: https://github.com/kubefirst/kubefirst/releases/tag/v2.3.5, so this seems like a regression upstream.

@Bo98 Bo98 added the upstream issue An upstream issue report is needed label Nov 3, 2023
@alebcay
Copy link
Member

alebcay commented Nov 3, 2023

I'd like to add, when building locally, I experience the hanging issue with any kubefirst invocation, including just kubefirst or kubefirst --help.

@p-linnane p-linnane added ready to merge PR can be merged once CI is green and removed upstream issue An upstream issue report is needed test failure CI fails while running the test-do block CI-no-fail-fast Continue CI tests despite failing GitHub Actions matrix builds. labels Nov 3, 2023
@alebcay
Copy link
Member

alebcay commented Nov 3, 2023

Is this really ready to merge? The formula has been modified to remove all the bits that caused the hanging, but from what I can tell the hanging still seems to be an issue for any end user.

@p-linnane p-linnane added upstream issue An upstream issue report is needed and removed ready to merge PR can be merged once CI is green labels Nov 3, 2023
@p-linnane
Copy link
Member

Is this really ready to merge? The formula has been modified to remove all the bits that caused the hanging, but from what I can tell the hanging still seems to be an issue for any end user.

My apologies. I didn't see your other comment about the additional hangs.

@claywd
Copy link
Contributor Author

claywd commented Nov 6, 2023

lgtm @p-linnane The hanging is something we are going to address on a per command basis as there are times when we actually do want the terminal to hang for experience reasons. Our product just underwent its biggest architecture shift simulataneously with its biggest feature release since its inception and will have more iterations to fine tune the user experience. I think this is ready to merge as is.

@p-linnane p-linnane requested a review from alebcay November 7, 2023 00:18
@claywd
Copy link
Contributor Author

claywd commented Nov 7, 2023

@alebcay can you approve?

Comment on lines 32 to 33
system "go", "build", *std_go_args(ldflags: ldflags)

generate_completions_from_executable(bin/"kubefirst", "completion")
end
Copy link
Member

Choose a reason for hiding this comment

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

So just to confirm: shell completions which is being removed here is intentional and will no longer be supported?

Copy link
Member

@alebcay alebcay Nov 7, 2023

Choose a reason for hiding this comment

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

Please confirm this @k8swrangler, due to the hanging issue we cannot ship completions out of the box. Users will have to run kubefirst completion > some_file.sh and Ctrl + C on their own after installing.

Copy link
Member

Choose a reason for hiding this comment

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

To clarify: kubefirst completion doesn't generate the files. The user would need to pipe that to the appropriate locations and hit Ctrl+C.

Copy link
Member

Choose a reason for hiding this comment

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

Thanks, edited my comment to make that clear.

Copy link
Contributor Author

@claywd claywd Nov 7, 2023

Choose a reason for hiding this comment

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

Shell command completion is one of those things that is almost never used in our app so it's not a priority. This cli is more an initial interface to the actual app which has grown beyond the cli

@alebcay
Copy link
Member

alebcay commented Nov 7, 2023

Apart from Bo's comment/question which should be addressed, I'm 👍 with this (with the understanding that end users may be negatively impacted) as long as we get an issue opened upstream and link to it from this PR or from the formula. It allows contributors/maintainers here to remember that we ran into this and track resolution (can hopefully add completion generation back then), and gives us a place that we can point end users to for root cause.

@claywd
Copy link
Contributor Author

claywd commented Nov 7, 2023

Apart from Bo's comment/question which should be addressed, I'm 👍 with this (with the understanding that end users may be negatively impacted) as long as we get an issue opened upstream and link to it from this PR or from the formula. It allows contributors/maintainers here to remember that we ran into this and track resolution (can hopefully add completion generation back then), and gives us a place that we can point end users to for root cause.

I think what I'm getting at is that shell completions for this cli are not valuable to us. Would be better to let it die rather than open an issue and track a feature we will probably never reimplement.

@alebcay
Copy link
Member

alebcay commented Nov 7, 2023

I've opened konstructio/kubefirst#1902 so that we have a place to point any further user concerns/feedback to.

Copy link
Contributor

github-actions bot commented Nov 7, 2023

🤖 An automated task has requested bottles to be published to this PR.

@github-actions github-actions bot added the CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. label Nov 7, 2023
@BrewTestBot BrewTestBot enabled auto-merge November 7, 2023 15:55
@BrewTestBot BrewTestBot added this pull request to the merge queue Nov 7, 2023
Merged via the queue into Homebrew:master with commit 78d8776 Nov 7, 2023
12 checks passed
@github-actions github-actions bot added the outdated PR was locked due to age label Dec 7, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Dec 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CI-published-bottle-commits The commits for the built bottles have been pushed to the PR branch. go Go use is a significant feature of the PR or issue outdated PR was locked due to age upstream issue An upstream issue report is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants