-
Notifications
You must be signed in to change notification settings - Fork 116
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
empty: Kick CI #555
empty: Kick CI #555
Conversation
OK, some of these tests are failing. Here's one example from the above CI run:
This is weird because I can run this locally just fine:
|
Are you using the same resolved Yams version locally as the CI? I suspect that's where the mismatch might be. |
This was my thought exactly. And it made me wonder whether we should be checking in Package.resolved for this project, given its main utility is as leaf executable. Which got me further wondering whether that would be honoured when being consumed as a Swift package plugin. In the meantime, let me try and work out what versions of the dependencies are running in CI. |
|
I hadn't realised that Package.resolved wasn't checked in. Once I realised that it was not, I am able to reproduce the failure locally after a |
And, I can confirm that the following restriction in Package.swift restored working behaviour: - .package(url: "https://github.com/jpsim/Yams", "4.0.0"..<"6.0.0"),
+ .package(url: "https://github.com/jpsim/Yams", "4.0.0"..<"5.1.0"), |
Latest release of Yams, 4 days ago, has the following in the release notes1:
@czechboy0 I'm just catching up on #553, which appears to cover this exact issue. Footnotes |
Yeah, we'll need to dig into this. Based on Matt's comments, the new behavior seems to be the correct behavior, so it's possible we've been silently skipping/ignoring some other syntax errors in OpenAPI documents that now will emit a warning/error diagnostic. |
Superseded by #561 |
Motivation
[Explain here the context, and why you're making that change. What is the problem you're trying to solve.]
Modifications
[Describe the modifications you've made.]
Result
[After your change, what will change.]
Test Plan
[Describe the steps you took, or will take, to qualify the change - such as adjusting tests and manual testing.]