{
  "_class" : "hudson.model.FreeStyleBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "com.cloudbees.jenkins.GitHubPushCause",
          "shortDescription" : "Started by GitHub push by ti-chi-bot[bot]"
        },
        {
          "_class" : "com.cloudbees.jenkins.GitHubPushCause",
          "shortDescription" : "Started by GitHub push by ti-chi-bot[bot]"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 16493,
      "buildableTimeMillis" : 16493,
      "buildingDurationMillis" : 41539,
      "executingTimeMillis" : 41539,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 5904,
      "waitingTimeMillis" : 5904
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1597,
          "buildResult" : null,
          "marked" : {
            "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
            "branch" : [
              {
                "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
            "branch" : [
              {
                "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
        "branch" : [
          {
            "SHA1" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
            "name" : "origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "https://github.com/PingCAP-QE/ci.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : false,
  "description" : null,
  "displayName" : "#1597",
  "duration" : 41539,
  "estimatedDuration" : 50732,
  "executor" : null,
  "fullDisplayName" : "seed #1597",
  "id" : "1597",
  "inProgress" : false,
  "keepLog" : false,
  "number" : 1597,
  "queueId" : 3661113,
  "result" : "SUCCESS",
  "timestamp" : 1775708366991,
  "url" : "https://do.pingcap.net/jenkins/job/seed/1597/",
  "builtOn" : "default-lhrjl",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "tools/reporters/ci/flaky-tests/core/GithubIssueManager.ts",
          "tools/reporters/ci/flaky-tests/core/GithubIssueManager.test.ts",
          "tools/reporters/ci/flaky-tests/docs/README.md",
          "tools/reporters/ci/flaky-tests/render/HtmlRenderer.ts",
          "tools/reporters/ci/flaky-tests/core/IssueUtils.ts",
          "prow-jobs/pingcap-qe/ci/periodics.yaml"
        ],
        "commitId" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
        "timestamp" : 1775708340000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "chore(tools): update flaky report job and implementation (#4486)\u000a\u000aThis pull request introduces improvements to the GitHub issue\u000aintegration for the flaky test reporter, enhancing both the matching\u000alogic for existing issues and the discoverability of issues via search.\u000aThe main changes include a more robust search strategy that combines\u000aexact and loose title matching, improved ranking of candidate issues,\u000aand updates to the HTML report to reflect these enhancements.\u000aAdditionally, the schedule for certain periodic jobs has been adjusted.\u000a\u000a**GitHub Issue Matching and Search Improvements:**\u000a\u000a* The reporter now searches for issues using both exact title and loose\u000akeyword matching, increasing the likelihood of finding relevant issues\u000aeven if the titles differ slightly. The ranking logic prioritizes open\u000aissues and better matches, and de-duplicates candidates.\u000a(`tools/reporters/ci/flaky-tests/core/GithubIssueManager.ts`\u000a[[1]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR51-R57)\u000a[[2]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR422-R496)\u000a[[3]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL309-R316)\u000a[[4]](diffhunk://#diff-4c5a649c350b04163a243802563709599be84fff205dab420d542a3daf71986fR84-R101)\u000a* Added utility functions for normalizing issue titles and building\u000asearch expressions to support the new matching logic.\u000a(`tools/reporters/ci/flaky-tests/core/IssueUtils.ts`\u000a[tools/reporters/ci/flaky-tests/core/IssueUtils.tsR84-R101](diffhunk://#diff-4c5a649c350b04163a243802563709599be84fff205dab420d542a3daf71986fR84-R101))\u000a\u000a**Reporting and Documentation Updates:**\u000a\u000a* The HTML report now generates search links that include both exact and\u000aloose matching terms, making it easier for users to discover related\u000aissues. The documentation is updated to describe the new search\u000abehavior. (`tools/reporters/ci/flaky-tests/render/HtmlRenderer.ts`\u000a[[1]](diffhunk://#diff-4ca7e6d2c3e328549bdd948412762e87f2dbf79d499c173ab9fc971e9db40c49L491-R503)\u000a[[2]](diffhunk://#diff-4ca7e6d2c3e328549bdd948412762e87f2dbf79d499c173ab9fc971e9db40c49L462-R478)\u000a[[3]](diffhunk://#diff-4ca7e6d2c3e328549bdd948412762e87f2dbf79d499c173ab9fc971e9db40c49L505-R520)\u000a[[4]](diffhunk://#diff-4ca7e6d2c3e328549bdd948412762e87f2dbf79d499c173ab9fc971e9db40c49L542-R562);\u000a`tools/reporters/ci/flaky-tests/docs/README.md`\u000a[[5]](diffhunk://#diff-e162c65e3a6c93d06a8c86af46500b96320812261d3c0f17d3f47911558a2b72L181-R181)\u000a[[6]](diffhunk://#diff-e162c65e3a6c93d06a8c86af46500b96320812261d3c0f17d3f47911558a2b72L347-R347)\u000a\u000a**Testing:**\u000a\u000a* New tests have been added to ensure that the matching logic correctly\u000aprefers open issues, exact matches, and can fall back to loose matches\u000awhen needed.\u000a(`tools/reporters/ci/flaky-tests/core/GithubIssueManager.test.ts`\u000a[tools/reporters/ci/flaky-tests/core/GithubIssueManager.test.tsR122-R234](diffhunk://#diff-5c4c2d13e7282ba280710e36c51015ff2a025007b5ec7b5314c36f4bf9667f90R122-R234))\u000a\u000a**Periodic Job Schedule Updates:**\u000a\u000a* The schedules for `periodic-reporter-flaky-tests-tidb` and\u000a`periodic-reporter-flaky-tests-tidb-v85` have been adjusted to run at\u000a8:05 and 8:30 UTC+8, respectively, instead of their previous times.\u000a(`prow-jobs/pingcap-qe/ci/periodics.yaml`\u000a[[1]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7L30-R30)\u000a[[2]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7L120-R120)\u000a",
        "date" : "2026-04-09 04:19:00 +0000",
        "id" : "2225489dfa9c5bbd2a0a80fc66b1b4551f237842",
        "msg" : "chore(tools): update flaky report job and implementation (#4486)",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/core/GithubIssueManager.test.ts"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/core/GithubIssueManager.ts"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/docs/README.md"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/core/IssueUtils.ts"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/render/HtmlRenderer.ts"
          },
          {
            "editType" : "edit",
            "file" : "prow-jobs/pingcap-qe/ci/periodics.yaml"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}