Skip to content

refactor: drop db migration patch #5519

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

Merged
merged 4 commits into from
Aug 30, 2022
Merged

refactor: drop db migration patch #5519

merged 4 commits into from
Aug 30, 2022

Conversation

jsjoeio
Copy link
Contributor

@jsjoeio jsjoeio commented Aug 30, 2022

This drops the patch and also the tests (which were flakey and our longest running e2e tests).

  • refactor: remove database migration patch & test
  • chore: refresh patches

Fixes #5482

Drop migration code since it's been 6 months since 4.0.2 and we no
longer need this.

See: #5482 (comment)
@jsjoeio jsjoeio requested a review from a team as a code owner August 30, 2022 15:56
@jsjoeio jsjoeio changed the title jsjoeio/fix states refactor: drop db migration patch Aug 30, 2022
@jsjoeio jsjoeio self-assigned this Aug 30, 2022
@jsjoeio jsjoeio added the chore Related to maintenance or clean up label Aug 30, 2022
@@ -104,6 +104,13 @@ Index: code-server/lib/vscode/src/vs/workbench/services/telemetry/browser/teleme
- sendErrorTelemetry: this.sendErrorTelemetry,
- };
- this.impl = this._register(new BaseTelemetryService(config, configurationService, productService));
-
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@code-asher I refreshed all the patches. Does this look okay to you?

Copy link
Member

@code-asher code-asher Aug 30, 2022

Choose a reason for hiding this comment

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

Looks like the blocks shifted a little, probably due to using a different diff algorithm, but I think it should be fine! Looks like I am using patience (you can see what you have by running git config diff.algorithm in the code-server repo).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Uh...looks like I'm not using one? 😅 Reminds me of when I first started at Coder and Anmol/I were using different algorithms.

image

Okay I will leave as is for now then and merge this!

Copy link
Member

Choose a reason for hiding this comment

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

Ah that probably means it is using the default (myers).

@jsjoeio jsjoeio temporarily deployed to npm August 30, 2022 16:13 Inactive
@github-actions
Copy link

github-actions bot commented Aug 30, 2022

✨ code-server dev build published to npm for PR #5519!

  • Last publish status: success
  • Commit: 1afc8fb

To install in a local project, run:

npm install @coder/code-server-pr@5519

To install globally, run:

npm install -g @coder/code-server-pr@5519

@codecov
Copy link

codecov bot commented Aug 30, 2022

Codecov Report

Merging #5519 (1afc8fb) into main (ef3f4e8) will not change coverage.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #5519   +/-   ##
=======================================
  Coverage   72.44%   72.44%           
=======================================
  Files          30       30           
  Lines        1673     1673           
  Branches      366      366           
=======================================
  Hits         1212     1212           
  Misses        398      398           
  Partials       63       63           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ef3f4e8...1afc8fb. Read the comment docs.

@jsjoeio jsjoeio temporarily deployed to npm August 30, 2022 22:57 Inactive
@repo-ranger repo-ranger bot merged commit f9bfd58 into main Aug 30, 2022
@repo-ranger repo-ranger bot deleted the jsjoeio/fix-states branch August 30, 2022 23:14
jsjoeio added a commit that referenced this pull request Oct 14, 2022
This was supposed to be removed in #5519

Looks like I didn't update the series or actually delete the patch.
jsjoeio added a commit that referenced this pull request Oct 17, 2022
* chore: update Code to 1.72.2

* chore: refresh integration patch

* chore: refresh base-path

* chore: refresh proposed-api patch

* chore: refresh marketplace patch

* chore: refresh webview patch

* chore: refresh disable-builtin patch

* chore: refresh logout, update-check patches

* chor: refresh proxy-uri patch

* fix: delete unique-db patch

This was supposed to be removed in #5519

Looks like I didn't update the series or actually delete the patch.

* fix: drop log-level patch

This was merged upstream!

* chore: refresh local-storage patch

* chore: refresh service-worker patch

* chore: refresh sourcemaps patch

* chore: refresh disable-downloads patch

* chore: refresh telemetry patch

* chore: refresh language patch

* chore: refresh cli-window-open patch

* Revert "fix: delete unique-db patch"

This reverts commit ca0506c.

* fixup!: rm extra spaces integration patch

* fixup: space

* fixup! update unique-db patch

* fixup!: update hash in webview patch

* fixup! update marketplace patch

* fixup!: remove comma
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Related to maintenance or clean up
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Testing]: fix flakey state collisions test
2 participants