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 failed child pipeline no longer shows as a passing check by only21mil · Pull Request #24688 · pingdotgg/t3code

Conversation

@only21mil

@only21mil only21mil commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Problem

A GitLab trigger job without strategy: depend succeeds as soon as it starts its child pipeline. If the child then fails, head_pipeline.status stays success. T3 Code turns that one status into its only GitLab check, so the merge request reads "All checks passed" while the child pipeline is red. This is the false pass in #13431.

Change

The merge request detail makes one more read, the head pipeline's trigger jobs (GET /projects/:id/pipelines/:pipeline_id/bridges?per_page=100). Each trigger job that started a downstream pipeline adds one check named after the job, with the downstream pipeline's status and link. The existing "Pipeline" check is unchanged.

  • The read uses head_pipeline.project_id and head_pipeline.id, so a fork's pipeline is read from the project it ran in.
  • It is best-effort. A failed read or a full page adds no rows, and the detail looks the same as today.
  • A downstream failure on a trigger job with allow_failure: true reads as neutral, like manual, so it does not mark the merge request as failing.
  • A trigger job with no downstream pipeline yet adds no row. [Bug]: GitLab merge requests show the whole pipeline as one check #13431 suggested showing the trigger job's own status there; without per-job checks that status already counts toward the Pipeline check, so this leaves it out.
  • No per-job checks, job pagination or caching. Only the detail and checks reads make the extra call; the permission check before each write and the reviewer reads skip it.
  • It asks for bridges, not trigger_jobs. GitLab 19.2 deprecates the old name but still serves it, and older self-managed installs only know bridges.

With a failed child pipeline the header now reads "1 of 2 failing" while GitLab's own pipeline badge is still green. That is the fix, and it is a check-semantics change.

Scope and approval

Fixes the false pass in #13431, a triaged bug labeled accepted. A maintainer confirmed it there, said the child failure shows only if the trigger row uses downstream_pipeline.status, and called a red header beside GitLab's green badge "the right reading of this issue". They asked for the extra read to stay best-effort inside the detail read, falling back to today's "Pipeline" check.

#13434 built all of #13431, per-job checks included, and was closed as too large, with a request to agree check semantics in an Ideas discussion and propose a much smaller fix. This is that smaller fix: one read, no per-job checks, pagination or caching. No Ideas discussion exists yet, so the semantics above await maintainer review. If you would rather settle them in a discussion first, I'm happy to move it there. Per-job checks and the list row's missing check state are out of scope.

Verification

In packages/source-control-gitlab:

  • vp test run src/server/GitLabPullRequestCli.test.ts src/server/gitLabMergeRequestJson.test.ts: 75 passed. On main 3afb9b366f, 3 fail. The regression test, "shows a failed child pipeline that left the head pipeline green", fails because the detail has only the green "Pipeline" check. The other two cover the fallback and the allow_failure path, which don't exist on main. A fourth test checks that the detail read skips the trigger jobs when the permission check opts out. It passes on main, which never reads them, and fails here if the opt-out stops skipping that read.
  • The provider, rate-limit and legacy CLI test files: 22 passed.
  • Package typecheck, and lint and format on the five changed files: clean.

The focused tests on main, with the regression test's diff.

Focused tests failing on main

The same tests on this branch.

Focused tests passing on this branch

For the web captures, a dev server ran against a stub glab serving one merge request: a green head pipeline and one trigger job whose child pipeline failed. Before, with no trigger job read in the stub's log:

Before: one passing Pipeline check and All checks passed

After, with the bridges read in the stub's log:

After: Pipeline passed, deploy-preview failed, 1 of 2 failing

The desktop app (a Linux dev build), the iOS 26.5 simulator and the Android 16 emulator then opened the same merge request from their pull request lists, against the same stub. Each before capture used main's server and each after capture used this branch's. The app code is the same in both, since only the server changed.

Desktop before: only the Pipeline check, passed, and All checks passed.

Desktop before: only the Pipeline check, passed, and All checks passed

Desktop after: Pipeline passed, deploy-preview failed, 1 of 2 failing.

Desktop after: Pipeline passed, deploy-preview failed, 1 of 2 failing

iOS before: All checks passed, 1 of 1, with only the Pipeline check.

iOS before: All checks passed, 1 of 1

