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

openssh: update to 9.3.P1 #92

Merged
merged 1 commit into from
Mar 16, 2023
Merged

openssh: update to 9.3.P1 #92

merged 1 commit into from
Mar 16, 2023

Conversation

gitforwindowshelper[bot]
Copy link

Signed-off-by: Matthias Aßhauer <[email protected]>
@rimrul rimrul marked this pull request as ready for review March 16, 2023 08:59
@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

/deploy

The x86_64 and the i686 workflow runs were started.

@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

And that failed because we're passing a ref instead of a rev to the checkrun action.

@rimrul rimrul marked this pull request as draft March 16, 2023 09:18
@dscho
Copy link
Member

dscho commented Mar 16, 2023

Whoops. This is not good. The automation failed. I am on it. Or would I step on your toes @rimrul?

@dscho
Copy link
Member

dscho commented Mar 16, 2023

To be precise, I am talking about this error:

Error: Need to `get()` Check Run before calling `update()`
    at Object.state.update (D:\a\git-for-windows-automation\git-for-windows-automation\check-runs.js:189:26)
    at eval (eval at callAsyncFunction (D:\a\_actions\actions\github-script\v6\dist\index.js:15099:16), <anonymous>:24:68)
    at async main (D:\a\_actions\actions\github-script\v6\dist\index.js:15198:20)
Error: Unhandled error: Error: Need to `get()` Check Run before calling `update()`

@dscho
Copy link
Member

dscho commented Mar 16, 2023

Actually, the root cause seems to be here:

Error: Expected either 'rev' or 'conclusion' to be specified
    at eval (eval at callAsyncFunction (D:\a\_actions\actions\github-script\v6\dist\index.js:15099:16), <anonymous>:4:9)
    at callAsyncFunction (D:\a\_actions\actions\github-script\v6\dist\index.js:15100:12)
    at main (D:\a\_actions\actions\github-script\v6\dist\index.js:15198:26)

@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

No, it's fine. I think it's literally just failing because of the letter f instead of v in the parameter name for the action. We seem to already pass a commit SHA from the slash command code to the workflow.

@dscho
Copy link
Member

dscho commented Mar 16, 2023

No, it's fine. I think it's literally just failing because of the letter f instead of v in the parameter name for the action. We seem to already pass a commit SHA from the slash command code to the workflow.

Right. I think I renamed this in my release-git work...

@dscho
Copy link
Member

dscho commented Mar 16, 2023

Almost looking good. The only problem I see is the funny space:

openssh update to 9 3 P1 by gitforwindowshelper bot  · Pull Request #92 · git-for-windowsMSYS2-packages Screenshot

@dscho
Copy link
Member

dscho commented Mar 16, 2023

The only problem I see is the funny space

I have a fix for that, and once the workflow run completed, will push an update to git-for-windows/git-for-windows-automation#41 that not only removes that space, but also updates the still-queued deploy_x86_64 Check Run.

@dscho dscho self-assigned this Mar 16, 2023
@dscho
Copy link
Member

dscho commented Mar 16, 2023

The only problem I see is the funny space

I have a fix for that, and once the workflow run completed, will push an update to git-for-windows/git-for-windows-automation#41 that not only removes that space,

That fix is here: git-for-windows/git-for-windows-automation@a2fbf72

but also updates the still-queued deploy_x86_64 Check Run.

And that was done via git-for-windows/git-for-windows-automation@6d85c38.

Now off to build openssh for i686.

dscho added a commit to git-for-windows/git-for-windows-automation that referenced this pull request Mar 16, 2023
This build will prove that the proposed fixes in cd8264d
(build-and-deploy: use the correct input name `rev`, 2023-03-16) and
a2fbf72 (build-and-deploy: remove the funny space from the Check Run
title, 2023-03-16) correctly address the build failure in
https://github.com/git-for-windows/git-for-windows-automation/actions/runs/4435243299
that prevented the deployment in
git-for-windows/MSYS2-packages#92 (comment)
from working.

Signed-off-by: Johannes Schindelin <[email protected]>
@dscho
Copy link
Member

dscho commented Mar 16, 2023

@dscho dscho marked this pull request as ready for review March 16, 2023 11:19
@dscho
Copy link
Member

dscho commented Mar 16, 2023

@rimrul the workflow runs seem to have worked! Could I ask you to take it from here?

@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

Yes.

@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

/add relnote Comes with OpenSSH v9.3p1

@dscho
Copy link
Member

dscho commented Mar 16, 2023

/add relnote Comes with OpenSSH v9.3p1

The response was:

Ignoring slash command /add relnote Comes with OpenSSH v9.3p1 in #92 (comment)

The reason is that this command requires a type (feature, bug or blurb): https://github.com/git-for-windows/gfw-helper-github-app/blob/961ebdb613062545d06d1479f06d2f927e0ec646/GitForWindowsHelper/slash-commands.js#L482

The app should probably respond with an error message in a new issue comment, I guess...

@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

/add relnote feature Comes with OpenSSH v9.3p1

The workflow run was started

@rimrul rimrul merged commit 2340bb9 into main Mar 16, 2023
@rimrul rimrul deleted the openssh-9.3.P1 branch March 16, 2023 11:55
@rimrul
Copy link
Member

rimrul commented Mar 16, 2023

The app should probably respond with an error message

Yes, that would be helpful. I have ideas for a PR, but probably won't get around to that before saturday or sunday.

@dscho
Copy link
Member

dscho commented Mar 16, 2023

@rimrul I added a ticket to make sure that this is not forgotten.

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.

[New openssh version] V_9_3_P1
2 participants