Repository navigation
feat(dispatch): extend NormalizedEvent v1 schema for GitLab support - #3191
Conversation
PR Summary by QodoExtend NormalizedEvent v1 schema for GitLab support
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
🤖 Finished Review · ❌ Failure · Started 11:52 PM UTC · Completed 12:05 AM UTC |
Site previewPreview: https://b62f4681-site.fullsend-ai.workers.dev Commit: |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Code Review by Qodo
1.
|
ReviewDelta since prior review (be6852a): The No Go code, harness YAML, or workflow consumers of the FindingsLow
Previous runReviewThis PR implements Phase 0 schema preparation from the GitLab cron-polling implementation plan, authorized by ADR 0067. The three schema changes (enum additions for Delta since prior review (9abd1e1): The The new GitLab example fixtures ( No Go code, harness YAML, or workflow consumers of the FindingsLow
Labels: PR modifies the NormalizedEvent dispatch schema and normative documentation for GitLab support. Previous run (2)ReviewFindingsLow
Previous run (3)ReviewFindingsMedium
Low
Previous run (4)ReviewFindingsMedium
Low
Previous run (5)ReviewFindingsHigh
Medium
Low
Previous run (6)ReviewFindingsLow
Labels: PR modifies the NormalizedEvent dispatch schema and normative documentation for GitLab support. Previous run (7)ReviewFindingsMedium
Low
Previous runReviewFindingsMedium
Low
Previous run (8)ReviewFindingsHigh
Medium
Low
Previous run (9)ReviewFindingsMedium
Low
Previous run (10)ReviewFindingsMedium
Low
Previous run (11)ReviewFindingsHigh
Medium
Low
|
ifireball
left a comment
There was a problem hiding this comment.
Approved. But please fix the little nits Qodo found
ace0f62 to
9f39104
Compare
|
🤖 Finished Review · ❌ Failure · Started 11:25 AM UTC · Completed 11:42 AM UTC |
9f39104 to
c54e72c
Compare
|
🤖 Finished Review · ❌ Failure · Started 11:46 AM UTC · Completed 12:02 PM UTC |
c54e72c to
9abd1e1
Compare
|
🤖 Finished Review · ✅ Success · Started 12:05 PM UTC · Completed 12:23 PM UTC |
9abd1e1 to
be6852a
Compare
|
🤖 Finished Review · ✅ Success · Started 12:29 PM UTC · Completed 12:44 PM UTC |
Add "gitlab" to source.system enum, "merged" to transition.kind enum, and relax repo_path pattern to allow GitLab nested group paths (org/sub1/sub2/project). All three are non-breaking v1 changes per the schema versioning policy. Update schema descriptions and README to include gitlab as a normative v1 source system. Add gitlab-poll to the Adapters table, merged to the transition kind vocabulary, and GitLab event projection guidance. Add cross-reference annotation to ADR 0061. Replace the illustrative "Future forges" section with normative "GitLab adapter notes". Add gitlab-mr-opened, gitlab-mr-merged, and invalid-path-traversal example fixtures. Document adapter-level path traversal rejection for repo_path. Mark Phase 0 schema changes as completed in the implementation plan. Part of GitLab cron-polling implementation (ADR 0067), Phase 0. Closes fullsend-ai#3309. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Greg Allen <gallen@redhat.com>
be6852a to
64e6f2e
Compare
|
🤖 Finished Review · ✅ Success · Started 12:49 PM UTC · Completed 1:09 PM UTC |
|
🤖 Finished Retro · ✅ Success · Started 1:24 PM UTC · Completed 1:36 PM UTC |
Retro: PR #3191 — feat(dispatch): extend NormalizedEvent v1 schema for GitLab supportWorkflow summary: This was a human-authored PR by @ggallen that extended the NormalizedEvent v1 schema to support GitLab as a normative source system (7 files, +136/-34 lines, all under Review agent quality was high. The agent correctly identified and prioritized cross-file consistency issues: stale README scope sections contradicting the schema, missing adapter table entries, and missing example fixtures. It drove the author to create tracking issue #3309, add a path-traversal test fixture, and update the implementation plan. All findings were actionable with zero false positives. The main inefficiency was 6 review iterations for a 7-file docs PR. Three of the six runs found new medium-severity issues that were arguably discoverable on the first pass (missing adapters table row, missing example fixtures, stale implementation plan status). The review agent found them incrementally across runs 1-4 rather than comprehensively in run 1. Existing issues cover most identified patterns:
Autonomy readiness: The review agent outperformed the human reviewer on this documentation PR. The human approved without catching any of the 2 high + 2 medium severity findings. The review agent correctly blocked merge until all medium+ issues were resolved. For docs-only PRs that don't modify code, workflows, or security-sensitive files, the review agent could be granted higher autonomy (e.g., auto-merge on approval for docs-only PRs from trusted authors). Proposals filed
|
Summary
Extend the NormalizedEvent v1 schema to support GitLab as a normative source system, implementing Phase 0 of the GitLab cron-polling implementation plan.
Related Issue
Closes #3309
Changes
gitlabtosource.systemenum (non-breaking v1 change)mergedtotransition.kindenum (non-breaking v1 change)repo_pathpattern for GitLab nested group paths (non-breaking relaxation)gitlab-pollto the Adapters tablemergedto transition kind vocabularygitlab-mr-opened.jsonandgitlab-mr-merged.jsonexample fixturesinvalid-path-traversal.jsoncontract test fixturerepo_pathTesting
Checklist