iOS after: 1 check failing; deploy-preview, a downstream pipeline, failed; Pipeline passed.

iOS after: 1 check failing, deploy-preview failed

Android before: All checks passed, 1 of 1, with only the Pipeline check.

Android before: All checks passed, 1 of 1

Android after: 1 check failing; deploy-preview, a downstream pipeline, failed; Pipeline passed.

Android after: 1 check failing, deploy-preview failed

Not checked:

  • A live GitLab instance. The parent-green, child-failed behavior relies on GitLab's documented trigger-job semantics, which the maintainer confirmed in [Bug]: GitLab merge requests show the whole pipeline as one check #13431.
  • trigger_jobs on GitLab 19.2 and newer.

Prior PRs

  • fix(server): show each GitLab pipeline job as a check #13434 by TonybynMp4 built per-job GitLab checks with downstream status and fallbacks. This keeps only its downstream-status part, as the close asked.
  • [Bug]: GitLab merge requests show the whole pipeline as one check #13431 by Ynaugt reported the false pass and named the bridges endpoint.

Production fix, tests, PR description and images by Claude Opus 5.5 in T3 Code Nightly.

🤖 Generated with Claude Opus 5.5 in T3 Code Nightly

Sorry, something went wrong.

Uh oh!

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

All reactions
only21mil and others added 3 commits October 24, 2026 16:49
@only21mil @claude
fix(gitlab): a failed child pipeline no longer shows as a passing check
3008315
A trigger job without `strategy: depend` succeeds as soon as it starts its
downstream pipeline, so the merge request's head pipeline, and its one
"Pipeline" check, stay green when that pipeline fails.

The merge request detail now reads the head pipeline's trigger jobs once,
best-effort, and adds one check per trigger job carrying its downstream
pipeline's status and link. A failed read or a full page adds no rows.

Refs pingdotgg#13431

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@only21mil @claude
fix(gitlab): the permission check before each write skips the trigger…
b995198
… job read

getViewerPermissions read the merge request through the detail read that now also
fetches the head pipeline's trigger jobs, so every write and picker waited on a
second glab api call whose checks it threw away. It now reads the merge request
alone.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@only21mil @claude
refactor(gitlab): the permission read opts out of the trigger job rea…
3109b62
…d on the detail call

Drops the separate getMergeRequestPermissions CLI method. getMergeRequestDetail takes an
optional downstreamChecks flag instead, and getViewerPermissions passes false, so the
provider keeps calling the same CLI method it calls on main and a mock of that service
needs no new member.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Only developers with an assigned seat can use this organization's usage-based review budget, and seats here are assigned manually. Ask an admin to assign a seat, or change the review continuation mode in Billing.

Next included review available in 12 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 24c80f3
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ab04d35c-d543-4746-9c64-62e908458388
Commits

Reviewing files that changed from the base of the PR and between 24c80f3 and 3109b62.

Files selected for processing: 5
  • packages/source-control-gitlab/src/server/GitLabPullRequestCli.test.ts
  • packages/source-control-gitlab/src/server/GitLabPullRequestCli.ts
  • packages/source-control-gitlab/src/server/GitLabPullRequestProvider.ts
  • packages/source-control-gitlab/src/server/gitLabMergeRequestJson.test.ts
  • packages/source-control-gitlab/src/server/gitLabMergeRequestJson.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Comment @coderabbitai help to get the list of available commands.

All reactions

Sorry, something went wrong.

Uh oh!

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

@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:M 30-99 changed lines (additions + deletions). labels Oct 25, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 25, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 3109b62

Macroscope's review found this PR approvable — This is a contained GitLab bug fix that adds downstream-pipeline status to the existing merge-request checks, while preserving the prior result when the optional read fails or is incomplete. The change is isolated to GitLab parsing/provider logic and includes regression and fallback tests.

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.

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 25, 2026
View reviewed changes
@maria-rcks GitCafe Production

maria-rcks commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by gpt-6.1-sol on behalf of Maria

Verified in a real dev environment

result: unverifiable on this vm. no changed application behavior was verified.

inspected the description, discussion, commits and production diff for head 3109b622512b39822b8f9bcccc521eb256f6c1ff. the pr is open and none of its commits are authored by juliusmarminge or t3dotgg. github reports passing checks, which i have not treated as runtime proof.

