3b83ba96e4
pr: fix spam
go-generate-check / go-generate-check (push) Successful in 12s
Integration tests / t (push) Failing after 7m46s
2026-03-02 16:55:57 +01:00
18435a8820
pr: unit tests for remote PrjGit changes
...
go-generate-check / go-generate-check (push) Successful in 26s
Integration tests / t (push) Successful in 5m8s
Added unit tests when remote projectgit changes are allowed or
not allowed.
2026-02-27 16:30:30 +01:00
5f646f4520
Disable temporary comment adding in case of lacking permissions
2026-02-27 16:28:21 +01:00
88aa8c32fd
Merge commit 'refs/pull/149/head' of src.opensuse.org:git-workflow/autogits
go-generate-check / go-generate-check (push) Successful in 11s
Integration tests / t (push) Failing after 7m32s
2026-02-27 15:51:34 +01:00
99d27a48ff
Support remote source in pull requests
...
This requires write permission by maintainer there
2026-02-27 15:50:31 +01:00
Andrii Nikitin
7832ef90c0
t: rename Gitea objects to avoid accidental collision with real repos
...
go-generate-check / go-generate-check (pull_request) Successful in 8s
Integration tests / t (pull_request) Successful in 4m38s
Also address potential race condition between requested reviews and sending approvals in TC-MERGE-002
2026-02-27 13:22:26 +01:00
Andrii Nikitin
4691747038
t: add manual merge test and improve robustness
...
go-generate-check / go-generate-check (pull_request) Successful in 26s
Integration tests / t (pull_request) Successful in 4m35s
- Add TC-MERGE-002: new end-to-end test for ManualMergeOnly functionality.
- Implement global object tracking in conftest.py to prevent redundant setup.
- Update test-plan.md to reflect current test implementation and skip statuses.
- Improve review tests robustness by using unique filenames and better assertions.
- Configure SLFO staging-main and manual-merge branches for monitored tests.
- Move flaky NoProjectGitPR tests from xfail to skip.
2026-02-27 02:30:47 +01:00
af2ff0bdd2
common: check for old pending request reviews
...
Timeline events will contain Reviews and ReviewRequests and
ReviewDismissed events. We need to handle this at event parsing
time and not to punt this to the query functions later on.
If the last event is an actual review, we use this.
If no review, check if last event associated with the reviewer
is Dismissed or Requested Review but not if a dismissed Review
preceeds it.
2026-02-27 01:03:26 +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