Skip to content

fix: taos_cleanup#35079

Merged
guanshengliang merged 5 commits intomainfrom
fix/test/taoscleanup
Apr 17, 2026
Merged

fix: taos_cleanup#35079
guanshengliang merged 5 commits intomainfrom
fix/test/taoscleanup

Conversation

@facetosea
Copy link
Copy Markdown
Contributor

Description

Issue(s)

  • Close/close/Fix/fix/Resolve/resolve: Issue Link

Checklist

Please check the items in the checklist if applicable.

  • Is the user manual updated?
  • Are the test cases passed and automated?
  • Is there no significant decrease in test coverage?

@facetosea facetosea requested review from a team, dapan1121 and guanshengliang as code owners April 8, 2026 03:14
Copilot AI review requested due to automatic review settings April 8, 2026 03:14
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a minor change to source/libs/qcom/src/queryUtil.c, specifically adding an unnecessary blank line with trailing whitespace inside a conditional block. The feedback correctly identifies this as a violation of code cleanliness standards and recommends its removal.

Comment thread source/libs/qcom/src/queryUtil.c Outdated
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR appears to be a temporary/test change set that alters the CI test task list and makes a minor formatting-only tweak in query schema validation code.

Changes:

  • Replaces test/ci/cases.task with repeated executions of only three decimal-related pytest cases.
  • Adds an extra blank/whitespace line in tIsValidSchema() in source/libs/qcom/src/queryUtil.c.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 4 comments.

File Description
test/ci/cases.task Collapses the CI task matrix down to repeated runs of a small subset of cases (decimal datatype tests).
source/libs/qcom/src/queryUtil.c Formatting-only change (extra blank/whitespace line) inside schema validation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread test/ci/cases.task Outdated
Comment thread test/ci/cases.task Outdated
Comment thread source/libs/qcom/src/queryUtil.c Outdated
Comment thread test/ci/cases.task Outdated
Copilot AI review requested due to automatic review settings April 10, 2026 12:43
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/libs/scheduler/src/schRemote.c
Comment thread source/libs/scheduler/src/schRemote.c Outdated
Comment thread source/libs/scheduler/src/schRemote.c Outdated
@facetosea facetosea force-pushed the fix/test/taoscleanup branch from 875a29d to 53e2299 Compare April 12, 2026 01:33
@facetosea facetosea changed the title test: tmp fix: taos_cleanup Apr 13, 2026
Copilot AI review requested due to automatic review settings April 13, 2026 02:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread source/libs/qcom/src/queryUtil.c
Comment thread source/client/src/clientMain.c Outdated
return TSDB_CODE_SUCCESS;
}

if (timeoutMs >= 0 && remainingMs-- <= 0) {
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.

这种计时方法不行,一个循环时间几乎是肯定大于1ms的,甚至严重超过1ms

Comment thread source/client/src/clientMain.c Outdated
clientReqRefPool = -1;
taosCloseRef(id);

if (TSDB_CODE_SUCCESS != waitRefSetToBaseCount(clientConnRefPool, "connection", CLIENT_CLEANUP_WAIT_TIMEOUT_MS)) {
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.

不能用多次,那每个10s总和不就20s了

Comment thread source/client/src/clientMain.c Outdated
return;
}

if (TSDB_CODE_SUCCESS != waitRefSetToBaseCount(clientReqRefPool, "request", CLIENT_CLEANUP_WAIT_TIMEOUT_MS)) {
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.

新增request没有被阻止?

Copilot AI review requested due to automatic review settings April 15, 2026 03:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated no new comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

@dapan1121 dapan1121 left a comment

Choose a reason for hiding this comment

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

LGTM

@guanshengliang guanshengliang merged commit 71d1ad3 into main Apr 17, 2026
18 of 20 checks passed
@tomchon tomchon deleted the fix/test/taoscleanup branch April 17, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants