-
Notifications
You must be signed in to change notification settings - Fork 101
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
Pin dependencies for typespec compilation #8019
Conversation
typespec/package.json
Outdated
"@typespec/http": "^0.60.0", | ||
"@typespec/openapi": "^0.60.0", | ||
"@typespec/rest": "^0.60.0", | ||
"@typespec/versioning": "^0.60.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PTAL at the package-lock.json
to verify. We're still installing the same versions, but the version ranges we consider allowed are constrained.
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM: Running make generate
in the dev container results in zero changes to the generated code. 🚀
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8019 +/- ##
==========================================
- Coverage 59.31% 59.30% -0.02%
==========================================
Files 560 560
Lines 37495 37495
==========================================
- Hits 22242 22236 -6
- Misses 13706 13710 +4
- Partials 1547 1549 +2 ☔ View full report in Codecov by Sentry. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried to dismiss my own review/approval but looks like I cannot in Github. We're updating to ~0.60.0 as mentioned above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
700b4d4
to
4d710b2
Compare
This change pins the dependencies we use for the TypeSpec compiler. Since these were set to latest, it's easy to operate on a configuration we don't support. TypeSpec moves fast and breaks things, so being certain about the dependencies is important. Also adds the package.json to depdendabot so we can get PRs for updates. Signed-off-by: Ryan Nowak <[email protected]>
4d710b2
to
0a86352
Compare
@brooke-hamilton - ready for a rereview! |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rynowak looks good: rebuild dev container --> make generate
--> zero file changes.
Will need yet another approval after updating to latest main 😆 |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
Description
This change pins the dependencies we use for the TypeSpec compiler. Since these were set to latest, it's easy to operate on a configuration we don't support. TypeSpec moves fast and breaks things, so being certain about the dependencies is important.
Also adds the package.json to depdendabot so we can get PRs for updates.
Type of change
Contributor checklist
Please verify that the PR meets the following requirements, where applicable: