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

fix: update dependencies in parameter-setup crate #4930

Merged
merged 1 commit into from
Nov 18, 2024
Merged

Conversation

redshiftzero
Copy link
Member

Describe your changes

The parameter-setup crate was broken due to outdated dependencies. The options here are:

  1. add this tool to the workspace
  2. keep the dependencies updated instead of using workspace inheritance

Option 1 is more maintainable. Even though the parameters are fixed now due to mainnet, folks may try to use this crate for debugging - the scenario that motivated this commit.

To test: I followed the steps in https://guide.penumbra.zone/dev/parameter_setup to ensure we could run the parameter setup.

Issue ticket number and link

This was discovered while debugging #4927

Checklist before requesting a review

  • I have added guiding text to explain how a reviewer should test these changes.

  • If this code contains consensus-breaking changes, I have added the "consensus-breaking" label. Otherwise, I declare my belief that there are not consensus-breaking changes, for the following reason:

    this is a dev only change

The parameter-setup crate was broken due to outdated dependencies.
The options here are:
1. add this tool to the workspace
2. keep the dependencies updated instead of using workspace inheritance

Option 1 is more maintainable. Even though the parameters are fixed
now due to mainnet, folks may try to use this for debugging - the
scenario that motivated this commit.
@TalDerei TalDerei merged commit 63d1d33 into main Nov 18, 2024
14 checks passed
@TalDerei TalDerei deleted the fix-parameter-setup branch November 18, 2024 21:04
conorsch added a commit that referenced this pull request Nov 19, 2024
Follow-up to #4930, in which we inadvertently broken container builds,
due to a workspace dependency being introduced. We don't build container
images on every PR push, so CI passed fine, only failing when trying to
build/deploy post-merge. Tacked on a small change to address.

Refs #4933.
conorsch added a commit that referenced this pull request Nov 19, 2024
## Describe your changes
Follow-up to #4930, in which we inadvertently broken container builds,
due to a workspace dependency being introduced. We don't build container
images on every PR push, so CI passed fine, only failing when trying to
build/deploy post-merge. Tacked on a small change to address.

For testing, leave it to me: I'll re-deploy after this lands to get it
going.


## Issue ticket number and link
Refs #4933.

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > build logic only, no changes to consensus
@conorsch conorsch mentioned this pull request Nov 21, 2024
4 tasks
conorsch added a commit that referenced this pull request Nov 21, 2024
Updates the package metadata for the `parameter-setup` crate,
which was recently pulled into the workspace. Without these changes,
`cargo-release` was failing to add a version number to the automatically
generated commit message.

Refs #4928, #4930.
conorsch added a commit that referenced this pull request Nov 21, 2024
## Describe your changes

Updates the package metadata for the `parameter-setup` crate, which was
recently pulled into the workspace. Without these changes,
`cargo-release` was failing to add a version number to the automatically
generated commit message.



## Issue ticket number and link

Refs #4928, #4930.

## Testing and review

If you care to verify the results locally, you can:

```
git checkout -b my-feature-branch
cargo release 0.80.9 --execute # this won't push anything, but will require cleanup
git show # to view the commit message
```

Make sure that the generated commit message says "chore: release version
0.80.9", _not_ "chore: release version {{version}}". If you ran these
steps, **you must clean up**:

```
git checkout main
git tag -d v0.80.9
git branch -D my-feature-branch
```

If you forget to delete the tag, then when 0.80.9 is actually released,
you won't be able to pull the tag from github.

## Checklist before requesting a review

- [x] I have added guiding text to explain how a reviewer should test
these changes.

- [x] If this code contains consensus-breaking changes, I have added the
"consensus-breaking" label. Otherwise, I declare my belief that there
are not consensus-breaking changes, for the following reason:

  > package metadata only, no changes to application code
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.

2 participants