Skip to content

fix(gitlab): discover workflow models in v2 - #50623

Open
LeoParkerOu wants to merge 1 commit into
anomalyco:devfrom
LeoParkerOu:codex/fix-50421-gitlab-workflow-models
Open

LeoParkerOu wants to merge 1 commit into
anomalyco:devfrom
LeoParkerOu:codex/fix-50421-gitlab-workflow-models

Conversation

@LeoParkerOu

Copy link
Copy Markdown

Issue for this PR

Closes #50421

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The v2 GitLab provider did not discover GitLab workflow models, so available workflow models were missing from the model picker.

This adds workflow model discovery during the GitLab catalog transform. It uses the configured GitLab credentials and instance URL, passes the current working directory to the GitLab provider, registers newly discovered models with their workflow references, and keeps existing catalog models unchanged.

How did you verify your code works?

  • Prettier checks passed for the changed source and test files.
  • tsgo --noEmit passed for the core package.
  • Added regression coverage for discovered model metadata, workflow references, authentication headers, instance URL, and working directory.
  • The focused Bun test currently stops during the repository's existing provider module initialization cycle with Cannot access 'GitLabPlugin' before initialization; the same failure occurs against the unmodified dev baseline.

Screenshots / recordings

Not applicable.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR that is not the current PR:

Related PR:

Why it's related: This PR also addresses GitLab workflow discovery (which is the issue closed by PR #50623). It may be working on the same or overlapping functionality. You should verify if these PRs are complementary or if one supersedes the other.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GitLab workflow models are not discovered in v2

1 participant