feat(#6077): split GitLab poller into independent slash and event schedules - #6078
Conversation
|
🤖 Finished Review · ✅ Success · Started 2:04 AM UTC · Completed 2:22 AM UTC Commit: |
|
Looks good to me Previous runReviewFindingsLow
Previous run (2)ReviewFindingsLow
Labels: PR modifies Go code across the polling subsystem, install-time schedule setup, and forge interfaces. Previous run (3)ReviewFindingsLow
Previous run (4)ReviewFindingsLow
Previous run (5)ReviewFindingsLow
Previous run (6)ReviewFindingsMedium
Low
Previous run (7)ReviewFindingsLow
Previous run (8)ReviewFindingsMedium
Low
Labels: PR modifies GitLab polling subsystem and install-time schedule setup Next steps:
Previous run (9)ReviewFindingsHigh
Medium
Low
Next steps:
|
37b6a53 to
b3f5e6e
Compare
|
🤖 Review · Commit: |
Site previewPreview: https://85e12572-site.fullsend-ai.workers.dev Commit: |
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
b3f5e6e to
a5bb3a5
Compare
|
🤖 Finished Review · ✅ Success · Started 2:40 AM UTC · Completed 3:00 AM UTC Commit: |
a5bb3a5 to
871483e
Compare
|
🤖 Finished Review · ✅ Success · Started 3:09 AM UTC · Completed 3:26 AM UTC Commit: |
Superseded by updated review
871483e to
a3b6268
Compare
|
🤖 Finished Review · ✅ Success · Started 11:20 AM UTC · Completed 11:37 AM UTC Commit: |
a3b6268 to
6724c05
Compare
|
🤖 Finished Retro · ✅ Success · Started 1:03 AM UTC · Completed 1:17 AM UTC Commit: |
Retro: PR #6078 — Split GitLab poller into independent slash and event schedulesTimeline
What went well
Evidence for existing open issues
Proposals filed
|
Summary
Split the GitLab poller from a single auto-promoting schedule into two independent schedules with separate resource groups, fixing both the kill-on-overlap problem and the slash-command latency coupling. Also restores the
---YAML document separator afterspec:inputsin both scaffold templates, fixing the zero-jobs pipeline failure on GitLab 18.11.6-ee caused by commit04e0e929d.Changes
internal/cli/poll.go— Add--mode slash|eventsflag (also readsFULLSEND_POLL_MODEenv var)internal/poll/poll.go— ReplaceshouldFullPollauto-promote logic with explicit mode selection; removeFullPollIntervalanddefaultFullPollIntervalinternal/poll/events.go— Skip/fs-*notes indiscoverAllEventswhen mode is"events"internal/poll/types.go— ReplaceFullPollInterval time.DurationwithMode stringin Optionsinternal/cli/repos_gitlab.go—setupGitLabPipelineSchedulesnow creates two schedules withFULLSEND_POLL_MODEvariablesinternal/forge/forge.go— AddVariablesfield toPipelineSchedulestructinternal/forge/fake.go— Record schedule variables inFakeClientfor test assertionsfullsend-poll.yml— Restorespec:inputs+---separator; dynamic resource groupfullsend-poll-${FULLSEND_POLL_MODE}; per-mode process_mode; pass--modeto CLIfullsend-agent.yml— Restore---separator afterspec:inputs(bug fix)Testing
TestDiscoverAllEvents_EventsModeSkipsSlashCommands,TestDiscoverAllEvents_DefaultModeKeepsSlashCommands)TestRunSlashMode,TestRunEventsMode,TestRunDefaultModeIsEvents)shouldFullPolltestsgo vetclean on all affected packagesCloses #6077
Post-script verification
agent/6077-split-gitlab-poller)277a2a81a1d69ffc682b61abad39957f8dc13f77..HEAD)