Skip to content

docs(factories): document GitLab integration - #549

Merged
hongyi-chen merged 13 commits into
hyc/factory-launchfrom
hyc/factories-integration-gitlab
Aug 18, 2026
Merged

docs(factories): document GitLab integration#549
hongyi-chen merged 13 commits into
hyc/factory-launchfrom
hyc/factories-integration-gitlab

Conversation

@hongyi-chen

Copy link
Copy Markdown
Collaborator

Documents the GitLab integration for Warp Factories, stacked into the factory-launch branch alongside the Slack (#525), Jira (#528), GitHub (#526), and Linear (#527) integration pages.

What's here

  • New page src/content/docs/factories/integrations/gitlab.mdx:
    • Access model — the workspace manager service account on a connected top-level group, plus a per-factory bot account (<alias>-warp-<id>) with Developer access to only the factory's selected projects.
    • Connect flow — code-host selection, the "Connect a GitLab group" step (Owner-only, one group per workspace, group webhook install), and repo selection including subgroups.
    • Triggersmerge_request (Project / Actions / Base branch filters) and bot_mentioned (Project filter; mentioned is server-seeded and read-only), plus the seeded gitlab-bot-mentions default automation.
    • Mentions — each factory has its own bot handle, so no shared @oz-agent handle or routing label; edits and Warp's own service-account activity never trigger.
    • Run behavior — replies in-thread with session/work-item links, factory/<slug> branches, draft MRs, factory:<alias> labels, note + inline-discussion reviews, thread resolution; never merges or approves.
    • Permissions, definitions-as-code trigger syntax, and troubleshooting (including the plan-without-group-webhooks state).
  • Adds GitLab to the Factories sidebar Integrations group (after GitHub).

Verification

  • npm run build passes (378 pages).
  • style_lint --changed reports no issues for the new page.

Unverified claims

  • GitLab Premium/Ultimate as the plan floor for service accounts and group webhooks (Prerequisites): matches the server's GitLabWebhookStatusUnsupported warning and GitLab's published feature tiers, but not verified against a live GitLab plan matrix.
  • All other UI labels, trigger names, filters, bot behavior, and defaults were verified against warp-server (logic/codeforge/gitlab, model/types/triggers, logic/factorysource/defaults, client/packages/factory).

Replace nothing (new page): add factories/integrations/gitlab covering the
service-account access model, group connect flow, merge_request and
bot_mentioned triggers with their filters, bot mentions, run behavior on
GitLab, permissions, definitions-as-code triggers, and troubleshooting.
Add the page to the Factories sidebar Integrations group.

Co-Authored-By: Warp <agent@warp.dev>
@warp-factories

Copy link
Copy Markdown
Contributor

Your GitHub account is not connected to Warp. Connect it here.

@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Aug 18, 2026 1:00am

Request Review

Copy link
Copy Markdown
Collaborator Author

This PR was generated with Warp.

Comment @warp-agent on this PR to send it follow-up work.

View run View conversation

@warp-agent-staging

Copy link
Copy Markdown
Contributor

Your Warp account is not a member of any team with access to this repository.

@hongyi-chen
hongyi-chen marked this pull request as ready for review August 17, 2026 18:36
@oz-for-oss

oz-for-oss Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

@hongyi-chen

I'm starting a first review of this pull request.

You can follow along in the session on Warp.

I completed the review and no human review was requested for this pull request.

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

@oz-for-oss oz-for-oss Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overview

This PR adds a new Factories GitLab integration page and registers it in the Factories integrations sidebar. The page covers prerequisites, access model, setup flow, triggers, permissions, definitions-as-code syntax, and troubleshooting, and the linked standalone GitLab token setup page exists in the docs tree.

Concerns

  • No blocking concerns found in the annotated diff.
  • Security pass: no code or configuration changes introduce a security-sensitive runtime path, and the page documents the non-Warp-member trigger behavior and permission boundaries.
  • Spec alignment: spec_context.md contains no approved or repository spec context for this PR.

Verdict

Found: 0 critical, 0 important, 0 suggestions

Approve

Comment /oz-review on this pull request to retrigger a review (up to 3 times on the same pull request).

Powered by Oz

Tighten compound sentences, drop em dashes from instructional text, use
the gitlab-bot-mentions automation name consistently, rename the access
section to 'Service accounts and access', and sharpen troubleshooting
symptoms.

Co-Authored-By: Warp <agent@warp.dev>
Top-to-bottom pass for brevity, directness, and clarity, mirroring the
fixes from the GitHub integration doc review (PR 526):

- Rewrite the intro sentence to remove the indirect 'so' framing.
- Tighten the prerequisites and service-account bullets, merging
  redundant sentences and dropping the restated one-to-one clause.
- Remove unclear colons (bot identity bullet, Actions filter cell).
- Fix the setup step to name the actual web app, URL, and UI element
  (+ next to Factories) that opens the setup wizard, matching
  quickstart.mdx's and github.mdx's established terminology.
- Link 'control room' to its doc page on both mentions.
- Split the overloaded Automations/Triggers step into three steps.
- Match github.mdx's phrasing for 'choose the projects to provide...'
  and the 'continues that work item instead of starting a new one'
  pattern.
- Widen the Supported triggers table's first column (same colgroup
  fix as github.mdx) so 'Merge request' and 'Bot mentioned' don't
  wrap.
- Rewrite the Permissions bullet to match github.mdx's direct
  three-sentence structure instead o  three-sentence structure instead o  three-sentence inks to absolute paths (../factory-as-code,
  ../connect-your-factory) matching the convention used elsewhere in
  factories/ docs.
- Trim the 'Nothing starts work' troubleshooting entry, which
  dupli  dupli  dupli  dupli  dupli  dupli  dupli  dupli  dupli  dupli  dink back to it instead of restating it.

Co-Authored-By: Warp <agent@warp.dev>
Resolves the sidebar.ts conflict from #556 (sidebar naming/grouping
consistency pass), which flattened the factories Integrations group
after this branch had nested a sub-group under it. Adopts the
flattened structure and keeps the GitLab entry inserted right after
GitHub.
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
Break the setup-wizard step into two: opening the wizard, then
choosing the GitLab repo source and authorizing. Matches the
one-action-per-step pattern applied to the rest of the procedure.

Co-Authored-By: Warp <agent@warp.dev>
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
Comment thread src/content/docs/factories/integrations/gitlab.mdx Outdated
- Make 'Warp Factories web app' itself the hyperlink instead of
  spelling out the URL text separately.
- Fix 'shown read-only' to 'shown as read-only'; keep Bot mentioned
  bolded since it names a defined trigger, consistent with how
  Merge request is bolded elsewhere on the page.
- Add an explicit lead-in sentence before the mention-the-factory
  steps per suggestion.
- Remove the remaining two semicolons and tighten both sentences for
  brevity.

Co-Authored-By: Warp <agent@warp.dev>
@hongyi-chen
hongyi-chen merged commit 4aeb6ac into hyc/factory-launch Aug 18, 2026
4 checks passed
@hongyi-chen
hongyi-chen deleted the hyc/factories-integration-gitlab branch August 18, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants