{
  "_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" : 25571,
      "buildableTimeMillis" : 25571,
      "buildingDurationMillis" : 131358,
      "executingTimeMillis" : 131358,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 5934,
      "waitingTimeMillis" : 5934
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/main" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 1524,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
            "branch" : [
              {
                "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
                "name" : "origin/main"
              }
            ]
          },
          "revision" : {
            "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
            "branch" : [
              {
                "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
                "name" : "origin/main"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
        "branch" : [
          {
            "SHA1" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
            "name" : "origin/main"
          }
        ]
      },
      "remoteUrls" : [
        "https://github.com/PingCAP-QE/ci.git"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#1524",
  "duration" : 131358,
  "estimatedDuration" : 110301,
  "executor" : None,
  "fullDisplayName" : "seed #1524",
  "id" : "1524",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 1524,
  "queueId" : 3464702,
  "result" : "SUCCESS",
  "timestamp" : 1773389111383,
  "url" : "https://do.pingcap.net/jenkins/job/seed/1524/",
  "builtOn" : "default-pxb02",
  "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",
          "prow-jobs/pingcap-qe/ci/periodics.yaml"
        ],
        "commitId" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
        "timestamp" : 1773389075000,
        "author" : {
          "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
          "fullName" : "noreply"
        },
        "authorEmail" : "noreply@github.com",
        "comment" : "fix(tools, prow-jobs): fix test issue reopen problem (#4360)\u000a\u000aThis pull request introduces a safeguard to the GitHub issue management\u000alogic for flaky test reporting: closed issues will now only be reopened\u000aif they have been closed for at least 10 days. The changes are\u000aimplemented in both the application logic and the documentation, and new\u000atests are added to ensure correct behavior. There are also some\u000arefactorings and minor improvements for clarity and maintainability.\u000a\u000a**Flaky Test Reporter: GitHub Issue Management**\u000a\u000a*New Reopen Policy & Logic:*\u000a- Introduced a minimum closed age threshold (10 days) before a closed\u000aissue can be reopened, preventing premature reopenings. The logic is\u000aencapsulated in a new method, and a note is attached to cases where\u000areopening is skipped.\u000a[[1]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR32-R37)\u000a[[2]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL270-R323)\u000a[[3]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR435-R484)\u000a- Added an optional `now` parameter to the `GithubIssueManager` for\u000atestability and improved time handling.\u000a[[1]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR23)\u000a[[2]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR199)\u000a[[3]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aR214)\u000a\u000a*Testing:*\u000a- Added comprehensive tests for the new reopen policy, verifying that\u000aonly issues closed for at least 10 days are reopened and others are left\u000aclosed with an explanatory note. (`GithubIssueManager.test.ts`)\u000a\u000a*Documentation:*\u000a- Updated documentation to clarify that `--issue-reopen` only allows\u000areopening issues closed for at least 10 days, both in the permissions\u000aand behavior sections.\u000a[[1]](diffhunk://#diff-e162c65e3a6c93d06a8c86af46500b96320812261d3c0f17d3f47911558a2b72L117-R117)\u000a[[2]](diffhunk://#diff-e162c65e3a6c93d06a8c86af46500b96320812261d3c0f17d3f47911558a2b72L182-R182)\u000a\u000a*Job Configuration:*\u000a- Refactored periodic job configs to use a new `PARAM_ISSUE_OPS_OPTIONS`\u000aenvironment variable for issue operation flags, improving flexibility in\u000ahow issue operations are enabled per job.\u000a[[1]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7L56-R56)\u000a[[2]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7R68-R69)\u000a[[3]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7R133-R134)\u000a- Unhid two periodic reporter jobs by commenting out the `hidden: true`\u000aline, making them visible in the job dashboard.\u000a[[1]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7L31-R31)\u000a[[2]](diffhunk://#diff-627e88a7426360b8626ef9a0002f3558221924cb7e816f08afa52255839473d7L122-R121)\u000a\u000a*Minor Refactoring:*\u000a- Improved code formatting and type annotations in\u000a`GithubIssueManager.ts` for readability and maintainability.\u000a[[1]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL1-R12)\u000a[[2]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL34-R63)\u000a[[3]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL55-R75)\u000a[[4]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL69-R91)\u000a[[5]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL81-R105)\u000a[[6]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL91-R117)\u000a[[7]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL317-R352)\u000a[[8]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL330-R367)\u000a[[9]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL343-R381)\u000a[[10]](diffhunk://#diff-bbf5b1e359b7ef42a9547f82763bbd291bf9880f90c43763a059ab1300291b5aL383-R422)\u000a",
        "date" : "2026-03-13 08:04:35 +0000",
        "id" : "a69c7bb38d7e9727a11426d6b1c92e7f28238333",
        "msg" : "fix(tools, prow-jobs): fix test issue reopen problem (#4360)",
        "paths" : [
          {
            "editType" : "add",
            "file" : "tools/reporters/ci/flaky-tests/core/GithubIssueManager.test.ts"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/docs/README.md"
          },
          {
            "editType" : "edit",
            "file" : "prow-jobs/pingcap-qe/ci/periodics.yaml"
          },
          {
            "editType" : "edit",
            "file" : "tools/reporters/ci/flaky-tests/core/GithubIssueManager.ts"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://do.pingcap.net/jenkins/user/noreply",
      "fullName" : "noreply"
    }
  ]
}