created a separate github/main worktree at 32ecd71726fee16f335484c1f95cbce126d461f6 and ran vp i successfully. checked out the exact pr head and ran vp i successfully. installed the missing real glab executable, then checked gitlab authentication:

$ glab auth status
gitlab.com: GET https://gitlab.com/api/v4/user: 401 Unauthorized
No token provided

$ glab api user
{"message":"401 Unauthorized"}

prerequisite command transcript

Not verified

there is no configured gitlab authentication or task-owned gitlab project available to create a real merge request with a successful parent pipeline and failed child pipeline. that blocks the original bug reproduction on main and the after comparison through the running app. no dev server or provider turn was started, and no screenshots or recording were captured. no mocks, fixtures or stub glab were used.

the downstream failure row, allowed-failure neutral status, successful/no-child case, best-effort fallback, and merge permission path remain unverified at runtime. native mobile, desktop, macos and windows were not exercised. codex access alone cannot supply the required live gitlab pipeline state.

resuming requires authenticated gitlab access to a project with working ci where these pipeline states can be created. no source changes or pushes were made.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks GitCafe Production

maria-rcks commented Oct 30, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by gpt-6.1-sol on behalf of Maria

Verified in a real dev environment

result: unverifiable. no changed application behavior was verified in this attempt.

read the description, discussion, commits and production diff for head 3109b622512b39822b8f9bcccc521eb256f6c1ff. the pr remains open; none of its three commits are authored by juliusmarminge or t3dotgg. git.cafe reports 28 successful checks, zero failing and zero pending. those checks are not runtime proof.

created the separate github/main worktree at 6fc9144a60c4a5f45089316ddd5f7371bafd3bf2 and installed its dependencies. checked out the exact pr head. installed the real glab executable and checked live gitlab access:

$ glab auth status
gitlab.com: api call failed: GET https://gitlab.com/api/v4/user: 401 Unauthorized
No token provided
$ glab api user
{"message":"401 Unauthorized"}

uploaded command transcript

Not verified

there is no configured gitlab authentication or supplied task-owned gitlab project with runnable ci. the required main reproduction needs a real merge request whose successful parent pipeline started a failed child pipeline. without access to create that state, neither the original false pass nor the pr correction could be exercised. no dev server, browser scenario or codex turn was started. no mocks, fixtures or demo data were used, and no screenshots or recording are claimed.

the downstream failure check, allowed-failure neutral result, successful/no-child case, best-effort fallback and permission-read behavior remain unverified through the running app. native mobile, desktop, macos and windows were not exercised. codex proxy access cannot provide the missing gitlab pipeline state.

no source changes or pushes were made. resuming requires authenticated gitlab access to a task-owned project with working ci.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks
maria-rcks merged commit 4146e51 into pingdotgg:main Oct 31, 2026
28 checks passed

Uh oh!

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

@adampeterhiggins adampeterhiggins mentioned this pull request Oct 31, 2026
chore: sync upstream through 2026-10-31 adampeterhiggins/t3code#520
Merged
@henrychu04 henrychu04 mentioned this pull request Oct 31, 2026
Merge upstream/main 15fe283272 into coder-only henrychu04/t3code-coder#297
Merged
@TonybynMp4 TonybynMp4 mentioned this pull request Nov 1, 2026
fix(gitlab): the checks panel lists each pipeline job #28728
Merged
@tcrapts tcrapts mentioned this pull request Nov 1, 2026
fix(gitlab): wake watchers when the parent pipeline passes #28894
Open
@saphid saphid mentioned this pull request Nov 3, 2026
fix(gitlab): child pipeline checks read from the merge request's own host #29790
Open
incognitojam pushed a commit to incognitojam/styal that referenced this pull request Nov 6, 2026
@only21mil @claude @incognitojam
fix(gitlab): a failed child pipeline no longer shows as a passing che…
fe851cf
…ck (pingdotgg#24688)

Co-authored-by: Claude Opus 5.5 <[email protected]>
(cherry picked from commit 4146e51)
Upstream-PR: 24688
@olafura olafura mentioned this pull request Nov 7, 2026
test(features): ledger upstream T3 Code through 9504a09f08 hal-c2/hal-c2#1189
Merged
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

size:M 30-99 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.

2 participants

@only21mil @maria-rcks
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.