Skip to content

Conversation

lxfeng1997
Copy link
Contributor

What this PR does:

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:


Aster Zephyr and others added 6 commits June 8, 2025 21:13
…nsert on duplicate apache#704 (apache#725)

* bugfix apache#704

* bugfix apache#704

* bugfix704-2

* bugfix-test-2

* bugfix-test-2

* pr725 bugfix

---------

Co-authored-by: JayLiu <[email protected]>
Co-authored-by: FengZhang <[email protected]>
…nadh (apache#772)

* fix: Solve the conflict problem of introducing multiple versions of knadh

* fix: fix ci fail

---------

Co-authored-by: JayLiu <[email protected]>
Co-authored-by: FengZhang <[email protected]>
…uest. (apache#764)

* feat: add unit test workflow

* feat:the ability to automatically run unit tests after creating a pull request.

* feat:the ability to automatically run unit tests after creating a pull request.

* feat:the ability to automatically run unit tests after creating a pull request.

* feat:the ability to automatically run unit tests after creating a pull request.

* feat:the ability to automatically run unit tests after creating a pull request.

* feat:the ability to automatically run unit tests after creating a pull request.

* Optimize/at build lock key performance  (apache#837)

* Refer to buildlockkey2 optimization apache#829

* Time complexity O(NM)-> O(NK) about buildlockkey and buildlockkey2  Increased readability  apache#829

* update import sort apache#829

* update Encapsulation into util packages apache#829

* Support Update join (apache#761)

* duplicate image row for update join

* update join condition placeholder param error

* update join bugfix

* Open test annotations

* recover update executor

* recover update test

* recover update test

* modified version param

---------

Co-authored-by: JayLiu <[email protected]>
Co-authored-by: FengZhang <[email protected]>

---------

Co-authored-by: jimin <[email protected]>
Co-authored-by: JayLiu <[email protected]>
Co-authored-by: FengZhang <[email protected]>
Co-authored-by: Wiggins <[email protected]>
Co-authored-by: lxfeng1997 <[email protected]>
# Conflicts:
#	.github/workflows/build.yml
#	go.mod
#	pkg/datasource/sql/exec/at/base_executor_test.go
#	pkg/datasource/sql/util/lockkey.go
@github-actions github-actions bot added bug Something isn't working ci/cd module/at coding and removed bug Something isn't working module/at labels Sep 14, 2025
@lxfeng1997 lxfeng1997 added bug Something isn't working module/at labels Sep 14, 2025
@codecov-commenter
Copy link

codecov-commenter commented Sep 14, 2025

Codecov Report

❌ Patch coverage is 71.90083% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 38.32%. Comparing base (f6da25c) to head (2311e45).

Files with missing lines Patch % Lines
...mysql_insertonduplicate_update_undo_log_builder.go 74.35% 23 Missing and 7 partials ⚠️
pkg/datasource/sql/types/image.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #884      +/-   ##
==========================================
+ Coverage   38.17%   38.32%   +0.14%     
==========================================
  Files         188      188              
  Lines       11417    11476      +59     
==========================================
+ Hits         4359     4398      +39     
- Misses       6628     6647      +19     
- Partials      430      431       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

echo "✅ Unit tests completed successfully"

- name: "Archive test results"
uses: actions/upload-artifact@v3
Copy link
Contributor

Choose a reason for hiding this comment

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

In v4, Artifacts are immutable (unless deleted). So you must change each of the uploaded Artifacts to have a different name and filter the downloads by name to achieve the same effect:

jobs:
  upload:
    strategy:
      matrix:
        runs-on: [ubuntu-latest, macos-latest, windows-latest]
    runs-on: ${{ matrix.runs-on }}
    steps:
    - name: Create a File
      run: echo "hello from ${{ matrix.runs-on }}" > file-${{ matrix.runs-on }}.txt
    - name: Upload Artifact
-     uses: actions/upload-artifact@v3
+    uses: actions/upload-artifact@v4
      with:
-       name: my-artifact
+       name: my-artifact-${{ matrix.runs-on }}
        path: file-${{ matrix.runs-on }}.txt

Refer to the corresponding GitHub actions document (as above), the CI step related to upload-artifact needs to be modified, including version upgrades and some parameter changes.

Reference document: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md

Copy link
Contributor Author

Choose a reason for hiding this comment

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

like this ?
`

  • name: "Archive test results"
    uses: actions/upload-artifact@v4
    with:
    name: test-results
    path: coverage.txt
    retention-days: 7
    overwrite: true
    `

@lxfeng1997 lxfeng1997 self-assigned this Sep 19, 2025
strategy:
matrix:
golang:
- 1.18
Copy link
Contributor

Choose a reason for hiding this comment

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

The issue encountered in unit test CI:

../../../go/pkg/mod/go.uber.org/[email protected]/error.go:224:20: undefined: atomic.Bool

This problem may be resolved by upgrading the Go version to 1.20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ci/cd coding module/at
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants