Skip to content

(PTFE-3058) Add support for copilot branch#261

Open
matthiasL-scality wants to merge 1 commit intomainfrom
PTFE-3058-add-support-for-copilot-branch
Open

(PTFE-3058) Add support for copilot branch#261
matthiasL-scality wants to merge 1 commit intomainfrom
PTFE-3058-add-support-for-copilot-branch

Conversation

@matthiasL-scality
Copy link
Contributor

This pull request expands support for automated branch types in the workflow and test suite by introducing copilot and claude as recognized branch prefixes. It also updates tests and configuration to ensure these branches are handled correctly, particularly in scenarios where Jira ticket checks can be bypassed.

Branch prefix support:

  • Added copilot and claude to the list of recognized prefixes in the FeatureBranch class, allowing these branches to be processed like other automated branches.
  • Updated the settings.sample.yml configuration to document and accept copilot and claude as valid bypass prefixes for issue tracker checks.

Test coverage improvements:

  • Added test cases in test_feature_branch_names to verify that copilot and claude branches do not require Jira issue keys or projects.
  • Expanded the test_not_my_job_cases to include copilot and claude branches, ensuring they are handled appropriately in scenarios where jobs are not assigned.
  • Introduced new tests for copilot and claude pull requests in test_dependabot_pr, confirming that these PRs can bypass Jira ticket requirements when properly configured.

@matthiasL-scality matthiasL-scality requested a review from a team as a code owner March 17, 2026 09:40
@codecov
Copy link

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 89.05%. Comparing base (fcd08a5) to head (2140cef).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
+ Coverage   89.03%   89.05%   +0.01%     
==========================================
  Files          75       75              
  Lines       10060    10074      +14     
==========================================
+ Hits         8957     8971      +14     
  Misses       1103     1103              
Flag Coverage Δ
integration 87.50% <100.00%> (+0.02%) ⬆️
tests 87.46% <100.00%> (+0.02%) ⬆️
tests-BuildFailedTest 26.96% <14.28%> (-0.03%) ⬇️
tests-QuickTest 34.15% <57.14%> (+0.03%) ⬆️
tests-RepositoryTests 26.61% <14.28%> (-0.03%) ⬇️
tests-TaskQueueTests 51.88% <14.28%> (-0.07%) ⬇️
tests-TestBertE 66.10% <57.14%> (-0.02%) ⬇️
tests-TestQueueing 53.79% <14.28%> (-0.07%) ⬇️
tests-api-mock 16.11% <0.00%> (-0.03%) ⬇️
tests-noqueue 77.88% <100.00%> (+0.03%) ⬆️
tests-noqueue-BuildFailedTest 26.96% <14.28%> (-0.03%) ⬇️
tests-noqueue-QuickTest 34.15% <57.14%> (+0.03%) ⬆️
tests-noqueue-RepositoryTests 26.61% <14.28%> (-0.03%) ⬇️
tests-noqueue-TaskQueueTests 51.88% <14.28%> (-0.07%) ⬇️
tests-noqueue-TestBertE 62.50% <57.14%> (+<0.01%) ⬆️
tests-noqueue-TestQueueing 26.64% <14.28%> (-0.03%) ⬇️
tests-server 29.62% <0.00%> (-0.05%) ⬇️
unittests 40.76% <0.00%> (-0.06%) ⬇️
utests 24.68% <0.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant