-
Notifications
You must be signed in to change notification settings - Fork 10
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
Bump flipper-ui, flipper and flipper-active_record #3348
Bump flipper-ui, flipper and flipper-active_record #3348
Conversation
75aaf8f
to
8e22b0c
Compare
3413abf
to
a8d799e
Compare
Bumps [flipper-ui](https://github.com/flippercloud/flipper), [flipper](https://github.com/flippercloud/flipper) and [flipper-active_record](https://github.com/flippercloud/flipper). These dependencies needed to be updated together. Updates `flipper-ui` from 1.0.0 to 1.2.2 - [Release notes](https://github.com/flippercloud/flipper/releases) - [Changelog](https://github.com/flippercloud/flipper/blob/main/Changelog.md) - [Commits](flippercloud/flipper@v1.0.0...v1.2.2) Updates `flipper` from 1.0.0 to 1.2.2 - [Release notes](https://github.com/flippercloud/flipper/releases) - [Changelog](https://github.com/flippercloud/flipper/blob/main/Changelog.md) - [Commits](flippercloud/flipper@v1.0.0...v1.2.2) Updates `flipper-active_record` from 1.0.0 to 1.2.2 - [Release notes](https://github.com/flippercloud/flipper/releases) - [Changelog](https://github.com/flippercloud/flipper/blob/main/Changelog.md) - [Commits](flippercloud/flipper@v1.0.0...v1.2.2) --- updated-dependencies: - dependency-name: flipper-ui dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: flipper dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: flipper-active_record dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
a8d799e
to
4fc6065
Compare
@@ -0,0 +1,18 @@ | |||
# frozen_string_literal: true |
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.
This comes from bin/rails g flipper:update
which applies this new migration https://github.com/flippercloud/flipper/blob/main/lib/generators/flipper/templates/update/migrations/02_change_flipper_gates_value_to_text.rb.erb
Kinda surprised this wasn't flagged as unsafe by strong migrations? https://github.com/ankane/strong_migrations?tab=readme-ov-file#changing-the-type-of-a-column
But this should be safe to run as is, as this table only has 6 values in the table and should be super quick to run.
We could probably also tackle this issue beforehand to make sure theirs nothing reading from this table as all feature flags have been fully enabled for a very long time now: #3277
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.
This table should have no data in it now, since #3277 is now completed. So should be no real concern here for this migration.
…lipper-and-flipper-active_record-1.2.2
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 👍
…lipper-and-flipper-active_record-1.2.2
…lipper-and-flipper-active_record-1.2.2
…lipper-and-flipper-active_record-1.2.2
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!
remove_index :flipper_gates, [:feature_key, :key, :value] | ||
end | ||
change_column :flipper_gates, :value, :text | ||
add_index :flipper_gates, [:feature_key, :key, :value], unique: true, length: { value: 255 } |
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.
A question from my curiousness, is length: { value: 255 }
meant only to guard against an overly large index entry or does it server another purpose?
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.
Yeah, that's a great question.
Apparently this only works for Mysql so makes no difference to us in Jupiter as we use Postgres. This is confirmed in the original PR for this migration here: flippercloud/flipper#790 (comment)
Mysql if you are indexing a text column (which this value
column is after this migration) it wants you to set a length I guess as mentioned in these docs: https://dev.mysql.com/doc/refman/8.0/en/create-index.html#create-index-column-prefixes
Otherwise, Mysql will throw errors at you which happen to this Flipper project in here: flippercloud/flipper#789
As for why Mysql has this limitation, perhaps this stack overflow can shed some light: https://stackoverflow.com/a/1827099
…lipper-and-flipper-active_record-1.2.2
Bumps flipper-ui, flipper and flipper-active_record. These dependencies needed to be updated together.
Updates
flipper-ui
from 1.0.0 to 1.2.2Release notes
Sourced from flipper-ui's releases.
... (truncated)
Commits
dd54868
Release 1.2.2e947540
Merge pull request #827 from flippercloud/test-help-fixesbcafbc4
Reconfigure in integration test68e2f73
TestHelp: Reconfigure once, remove all features before each test6384a80
Merge pull request #820 from flippercloud/stop-global-warming5df0121
Merge remote-tracking branch 'origin/main' into stop-global-warming52c47e4
Merge pull request #824 from flippercloud/cli-bundler-colorize12eef0e
Test colorization in specsd0c4ba7
Merge remote-tracking branch 'origin/main' into cli-bundler-colorize8ba0b5c
Try increasing process_timeout on system testUpdates
flipper
from 1.0.0 to 1.2.2Release notes
Sourced from flipper's releases.
... (truncated)
Commits
dd54868
Release 1.2.2e947540
Merge pull request #827 from flippercloud/test-help-fixesbcafbc4
Reconfigure in integration test68e2f73
TestHelp: Reconfigure once, remove all features before each test6384a80
Merge pull request #820 from flippercloud/stop-global-warming5df0121
Merge remote-tracking branch 'origin/main' into stop-global-warming52c47e4
Merge pull request #824 from flippercloud/cli-bundler-colorize12eef0e
Test colorization in specsd0c4ba7
Merge remote-tracking branch 'origin/main' into cli-bundler-colorize8ba0b5c
Try increasing process_timeout on system testUpdates
flipper-active_record
from 1.0.0 to 1.2.2Release notes
Sourced from flipper-active_record's releases.
... (truncated)
Commits
dd54868
Release 1.2.2e947540
Merge pull request #827 from flippercloud/test-help-fixesbcafbc4
Reconfigure in integration test68e2f73
TestHelp: Reconfigure once, remove all features before each test6384a80
Merge pull request #820 from flippercloud/stop-global-warming5df0121
Merge remote-tracking branch 'origin/main' into stop-global-warming52c47e4
Merge pull request #824 from flippercloud/cli-bundler-colorize12eef0e
Test colorization in specsd0c4ba7
Merge remote-tracking branch 'origin/main' into cli-bundler-colorize8ba0b5c
Try increasing process_timeout on system testYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)