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

types,*: remove the dependency stmtctx from types package. #48108

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

YangKeao
Copy link
Member

What problem does this PR solve?

Issue Number: close #48080

Problem Summary:

This PR removes the dependency stmtctx from types packages.

What is changed and how it works?

  1. The stmtctx dependency is removed from types package.
  2. The types/context has been merged with types. The existing alias is removed.

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
  • No need to test
    • I checked and no code files have been changed.

Like other refractor, this PR is covered by existing tests.

Release note

Please refer to Release Notes Language Style Guide to write a quality release note.

None

@YangKeao YangKeao added the release-note-none Denotes a PR that doesn't merit a release note. label Oct 30, 2023
@ti-chi-bot ti-chi-bot bot added the size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. label Oct 30, 2023
@codecov
Copy link

codecov bot commented Oct 30, 2023

Codecov Report

Merging #48108 (14f1e6e) into master (5503eb5) will increase coverage by 1.8953%.
Report is 34 commits behind head on master.
The diff coverage is 94.6488%.

Additional details and impacted files
@@               Coverage Diff                @@
##             master     #48108        +/-   ##
================================================
+ Coverage   71.5679%   73.4632%   +1.8953%     
================================================
  Files          1401       1425        +24     
  Lines        405936     418190     +12254     
================================================
+ Hits         290520     307216     +16696     
+ Misses        95598      92117      -3481     
+ Partials      19818      18857       -961     
Flag Coverage Δ
integration 43.1922% <86.2416%> (?)
unit 72.2789% <92.3076%> (+0.7109%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
dumpling 55.5260% <ø> (+1.4757%) ⬆️
parser ∅ <ø> (∅)
br 49.4795% <ø> (-3.4043%) ⬇️

Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
Signed-off-by: Yang Keao <yangkeao@chunibyo.icu>
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Oct 31, 2023
Copy link
Contributor

@zimulala zimulala left a comment

Choose a reason for hiding this comment

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

LGTM

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Oct 31, 2023
@ti-chi-bot
Copy link

ti-chi-bot bot commented Oct 31, 2023

[LGTM Timeline notifier]

Timeline:

  • 2023-10-31 02:55:34.837759937 +0000 UTC m=+2921732.424870071: ☑️ agreed by hawkingrei.
  • 2023-10-31 03:23:37.293549402 +0000 UTC m=+2923414.880659532: ☑️ agreed by zimulala.

Copy link
Contributor

@windtalker windtalker 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

ti-chi-bot bot commented Nov 1, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hawkingrei, lcwangchao, windtalker, zimulala

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Nov 1, 2023
@YangKeao
Copy link
Member Author

YangKeao commented Nov 1, 2023

/retest

@YangKeao
Copy link
Member Author

YangKeao commented Nov 1, 2023

The deadlock is not related with current PR. I've recorded them in an issue: #48178

/retest

@YangKeao
Copy link
Member Author

YangKeao commented Nov 1, 2023

/retest

@ti-chi-bot ti-chi-bot bot merged commit 8301e4e into pingcap:master Nov 1, 2023
15 of 16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved lgtm release-note-none Denotes a PR that doesn't merit a release note. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove stmtctx from types package
5 participants