{{ message }}
Repository navigation
Conversation
Newer GitLab versions return an archived field for labels, which made every run report existing labels as updated. Assisted-by: Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
russoz
marked this pull request as draft
October 18, 2026 00:15
Assisted-by: Claude Opus 5.5 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
As far as I can tell this is OK for a hot-fix, but eventually it would be better if |
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

SUMMARY
Newer GitLab versions return an
archivedfield for labels.gitlab_labelcompares the requested labels with the labels returned by the server, so every run reported existing labels as updated (changed=true), breaking idempotency.The field is now removed before the comparison, like the other server-only fields.
Found by running the
gitlab_labelintegration tests against GitLab CE 19.5.0 (see PR #13005).ISSUE TYPE
COMPONENT NAME
gitlab_label
ADDITIONAL INFORMATION
Before the change, re-applying an existing label in the integration tests:
With the change, the
gitlab_labelintegration target passes against GitLab CE 19.5.0.AI (Claude) was used to assist with this contribution.
🤖 Generated with Claude Code