Andrii Nikitin
2b13eb6123
t: add TC-SYNC-007 for target branch synchronization
...
Integration tests / t (pull_request) Failing after 7m51s
Implement integration test test_007_change_target_branch to verify
that changing the target branch of a package PR automatically updates
the corresponding project PR's target branch.
The test is marked as xfail since the functionality is not yet
implemented. Updated integration/test-plan.md accordingly.
2026-02-26 14:21:12 +01:00
5669083388
pr: handle case of nil user in reviews
...
go-generate-check / go-generate-check (push) Successful in 21s
Integration tests / t (push) Successful in 6m29s
This can happen when a review request is assigned automatically via
CODEOWNERS or perhaps the requesting user has account removed.
2026-02-26 13:15:58 +01:00
Andrii Nikitin
cb9131a5dd
t: add init process to all services
...
Integration tests / t (pull_request) Successful in 7m0s
Integration tests / t (push) Failing after 6m58s
Enable init: true for all services in podman-compose.yml to ensure
proper signal handling and zombie process reaping within containers.
2026-02-26 12:17:29 +01:00
582df2555b
Merge branch 'staging-updates'
go-generate-check / go-generate-check (push) Successful in 29s
Integration tests / t (push) Has been cancelled
2026-02-25 14:48:56 +01:00
4179fb4c7b
Merge branch 'new-packages'
...
go-generate-check / go-generate-check (push) Successful in 18s
Integration tests / t (push) Failing after 2m13s
PR: #108
2026-02-25 12:51:32 +01:00
7f6bd4bc32
pr: Always allow maintainer edits in new packages
Integration tests / t (pull_request) Failing after 9m50s
2026-02-25 12:50:26 +01:00
f1b807fbf6
common: replace legacy logger with standard impl
2026-02-25 12:50:26 +01:00
e5441bf489
test: refactor loggin in unit tests
...
Use test logger when running under a test.
2026-02-25 12:50:21 +01:00
8078ca7d4d
pr: small refactor
2026-02-25 12:48:48 +01:00
8721aa2c14
pr: test coverage
2026-02-25 12:48:48 +01:00
18cb2d7135
pr: test coverage
2026-02-25 12:48:48 +01:00
40317bf527
pr: small refactor
2026-02-25 12:48:48 +01:00
dc78b352b3
pr: close associated PR if issue closed.
2026-02-25 12:48:48 +01:00
b8740047c9
common: test fixes after rebase
2026-02-25 12:48:48 +01:00
788028a426
pr: no need to create PR if already exists.
2026-02-25 12:48:48 +01:00
bb86f377b6
pr: Only update issues if they are actually open
2026-02-25 12:48:48 +01:00
b30c393ec0
pr: fix tests
2026-02-25 12:48:48 +01:00
defe379e62
pr: use top 20 commits as base, if available
2026-02-25 12:48:48 +01:00
9f405c2022
common: add test for cloning hashes
2026-02-25 12:48:48 +01:00
75760efbc1
common: add test for directory listing
2026-02-25 12:48:48 +01:00
dd4098cdc6
pr: test updated issue ref
...
If issue is a SHA ref, and then it's updated, we need to make
sure that the branch is also updated.
2026-02-25 12:48:48 +01:00
31299b2d61
pr: move functions around
2026-02-25 12:48:48 +01:00
0915e6c35f
pr: fix tests
2026-02-25 12:48:48 +01:00
85927ad76d
pr: new package handling
2026-02-25 12:48:48 +01:00
711c2d677a
pr: make sure new repos have fork/parent relationship
...
If new target repo is "reparented", it will have correct relationship
here. Otherwise PR creation will fail
2026-02-25 12:48:47 +01:00
92162f7d89
common: more unit tests fixes
...
TZ needs to be defined, otherwise it was assumed to be local which
then resulted in unpredictable commit hashes. We define it to UTC
for unit tests
PR have state "open" not "opened"
2026-02-25 12:48:47 +01:00
ec0eefb868
pr: fix more unit tests
2026-02-25 12:48:47 +01:00
5ae2bd8fd7
pr: merge new package
2026-02-25 12:48:47 +01:00
45f2b55e53
pr: implement first part of issue processing
2026-02-25 12:48:47 +01:00
c83a3a454f
wip: process issues
2026-02-25 12:48:47 +01:00
1cf7dd79b3
Merge branch 'main' of src.opensuse.org:git-workflow/autogits
go-generate-check / go-generate-check (push) Successful in 19s
Integration tests / t (push) Successful in 6m30s
2026-02-25 10:52:38 +01:00
29607f922c
HACK: disable close of pullrequests for now
...
it hit too many ones
2026-02-25 10:50:57 +01:00
Andrii Nikitin
bf8d1196ba
ci: workaround event-publisher unwillingness to retry
Integration tests / t (pull_request) Successful in 6m18s
Integration tests / t (push) Successful in 6m14s
2026-02-24 18:56:03 +01:00
91d22f7eea
staging: add tests for idempotency and label changes
...
go-generate-check / go-generate-check (pull_request) Successful in 33s
We do not want duplicate comments. And if we do have label changes,
new comments should be added.
2026-02-24 18:22:08 +01:00
Andrii Nikitin
0456fc114e
t: allow tracking of integration config files
...
Integration tests / t (pull_request) Successful in 6m21s
Integration tests / t (push) Has been cancelled
Update .gitignore to exempt .conf files within the integration/ directory
from the global *.conf ignore rule. This ensures that essential test
configurations, like rabbitmq.conf, are preserved and shared across
environments, preventing issues where empty directories were
automatically created by Podman-compose.
2026-02-24 17:17:46 +01:00
Andrii Nikitin
ff68cc8200
ci: Add integration test config
2026-02-24 17:17:42 +01:00
913b8c8a4b
staging: Match previous message format
...
go-generate-check / go-generate-check (pull_request) Successful in 28s
Match changes in older message format. That is,
Build is started in https://host/project/show/SUSE:SLFO:2.2:PullRequest:2162 .
Additional QA builds:
https://host/project/show/SUSE:SLFO:2.2:PullRequest:2162:SLES
https://host/project/show/SUSE:SLFO:2.2:PullRequest:2162:SL-Micro
Add unit test to verify this exact format.
2026-02-24 12:23:35 +01:00
e1825dc658
staging: CommentPROnce everywhere
...
go-generate-check / go-generate-check (pull_request) Successful in 32s
This replaces last usage of gitea.AddComment() where we do not
check if the comment already exists.
2026-02-23 19:16:40 +01:00
59965e7b5c
staging: comment once on PRs using timeline
...
We need to comment once on PRs and verify using issue timeline
that only one comment is present
Furthermore, staging and secondary QA links should be present
in a single comment as tooling already expects this format.
2026-02-23 19:05:44 +01:00
24a4a592a7
staging: add PollWorkNotifications coverage
2026-02-23 16:01:47 +01:00
d3d9d66797
staging: add tests on commentOnPackagePR
2026-02-23 15:48:38 +01:00
7a2f7a6ee7
staging: test default projectgit repo
2026-02-23 15:44:45 +01:00
34a3a4795b
staging: increase coverage of PulllRequest processing
2026-02-23 15:39:02 +01:00
bb5daebdfa
staging: return correct error
...
Don't clobber our error before returning it
2026-02-23 15:37:41 +01:00
70bba5e239
staging: improve CreateQASubProject unit coverage
2026-02-23 15:11:30 +01:00
5793391586
staging: add core logic unit tests
2026-02-23 15:05:51 +01:00
d923db3f87
staging: tests for Notification and Review handling
2026-02-23 14:47:51 +01:00
fc4547f9a9
tests: sanitize check
2026-02-23 14:44:17 +01:00
6fa57fc4d4
staging: Fix logic error
...
We need to report only once all building is finished, and not partial
results. Partial results are not yet finalized, so we can only
report that build is still in progress.
Add unit tests to cover these scenarios
2026-02-23 14:33:51 +01:00
82d4e2ed5d
staging: mock interface setup
2026-02-23 14:17:53 +01:00