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

Bump flipper-ui, flipper and flipper-active_record #3348

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 19, 2024

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.2

Release notes

Sourced from flipper-ui's releases.

v1.2.1

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.2.0...v1.2.1

1.2.0

Read more about the Flipper 1.2.0 release on The Friday Deploy

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.1.2...v1.2.0

1.1.2

Bug Fixes

Additions/Changes

Full Changelog: flippercloud/flipper@v1.1.1...v1.1.2

... (truncated)

Commits
  • dd54868 Release 1.2.2
  • e947540 Merge pull request #827 from flippercloud/test-help-fixes
  • bcafbc4 Reconfigure in integration test
  • 68e2f73 TestHelp: Reconfigure once, remove all features before each test
  • 6384a80 Merge pull request #820 from flippercloud/stop-global-warming
  • 5df0121 Merge remote-tracking branch 'origin/main' into stop-global-warming
  • 52c47e4 Merge pull request #824 from flippercloud/cli-bundler-colorize
  • 12eef0e Test colorization in specs
  • d0c4ba7 Merge remote-tracking branch 'origin/main' into cli-bundler-colorize
  • 8ba0b5c Try increasing process_timeout on system test
  • Additional commits viewable in compare view

Updates flipper from 1.0.0 to 1.2.2

Release notes

Sourced from flipper's releases.

v1.2.1

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.2.0...v1.2.1

1.2.0

Read more about the Flipper 1.2.0 release on The Friday Deploy

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.1.2...v1.2.0

1.1.2

Bug Fixes

Additions/Changes

Full Changelog: flippercloud/flipper@v1.1.1...v1.1.2

... (truncated)

Commits
  • dd54868 Release 1.2.2
  • e947540 Merge pull request #827 from flippercloud/test-help-fixes
  • bcafbc4 Reconfigure in integration test
  • 68e2f73 TestHelp: Reconfigure once, remove all features before each test
  • 6384a80 Merge pull request #820 from flippercloud/stop-global-warming
  • 5df0121 Merge remote-tracking branch 'origin/main' into stop-global-warming
  • 52c47e4 Merge pull request #824 from flippercloud/cli-bundler-colorize
  • 12eef0e Test colorization in specs
  • d0c4ba7 Merge remote-tracking branch 'origin/main' into cli-bundler-colorize
  • 8ba0b5c Try increasing process_timeout on system test
  • Additional commits viewable in compare view

Updates flipper-active_record from 1.0.0 to 1.2.2

Release notes

Sourced from flipper-active_record's releases.

v1.2.1

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.2.0...v1.2.1

1.2.0

Read more about the Flipper 1.2.0 release on The Friday Deploy

What's Changed

New Contributors

Full Changelog: flippercloud/flipper@v1.1.2...v1.2.0

1.1.2

Bug Fixes

Additions/Changes

Full Changelog: flippercloud/flipper@v1.1.1...v1.1.2

... (truncated)

Commits
  • dd54868 Release 1.2.2
  • e947540 Merge pull request #827 from flippercloud/test-help-fixes
  • bcafbc4 Reconfigure in integration test
  • 68e2f73 TestHelp: Reconfigure once, remove all features before each test
  • 6384a80 Merge pull request #820 from flippercloud/stop-global-warming
  • 5df0121 Merge remote-tracking branch 'origin/main' into stop-global-warming
  • 52c47e4 Merge pull request #824 from flippercloud/cli-bundler-colorize
  • 12eef0e Test colorization in specs
  • d0c4ba7 Merge remote-tracking branch 'origin/main' into cli-bundler-colorize
  • 8ba0b5c Try increasing process_timeout on system test
  • Additional commits viewable in compare view

You 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot dependabot bot added dependencies ruby Pull requests that update Ruby code labels Jan 19, 2024
@dependabot dependabot bot force-pushed the dependabot/bundler/master/flipper-ui-and-flipper-and-flipper-active_record-1.2.2 branch 7 times, most recently from 75aaf8f to 8e22b0c Compare January 24, 2024 22:21
@dependabot dependabot bot force-pushed the dependabot/bundler/master/flipper-ui-and-flipper-and-flipper-active_record-1.2.2 branch 6 times, most recently from 3413abf to a8d799e Compare February 7, 2024 23:01
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]>
@dependabot dependabot bot force-pushed the dependabot/bundler/master/flipper-ui-and-flipper-and-flipper-active_record-1.2.2 branch from a8d799e to 4fc6065 Compare February 7, 2024 23:29
@@ -0,0 +1,18 @@
# frozen_string_literal: true
Copy link
Contributor

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

Copy link
Contributor

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.

Copy link
Contributor

@ConnorSheremeta ConnorSheremeta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

Copy link
Contributor

@jefferya jefferya left a 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 }
Copy link
Contributor

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?

Copy link
Contributor

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

Prefixes must be specified for BLOB and TEXT key parts

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

@murny murny merged commit af274ed into master Mar 9, 2024
3 checks passed
@murny murny deleted the dependabot/bundler/master/flipper-ui-and-flipper-and-flipper-active_record-1.2.2 branch March 9, 2024 04:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies ruby Pull requests that update Ruby code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants