-
Notifications
You must be signed in to change notification settings - Fork 21
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
Add step parameters to the execution Context #211
Add step parameters to the execution Context #211
Conversation
a9b744b
to
c99ce13
Compare
@sriv |
@sriv https://github.com/getgauge/gauge-csharp-lib/actions/workflows/release.yml @chadlwilson or can you help out here? :) |
I have not followed any of these changes and unfortunately don't really understand the coupling of all the changes here, nor have time to figure it out. None of the PRs seem to document expected forward/backward compatibility, any required ordering/releases, or any such testing/analysis being done - so it's a bit too much work for me sorry, since I do not work with gauge-dotnet. |
apologies again (this is becoming embarrassingly habitual for me). i just triggered a release (not sure why it did not automatically push to nuget on merge) - https://github.com/getgauge/gauge-csharp-lib/actions/runs/10388824361/job/28765357599 the new version should be out shortly update - https://www.nuget.org/packages/Gauge.CSharp.Lib/0.10.3 is out and is indexing, should be available in feeds once that is done. |
This comment was marked as resolved.
This comment was marked as resolved.
Head branch was pushed to by a user without write access
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
3899c6e
to
9da0bd1
Compare
Signed-off-by: Piotr Nestorow <[email protected]>
@PiotrNestor Could you please rebase off master when you take a look at the failing test? Your current branch base will definitely fail the LSP tests until rebased. Also please sign your commits when you rebase. 🙏 (Edit: Looks like you just signed commits, but still needs a rebase) |
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
…-dotnet into dynamic-params
@sriv |
I'm not sure what you mean here? The functional tests install latest gauge from |
Gauge FTs cache the nuget packages to help speedup the test. And they are currently using 0.10.0 - https://github.com/getgauge/gauge-tests/tree/master/resources/LocalNuget This should be bumped up. I am away from my computer, so if someone else can do this I'd appreciate it. |
Oh, ok, that's odd - doesn't seem so great for predictability (GHA caches could achieve the same probably). I'll take a look. |
Done so now; am sanity checking off master to check the lib is backwards compatible. |
Hmm, I'm not sure what is going on now. The tests are still failing despite getgauge/gauge-tests@f3337fa so I guess I've done something wrong. |
Anyway, sorry I got stuck here - not sure I know what I am doing or how to figure out which library versions the tests are actually using. Don't really understand what would need to be sped up here, as the plugin zip contains the same/correct
But neither am I share where it is getting the incorrect version from now to end up with
|
@PiotrNestor Thank you for contributing to gauge-dotnet. Your pull request has been labeled as a release candidate 🎉🎉. Merging this PR will trigger a release. Please bump up the version as part of this PR.Instructions to bump the version can found at CONTRIBUTING.md If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done. |
Gauge dotnet projects do not use the lib from the plugins install location since they come in from the package manager (nuget). Similar to maven central for java or rubygems for ruby. The thing with dotnet is that it does a dotnet restore and then dotnet build to build the test project. There was some rate limiting that we noticed in nuget.org that would prevent the libs from getting installed and with FTs there is a new gauge project initialized and seeded for each functionality. It was in the order of 2-3x of gauge-java FTs, this caching helped bring it to a similar time. The tests are passing now, the problem was that the gauge-dotnet template was bringing in the older version of Lib. Some points to note::
Happy to hear thoughts on how to make this less painful/cumbersome. @PiotrNestor - please let me know when this is goo to merge. The FTs are passing and I see that the versions are bumped up as well but I think this can be a |
@sriv thanks! Where was the template that needed to be updated? |
The templates are a separate repo with the convention - https://github.com/template-. In this case its at https://github.com/getgauge/template-dotnet/ |
Ahh OK, yeah, I was trying to find where it was loading stuff from and could not figure out that dynamic reference. I don't have permissions to that repository anyway, so wouldn't have been able to fix it in any case :-) |
Signed-off-by: Piotr Nestorow <[email protected]>
Signed-off-by: Piotr Nestorow <[email protected]>
Please take a look at the other requested changes/comments - as there are some confusing changes that don't seem relevant to the PR? I'd make them myself, but you seem to have prevented maintainers from changing your branch when raising the PR. |
Signed-off-by: Piotr Nestorow <[email protected]>
@sriv
Add step parameters data to the execution Context
In hook methods it's possible to access step parameters.