Skip to content

fix(docs): correct skip:test:long_running label name in CLAUDE.md [PYSDK-89]#577

Merged
helmut-hoffer-von-ankershoffen merged 1 commit into
mainfrom
fix/PYSDK-89-claude-md-skip-label-name
Apr 24, 2026
Merged

fix(docs): correct skip:test:long_running label name in CLAUDE.md [PYSDK-89]#577
helmut-hoffer-von-ankershoffen merged 1 commit into
mainfrom
fix/PYSDK-89-claude-md-skip-label-name

Conversation

@helmut-hoffer-von-ankershoffen
Copy link
Copy Markdown
Contributor

@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen commented Apr 24, 2026

🛡️ Resolves PYSDK-89 following PR-SOP-01 Problem Resolution and Non-Conforming Products, part of our ISO 13485-certified QMS | Ketryx Project

Summary

  • Fix 3 occurrences of skip:test_long_running (underscores) → skip:test:long_running (colons) in CLAUDE.md
  • The wrong separator caused gh pr edit --add-label to fail with "label not found" when Claude Code created PRs
  • .github/CLAUDE.md already used the correct colon form throughout

Root cause

Implementation error: the label name in CLAUDE.md was written with underscores when the PR label naming convention was established. .github/CLAUDE.md had the correct form but CLAUDE.md was not kept in sync.

Test plan

  • Verify gh pr edit --add-label "skip:test:long_running" succeeds on a test PR
  • Verify CLAUDE.md no longer contains skip:test_long_running

Supersedes #564 (closed due to branch rename for Jira Development panel linkage).

🤖 Generated with Claude Code

The label uses colons as separators, not underscores. The wrong name
caused the label to not be found when creating PRs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 24, 2026 18:31
@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen requested a review from a team as a code owner April 24, 2026 18:31
@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen added the skip:test:long_running Skip long-running tests (≥5min) label Apr 24, 2026
@sonarqubecloud
Copy link
Copy Markdown

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates repository-level contributor guidance to use the correct GitHub PR label name for skipping long-running tests, aligning CLAUDE.md with the established label convention used elsewhere in the repo and preventing gh pr edit --add-label failures.

Changes:

  • Replaced skip:test_long_running (underscores) with skip:test:long_running (colons) in CLAUDE.md.
  • Updated the example gh pr edit --add-label ... commands to reference the corrected label.

Comment thread CLAUDE.md
@@ -32,7 +32,7 @@ If you write code yourself, it is a strict requirement to validate your work on

If you you are creating a pull request yourself:
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

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

Line 33 has a duplicated word: "If you you are creating a pull request yourself" → "If you are creating a pull request yourself".

Suggested change
If you you are creating a pull request yourself:
If you are creating a pull request yourself:

Copilot uses AI. Check for mistakes.
Comment thread CLAUDE.md
If you you are creating a pull request yourself:

* Add a label skip:test_long_running, to skip running long running tests. This is important because some tests in this repository are marked as long_running and can take a significant amount of time to complete. By adding this label, you help ensure that the CI pipeline runs efficiently and avoids unnecessary delays.
* Add a label skip:test:long_running, to skip running long running tests. This is important because some tests in this repository are marked as long_running and can take a significant amount of time to complete. By adding this label, you help ensure that the CI pipeline runs efficiently and avoids unnecessary delays.
Copy link

Copilot AI Apr 24, 2026

Choose a reason for hiding this comment

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

The label name on this bullet is plain text with punctuation attached ("skip:test:long_running,") which makes it easy to copy/paste incorrectly and is inconsistent with later usage (e.g., skip:test:long_running). Consider formatting the label as inline code and placing the comma outside the code span.

Suggested change
* Add a label skip:test:long_running, to skip running long running tests. This is important because some tests in this repository are marked as long_running and can take a significant amount of time to complete. By adding this label, you help ensure that the CI pipeline runs efficiently and avoids unnecessary delays.
* Add a label `skip:test:long_running`, to skip running long running tests. This is important because some tests in this repository are marked as long_running and can take a significant amount of time to complete. By adding this label, you help ensure that the CI pipeline runs efficiently and avoids unnecessary delays.

Copilot uses AI. Check for mistakes.
@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen merged commit 709e166 into main Apr 24, 2026
59 of 63 checks passed
@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen deleted the fix/PYSDK-89-claude-md-skip-label-name branch April 24, 2026 18:33
@helmut-hoffer-von-ankershoffen helmut-hoffer-von-ankershoffen added sop:pr-sop-01 PR-SOP-01 Problem Resolution (bug / anomaly fix) type:fix Bug fix (conventional fix) type:docs Documentation-only change scope:dev-only Affects only our dev/CI env; consumers unaffected labels Apr 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:dev-only Affects only our dev/CI env; consumers unaffected skip:test:long_running Skip long-running tests (≥5min) sop:pr-sop-01 PR-SOP-01 Problem Resolution (bug / anomaly fix) type:docs Documentation-only change type:fix Bug fix (conventional fix)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants