feat: add gitealike Actions CI parity#281
Conversation
|
This change is part of the following stack:
Change managed by git-spice. |
roborev: Combined Review (
|
5055362 to
3d5626d
Compare
cbf8f20 to
cf1b689
Compare
roborev: Combined Review (
|
3d5626d to
3f98a70
Compare
cf1b689 to
e69abde
Compare
roborev: Combined Review (
|
3f98a70 to
a7ccb27
Compare
e69abde to
052215a
Compare
roborev: Combined Review (
|
a7ccb27 to
78cc1a5
Compare
052215a to
be636d0
Compare
roborev: Combined Review (
|
78cc1a5 to
7d35ac6
Compare
be636d0 to
374f982
Compare
roborev: Combined Review (
|
7a06275 to
9f7f982
Compare
9822874 to
cf872cd
Compare
9f7f982 to
da11afc
Compare
cf872cd to
90f417f
Compare
da11afc to
34d9fb2
Compare
90f417f to
0a93fe2
Compare
34d9fb2 to
0411a19
Compare
roborev: Combined Review (
|
0a93fe2 to
374d594
Compare
0411a19 to
404536d
Compare
374d594 to
b930649
Compare
404536d to
daf96a5
Compare
roborev: Combined Review (
|
b930649 to
ae85803
Compare
daf96a5 to
21fd08a
Compare
ae85803 to
5bd524e
Compare
roborev: Combined Review (
|
21fd08a to
5366710
Compare
Merge Forgejo and Gitea Actions workflow runs into provider CI checks without duplicating commit statuses. Gitea Actions are gated to servers with the pinned SDK's 1.26+ workflow run API, leaving older hosts status-only.
Keep action runs with the same title as commit statuses when they point at distinct CI URLs, and normalize unsupported action conclusions without falling back through generic state mapping.
Add full-stack coverage for Gitea Actions CI ingestion so statuses and action runs are normalized, deduplicated by URL, persisted in SQLite, and returned through the pull detail API.
Collapse Forgejo and Gitea action runs by workflow identity before CI aggregation so older failed reruns do not keep a pull request failed after a newer successful run.
Render the locked PR state from the bool-backed API model only for providers whose frontend capability helper reports lock-state support. Add e2e coverage so the detail view consumes IsLocked instead of only carrying the field through the data model.
Use action run numbers and created/updated timestamps when collapsing Gitea-like workflow runs so a queued rerun can supersede an older completed run for the same workflow. This prevents stale failed checks from remaining current after a rerun starts.
Enable the Gitea Actions reader without permanently disabling it from the startup version check. Known older-server version errors now fall back to commit statuses, while transient action/version read errors remain retryable on later syncs.
Wrap Gitea action-run listing with the shared SDK context guard so CI sync observes caller cancellation and context serialization. Carry available action-run timestamps into the shared DTO so run freshness ordering has a timestamp fallback for Gitea runs.
5366710 to
d3a7980
Compare
feat: add gitealike Actions CI parity
Merge Forgejo and Gitea Actions workflow runs into provider CI checks without duplicating commit statuses. Gitea Actions are gated to servers with the pinned SDK's 1.26+ workflow run API, leaving older hosts status-only.
fix: normalize gitealike action checks safely
Keep action runs with the same title as commit statuses when they point at distinct CI URLs, and normalize unsupported action conclusions without falling back through generic state mapping.
test: persist Gitea Actions checks through API sync
Add full-stack coverage for Gitea Actions CI ingestion so statuses and action runs are normalized, deduplicated by URL, persisted in SQLite, and returned through the pull detail API.
fix: keep latest gitealike action workflow run
Collapse Forgejo and Gitea action runs by workflow identity before CI aggregation so older failed reruns do not keep a pull request failed after a newer successful run.
feat: show locked pull request state
Render the locked PR state from the bool-backed API model only for providers whose frontend capability helper reports lock-state support. Add e2e coverage so the detail view consumes IsLocked instead of only carrying the field through the data model.
fix: prefer queued gitealike action reruns
Use action run numbers and created/updated timestamps when collapsing Gitea-like workflow runs so a queued rerun can supersede an older completed run for the same workflow. This prevents stale failed checks from remaining current after a rerun starts.
fix: keep Gitea Actions probe retryable
Enable the Gitea Actions reader without permanently disabling it from the startup version check. Known older-server version errors now fall back to commit statuses, while transient action/version read errors remain retryable on later syncs.