Skip to content

build: use makefile flag to control next gen build#60510

Merged
ti-chi-bot[bot] merged 2 commits into
pingcap:feature/ng-tidbfrom
D3Hunter:build-option
Apr 14, 2025
Merged

build: use makefile flag to control next gen build#60510
ti-chi-bot[bot] merged 2 commits into
pingcap:feature/ng-tidbfrom
D3Hunter:build-option

Conversation

@D3Hunter

@D3Hunter D3Hunter commented Apr 11, 2025

Copy link
Copy Markdown
Contributor

What problem does this PR solve?

Issue Number: ref #60418

Problem Summary:

What changed and how does it work?

Check List

Tests

  • Unit test
  • Integration test
  • Manual test (add detailed scripts or steps below)
➜  tidb git:(build-option) ✗ NEXT_GEN=1 make server

➜  tidb git:(build-option) ✗ bin/tidb-server -V
Release Version: v9.0.0-alpha-506-gc7d7a967f4-dirty
Edition: Community
Git Commit Hash: c7d7a967f4833a3989d5c98d37d26c6c6dda7b93
Git Branch: build-option
UTC Build Time: 2025-04-11 09:19:10
GoVersion: go1.23.8
Race Enabled: false
Check Table Before Drop: false
Store: unistore
Cloud Store: true

➜  tidb git:(build-option) ✗ make server

➜  tidb git:(build-option) ✗ bin/tidb-server -V
Release Version: v9.0.0-alpha-506-gc7d7a967f4-dirty
Edition: Community
Git Commit Hash: c7d7a967f4833a3989d5c98d37d26c6c6dda7b93
Git Branch: build-option
UTC Build Time: 2025-04-11 09:21:46
GoVersion: go1.23.8
Race Enabled: false
Check Table Before Drop: false
Store: unistore
  • No need to test
    • I checked and no code files have been changed.

Side effects

  • Performance regression: Consumes more CPU
  • Performance regression: Consumes more Memory
  • Breaking backward compatibility

Documentation

  • Affects user behaviors
  • Contains syntax changes
  • Contains variable changes
  • Contains experimental features
  • Changes MySQL compatibility

Release note

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

None

@ti-chi-bot ti-chi-bot Bot added 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. labels Apr 11, 2025
@D3Hunter D3Hunter changed the base branch from master to feature/ng-tidb April 11, 2025 09:25
@tiprow

tiprow Bot commented Apr 11, 2025

Copy link
Copy Markdown

Hi @D3Hunter. Thanks for your PR.

PRs from untrusted users cannot be marked as trusted with /ok-to-test in this repo meaning untrusted PR authors can never trigger tests themselves. Collaborators can still trigger tests on the PR using /test all.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ti-chi-bot ti-chi-bot Bot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Apr 11, 2025
@D3Hunter

Copy link
Copy Markdown
Contributor Author

/retest

@tiprow

tiprow Bot commented Apr 11, 2025

Copy link
Copy Markdown

@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@codecov

codecov Bot commented Apr 11, 2025

Copy link
Copy Markdown

Codecov Report

Attention: Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Please upload report for BASE (feature/ng-tidb@c7d7a96). Learn more about missing BASE report.

Additional details and impacted files
@@                 Coverage Diff                  @@
##             feature/ng-tidb     #60510   +/-   ##
====================================================
  Coverage                   ?   73.5290%           
====================================================
  Files                      ?       1711           
  Lines                      ?     473123           
  Branches                   ?          0           
====================================================
  Hits                       ?     347883           
  Misses                     ?     103983           
  Partials                   ?      21257           
Flag Coverage Δ
integration 42.9305% <40.0000%> (?)
unit 72.3725% <40.0000%> (?)

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

Components Coverage Δ
dumpling 52.6910% <0.0000%> (?)
parser ∅ <0.0000%> (?)
br 47.2284% <0.0000%> (?)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@purelind

Copy link
Copy Markdown
Contributor

/retest

@tiprow

tiprow Bot commented Apr 11, 2025

Copy link
Copy Markdown

@purelind: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Benjamin2037 Benjamin2037 left a comment

Copy link
Copy Markdown
Collaborator

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 approved needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Apr 14, 2025
Comment thread pkg/util/printer/printer.go Outdated
enterpriseVersion,
)
if config.IsCloudStore() {
info += "\nNext Generation"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

the output is a bit different with other line as the format {name}: {value}

Next Generation: {some API version}

is better?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

maybe Cloud Store: true?

i will check with PM when merge to master later

@lance6716

Copy link
Copy Markdown
Contributor

/lgtm
/hold

free to unhold

@ti-chi-bot ti-chi-bot Bot added do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Apr 14, 2025
@ti-chi-bot

ti-chi-bot Bot commented Apr 14, 2025

Copy link
Copy Markdown

[LGTM Timeline notifier]

Timeline:

  • 2025-04-14 03:49:49.755570626 +0000 UTC m=+2660283.439806735: ☑️ agreed by Benjamin2037.
  • 2025-04-14 04:31:50.100374548 +0000 UTC m=+2662803.784610641: ☑️ agreed by lance6716.

@ti-chi-bot

ti-chi-bot Bot commented Apr 14, 2025

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Benjamin2037, lance6716

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

The pull request process is described here

Details Needs approval from an approver in each of these files:
  • OWNERS [Benjamin2037,lance6716]

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

Comment thread pkg/util/printer/printer.go Outdated
@D3Hunter

Copy link
Copy Markdown
Contributor Author

/unhold

@ti-chi-bot ti-chi-bot Bot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Apr 14, 2025
@D3Hunter

Copy link
Copy Markdown
Contributor Author

/retest

@tiprow

tiprow Bot commented Apr 14, 2025

Copy link
Copy Markdown

@D3Hunter: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@ti-chi-bot ti-chi-bot Bot merged commit 9a688e1 into pingcap:feature/ng-tidb Apr 14, 2025
@D3Hunter D3Hunter deleted the build-option branch April 14, 2025 06:26
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/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants