-
Notifications
You must be signed in to change notification settings - Fork 124
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
Unify --allow-unsupported-set and --unsupported-set-mode #1354
Labels
1 points
Created by Linear-GitHub Sync
first-issue
Created by Linear-GitHub Sync
Low priority
Created by Linear-GitHub Sync
Milestone
Comments
altmannmarcelo
added
Low priority
Created by Linear-GitHub Sync
first-issue
Created by Linear-GitHub Sync
labels
Aug 29, 2024
readysetbot
pushed a commit
that referenced
this issue
Sep 25, 2024
`--allow-unsupported-set` was added in c1df0d7, and it allowed readyset is naively ignore any `SET` commands it could nor process. About a year later, in e86017f, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Sep 25, 2024
`--allow-unsupported-set` was added in c1df0d7, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in e86017f, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Sep 30, 2024
`--allow-unsupported-set` was added in c1df0d7, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in e86017f, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Sep 30, 2024
`--allow-unsupported-set` was added in c1df0d7, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in e86017f, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Oct 2, 2024
`--allow-unsupported-set` was added in Ic1df0d73, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in Ie86017f8, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Oct 2, 2024
`--allow-unsupported-set` was added in Ie7bfc9cd, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in I0005339c, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Oct 2, 2024
`--allow-unsupported-set` was added in Ie7bfc9cd, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in I0005339c, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff
readysetbot
pushed a commit
that referenced
this issue
Oct 2, 2024
`--allow-unsupported-set` was added in Ie7bfc9cd, and it allowed readyset to naively ignore any `SET` commands it could not process. About a year later, in I0005339c, we introduced the `--unsupported-set-mode` flag and enum. One of the modes available is `Allow`, that mapped directly onto the existing `--allow-unsupported-set`. Confusingly, we did not remove the older flag, and we did not allow setting `--unsupported-set-mode allow`. Let's reduce our cli flag burden and just merge the two behaviors, into the way it looks like it was intended to be. Fixes: REA-4673 Fixes: #1354 Release-Note-Core: Remove hidden `--allow-unsupported-set` flag, replaced by `--unsupported-set-mode allow`. Change-Id: I368ca7ee583bb64d3e44e22b81576c79551d62ff Reviewed-on: https://gerrit.readyset.name/c/readyset/+/8063 Tested-by: Buildkite CI Reviewed-by: Marcelo Altmann <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
1 points
Created by Linear-GitHub Sync
first-issue
Created by Linear-GitHub Sync
Low priority
Created by Linear-GitHub Sync
Description
Today we have
--unsupported-set-mode
that allows for two values, Error and Proxy. but we also have--allow-unsupported-set
as a dedicated variable. Those two variables all control what we set in:We should unify them by adding
allow
as one option to--unsupported-set-mode
Change in user-visible behavior
Requires documentation change
The text was updated successfully, but these errors were encountered: