Skip to content

Conversation

svekko
Copy link

@svekko svekko commented Dec 4, 2021

  • Channel *Migration instead of interface on ret channel.
  • Handle creating & closing the ret channel inside runMigrations.
  • Handle provider error using a separate channel.
  • Handle the case when runner exits (in case of an error) before the provider (read, readUp, readDown) has finished its job. Before the provider kept running in the background as there was nothing signalling it to exit.
  • Create versionClean for internal use.

@coveralls
Copy link

coveralls commented Dec 4, 2021

Pull Request Test Coverage Report for Build 2001781023

  • 99 of 144 (68.75%) changed or added relevant lines in 1 file are covered.
  • 4 unchanged lines in 1 file lost coverage.
  • Overall coverage increased (+0.1%) to 57.956%

Changes Missing Coverage Covered Lines Changed/Added Lines %
migrate.go 99 144 68.75%
Files with Coverage Reduction New Missed Lines %
migrate.go 4 73.57%
Totals Coverage Status
Change from base Build 1997075650: 0.1%
Covered Lines: 3737
Relevant Lines: 6448

💛 - Coveralls

* Channel migrations instead of interfaces
* Handle creating & closing the channel inside runMigrations
* Handle reader errors using a separate channel
@svekko svekko force-pushed the refactor_run_migration branch from cf274d6 to 2d259aa Compare December 16, 2021 19:08
@Fontinalis Fontinalis added this to the v4.16.0 milestone Apr 27, 2022
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.

4 participants