Skip to content

ci(prow): migrate tikv/tikv release-8.5 jobs to target jenkins - #5157

Open
wuhuizuo wants to merge 1 commit into
mainfrom
phase4/tikv-tikv-release-8.5
Open

ci(prow): migrate tikv/tikv release-8.5 jobs to target jenkins#5157
wuhuizuo wants to merge 1 commit into
mainfrom
phase4/tikv-tikv-release-8.5

Conversation

@wuhuizuo

@wuhuizuo wuhuizuo commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Part of #4964.

Summary

Flip labels.master "1" -> "0" for the jenkins-agent jobs in prow-jobs/tikv/tikv/release-8.5-presubmits.yaml so they are scheduled on the to Jenkins.

Part of #4947 / #4942

@ti-chi-bot

ti-chi-bot Bot commented Sep 4, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign wuhuizuo for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have already done a preliminary review for you, and I hope to help you do a better job.

Summary:
This PR updates the release-8.5-presubmits.yaml file for the tikv/tikv repository by flipping the labels.master value from "1" to "0" for Jenkins agent jobs. This change redirects the scheduling of these jobs from the old Jenkins to the target Jenkins as part of the CI migration effort. The change is minimal and focused, and the patch appears straightforward without introducing new functionality or complexity.


Code Improvements

  • prow-jobs/tikv/tikv/release-8.5-presubmits.yaml, line ~13:

    • The comment # need add this. next to decorate: false is unclear and seems grammatically incomplete.
    • Suggestion: Clarify or remove the comment. For example:
      decorate: false # required to disable decoration for this job
      or remove it if self-explanatory.
  • prow-jobs/tikv/tikv/release-8.5-presubmits.yaml:

    • Consider documenting the meaning of the labels.master key and why flipping "1" to "0" causes the scheduling to move to the target Jenkins. This helps future maintainers understand the impact without external context.
    • Suggestion: Add a short comment above or inline, e.g.,
      labels:
        # 'master: "0"' schedules the job on the target Jenkins agent rather than the legacy one
        master: "0"

Best Practices

  • Testing coverage:

    • Since this is a configuration change affecting CI job scheduling, ensure that a test or verification step confirms that jobs are correctly scheduled on the target Jenkins after this change.
    • Suggestion: If not already in place, add integration or smoke tests validating the CI pipeline behavior post-migration, or document manual verification steps.
  • Commit message / PR description:

    • The PR description references issues but could be enhanced by explicitly stating the expected behavioral change for users or maintainers.
    • Suggestion: Add a line explaining the effect, e.g., "This change schedules the release-8.5 presubmit jobs on the new Jenkins infrastructure, disabling scheduling on the old one."

No critical issues detected given the limited scope of the change. Overall, the PR appears safe and well-targeted.

@ti-chi-bot ti-chi-bot Bot added the size/XS label Sep 4, 2026
@ti-chi-bot

ti-chi-bot commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

Jenkins Migration Verification

Migrating jenkins-agent Prow jobs to the to Jenkins (labels.master: 1 -> 0).

  • tikv/tikv/release-8.5/pull_unit_test
    • status: failed

Summary: success=0 submitted=0 failed=1 infra-fail=0 skipped=0 dry-run=0 total=1

Flip labels.master "1" -> "0" for the jenkins-agent jobs in prow-jobs/tikv/tikv/release-8.5-presubmits.yaml so
they are scheduled on the to Jenkins.

Part of #4964
@wuhuizuo
wuhuizuo force-pushed the phase4/tikv-tikv-release-8.5 branch from 11874c2 to ae0ebce Compare September 7, 2026 03:18

@ti-chi-bot ti-chi-bot Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

I have already done a preliminary review for you, and I hope to help you do a better job.

Summary
This PR updates the scheduling labels on the tikv/tikv/release-8.5/pull_unit_test Jenkins agent job in the presubmit configuration to migrate it from the old Jenkins instance to the target Jenkins. The change flips the labels.master value from "1" to "0", effectively redirecting the job execution environment. The PR is minimal and focused, with a clear commit message and intent.


Code Improvements

  • Clarify the meaning of master label values
    • File: prow-jobs/tikv/tikv/release-8.5-presubmits.yaml (line 13)
    • Issue: The label key master with values "1" and "0" is not self-explanatory. Without comments or documentation, it is unclear what these values represent.
    • Suggestion: Add a comment explaining what labels.master controls and what "1" vs "0" means, e.g.:
      labels:
        # 'master: "0"' schedules the job on the target Jenkins; '1' is for the old Jenkins.
        master: "0"
      This will help future maintainers understand the label semantics without needing to search through external docs or issues.

Best Practices

  • Documentation of rationale in PR or YAML comments

    • While the PR description references related issues, it would be beneficial to include a one-line comment in the YAML near the label change explaining the migration purpose. This provides immediate context when browsing the config file later.
  • Testing coverage

    • Confirm that the job still triggers and runs correctly on the target Jenkins after label change. If not already done, consider adding or updating integration tests or manual test steps in the PR description.

No critical issues were found since this is a simple label flip for job scheduling. The change appears safe and targeted. Adding clarifying comments and ensuring testing will improve maintainability and reduce confusion.

@wuhuizuo

wuhuizuo commented Sep 7, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@ti-chi-bot

ti-chi-bot Bot commented Sep 7, 2026

Copy link
Copy Markdown

@wuhuizuo: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
pull-verify-jenkins-migration ae0ebce link true /test pull-verify-jenkins-migration

Full PR test history. Your PR dashboard.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

2 participants