GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(gitlab): a watch reports a pipeline retry that fails again by royalaid · Pull Request #33671 · pingdotgg/t3code

Conversation

@royalaid

@royalaid royalaid commented Nov 10, 2026

Copy link
Copy Markdown

Stacked on #32319, targeting its branch: a follow-up for the GitLab case reported in #32277 (comment).

Problem

#32319 tells a rerun that failed again apart by the check's name and URL. GitLab reports a merge request's head pipeline as one Pipeline check whose URL is the pipeline's web_url. Retrying failed jobs reruns them inside the same pipeline, so the URL never changes, and a retry that fails between two watch reads still matches the run the watch already told. The watch stays silent.

Seen on a live merge request: three retried jobs failed within 12 seconds, the pipeline went running to failed between two sweeps, and the watch never woke the agent again.

Change

  • PullRequestCheck gains an optional runId for hosts whose check URL survives a rerun.
  • The watch keys failed runs on runId, falling back to the URL as before.
  • GitLab sets runId to the pipeline ID and its finished_at, which moves each time the pipeline finishes again. A running pipeline (no finish time yet) or one without an ID carries none, so it keys on the URL as in fix(server): PR watches report reruns that fail again and failed runs another GitHub event hides #32319.

Watches saved before #32319 have no failedRuns and compare by name on their first read, so landing both together causes no repeat wakes.

Verification

  • apps/server: vp test run src/orchestration-v2/pullRequestWatch.test.ts passes, 24 tests. The new case fails with the run key reverted to the URL alone.
  • packages/source-control-gitlab: gitLabMergeRequestJson.test.ts and GitLabPullRequestCli.test.ts pass, 168 tests. The new case uses finished_at values in the shape a real head_pipeline returns.
  • vp fmt --check is clean on the changed files. Typecheck of contracts, source-control-gitlab and apps/server printed no errors, only suggestions already present in files this change does not touch.

Other hosts that report one check per pipeline (Bitbucket, Azure DevOps, Forgejo) may have the same gap; this change leaves them on the URL.

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@royalaid royalaid mentioned this pull request Nov 10, 2026
fix(server): PR watches report reruns that fail again and failed runs another GitHub event hides #32319
Open
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Nov 10, 2026
macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 10, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 5448caf

Macroscope's review found this PR approvable — GitLab watches can now report a retry that fails again even when its pipeline URL stays unchanged. The change is limited to existing watch notifications, with optional metadata and URL fallback preserving other providers’ behavior.

You can add or adjust custom eligibility rules. Learn more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

This PR conflicts with fix/issue-32277. Rebase it or merge fix/issue-32277 into it. If it still conflicts after 7 days with no activity, it will be closed automatically.

See the conflict window.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. label Nov 13, 2026
@royalaid @claude
fix(gitlab): a watch reports a pipeline retry that fails again
8b2e312
GitLab reports a merge request's head pipeline as one check whose URL is
the pipeline's. Retrying failed jobs reruns them inside that pipeline, so
the URL never changes and the watch's name-plus-URL run key cannot tell
a retry that failed again from the failure it already told.

Checks gain an optional runId for hosts whose check URL survives a
rerun. The watch keys failed runs on runId, falling back to the URL.
GitLab sets it to the pipeline ID and its finish time, which moves each
time the pipeline finishes again.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@royalaid
royalaid force-pushed the fix/gitlab-pipeline-rerun-identity branch from 5448caf to 8b2e312 Compare November 13, 2026 19:12
@github-actions github-actions Bot removed the needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. label Nov 14, 2026
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 16, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
e7b3ffa
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 16, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
53b9070
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 16, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
33f309f
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 17, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
ad6902c
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 17, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
8e0458f
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 18, 2026
@ryush00 @github-actions
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
dcb5003
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
84cc792
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
@ryush00 @github-actions
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
4acbe06
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
fa6c2b0
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 19, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
8df4b2c
…otgg#33671)
@github-actions

github-actions Bot commented Nov 20, 2026

Copy link
Copy Markdown
Contributor

This PR conflicts with fix/issue-32277. Rebase it or merge fix/issue-32277 into it. If it still conflicts after 7 days with no activity, it will be closed automatically.

See the conflict window.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. label Nov 20, 2026
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 20, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
5158ab1
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 20, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
11f93c5
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 20, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
612385c
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 20, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
a674a2d
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
a55e224
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
23e1a16
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
3866415
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 22, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
a1e7f0e
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 23, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
9cc0ce8
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
703938a
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
60907a4
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 24, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
20beba5
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
e87ccd5
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
8fdcf4b
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
158784a
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 25, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
eaac6db
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 26, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
3c3f97b
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 27, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
239290c
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 27, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
ffba9fa
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 28, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
8ec5468
…otgg#33671)
ryush00 added a commit to ryush00/t3code that referenced this pull request Nov 28, 2026
@ryush00
fix(gitlab): a watch reports a pipeline retry that fails again (pingd…
0d1f688
…otgg#33671)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs-rebase Conflicts with its base branch. Closes after 7 days with no activity. size:S 10-29 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@royalaid
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.