-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Fix bug hidden on CI and make ci failed if tests failure #29254
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
Changes from all commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
1aa2f9b
Fix bug hidden on CI and make ci failed if tests failure
lunny 8656c09
Fix typo
lunny dbe5b5b
Fix tests
lunny d0f9b13
Fix v186 migration
lunny fd60372
Merge branch 'main' into lunny/fix_tests
lunny 5dacf3a
Fix migration bug
lunny 818816c
Merge branch 'main' into lunny/fix_tests
lunny c60197c
try remove fastfail to test if it will fail when some test fail
lunny 6d9c74f
Add a new test
lunny cecbdce
Merge branch 'main' into lunny/fix_tests
lunny 3199ad9
improve go test
lunny aa36ed0
Fix migration bug
lunny d1bd520
Fix migration bug
lunny 328c8a9
Fix migration test
lunny a5c2dbf
Fix migration test
lunny 2410d36
Merge branch 'main' into lunny/fix_tests
lunny da40440
Fix test bug
lunny 59417f9
Fix test
lunny 6c763b1
Fix test
lunny 0c1f5b3
Fix test
lunny 56d468b
Fix test
lunny 8847448
Fix test
lunny 59e219a
Merge branch 'main' into lunny/fix_tests
lunny 9c4f0b8
Fix test Test_AddIssueResourceIndexTable
lunny 3038fa6
Fix migration test
lunny 10e2f10
Fix v283
lunny c100a21
Merge branch 'main' into lunny/fix_tests
lunny d210d68
Fix migration test
lunny 24b7eb5
Fix mssql migration test
lunny a8623d2
Fix mssql migration test
lunny 0e5ae0e
Fix test
lunny 5f635e6
pgsql migration test parallel becomes 1
lunny 7d6f862
Fix test
lunny 9b4eb32
Fix test
lunny 49ff8a1
Fix test
lunny File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
models/migrations/fixtures/Test_AddIssueResourceIndexTable/issue.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- | ||
id: 1 | ||
repo_id: 1 | ||
index: 1 |
11 changes: 11 additions & 0 deletions
11
models/migrations/fixtures/Test_AddRepoIDForAttachment/attachment.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
- | ||
id: 1 | ||
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a11 | ||
issue_id: 1 | ||
release_id: 0 | ||
|
||
- | ||
id: 2 | ||
uuid: a0eebc99-9c0b-4ef8-bb6d-6bb9bd380a12 | ||
issue_id: 0 | ||
release_id: 1 |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_AddRepoIDForAttachment/issue.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
repo_id: 1 |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_AddRepoIDForAttachment/release.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
repo_id: 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
commit_sha: 19fe5caf872476db265596eaac1dc35ad1c6422d |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_RepositoryFormat/commit_status.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
context_hash: 19fe5caf872476db265596eaac1dc35ad1c6422d |
5 changes: 5 additions & 0 deletions
5
models/migrations/fixtures/Test_RepositoryFormat/pull_request.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
- | ||
id: 1 | ||
commit_sha: 19fe5caf872476db265596eaac1dc35ad1c6422d | ||
merge_base: 19fe5caf872476db265596eaac1dc35ad1c6422d | ||
merged_commit_id: 19fe5caf872476db265596eaac1dc35ad1c6422d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
sha1: 19fe5caf872476db265596eaac1dc35ad1c6422d |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_RepositoryFormat/repo_archiver.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
commit_id: 19fe5caf872476db265596eaac1dc35ad1c6422d |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_RepositoryFormat/repo_indexer_status.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
commit_sha: 19fe5caf872476db265596eaac1dc35ad1c6422d |
3 changes: 3 additions & 0 deletions
3
models/migrations/fixtures/Test_RepositoryFormat/review_state.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- | ||
id: 1 | ||
commit_sha: 19fe5caf872476db265596eaac1dc35ad1c6422d |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
- | ||
id: 1 | ||
description: the badge | ||
image_url: https://gitea.com/myimage.png |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make
will execute this shell command every time it's invoked so every call tomake
will run thisgo list
and be delayed by 100ms+, even if it does not useMIGRATE_TEST_PACKAGES
variable.Ideally we should move all such calls into
eval
statements in each target to avoid slowing down allmake
operations, at the cost of some duplication. There are examples of theeval
method throughout the Makefile.Same problem is true for above variables as well, so I guess I won't block it because it's consistent at least.