Skip to content

[ci] no-response bot is broken #6313

@jameslamb

Description

@jameslamb

Description

See, for example, #6311.

The original poster responded, but the awaiting response label wasn't automatically removed.

Failing build: https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042

RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/_actions/lee-dohm/no-response/v0.5.0/dist/index.js:3430:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 403,
full log (click me)
RequestError [HttpError]: Resource not accessible by integration
    at /home/runner/work/_actions/lee-dohm/no-response/v0.5.0/dist/index.js:3430:23
    at processTicksAndRejections (node:internal/process/task_queues:96:5) {
  status: 403,
  headers: {
    'access-control-allow-origin': '*',
    'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',
    connection: 'close',
    'content-encoding': 'gzip',
    'content-security-policy': "default-src 'none'",
    'content-type': 'application/json; charset=utf-8',
    date: 'Wed, 14 Feb 2024 12:28:16 GMT',
    'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
    server: 'GitHub.com',
    'strict-transport-security': 'max-age=3[15](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:16)36000; includeSubdomains; preload',
    'transfer-encoding': 'chunked',
    vary: 'Accept-Encoding, Accept, X-Requested-With',
    'x-accepted-github-permissions': 'issues=write; pull_requests=write',
    'x-content-type-options': 'nosniff',
    'x-frame-options': 'deny',
    'x-github-api-version-selected': '2022-11-28',
    'x-github-media-type': 'github.v3; format=json',
    'x-github-request-id': 'E483:41E6:2E9329C:5D717B8:65CCB1E0',
    'x-ratelimit-limit': '15000',
    'x-ratelimit-remaining': '14997',
    'x-ratelimit-reset': '1707917296',
    'x-ratelimit-resource': 'core',
    'x-ratelimit-used': '3',
    'x-xss-protection': '0'
  },
  request: {
    method: 'DELETE',
    url: 'https://api.github.com/repos/microsoft/LightGBM/issues/6311/labels/awaiting%20response',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-core.js/3.2.4 Node.js/[16](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:17).[20](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:21).2 (linux; x64)',
      authorization: 'token [REDACTED]',
      'content-length': 0
    },
    request: {
      agent: Agent {
        _events: [Object: null prototype] {
          free: [Function (anonymous)],
          newListener: [Function: maybeEnableKeylog]
        },
        _eventsCount: 2,
        _maxListeners: undefined,
        defaultPort: 443,
        protocol: 'https:',
        options: [Object: null prototype] { path: null },
        requests: [Object: null prototype] {},
        sockets: [Object: null prototype] {},
        freeSockets: [Object: null prototype] {},
        keepAliveMsecs: 1000,
        keepAlive: false,
        maxSockets: Infinity,
        maxFreeSockets: [25](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:26)6,
        scheduling: 'lifo',
        maxTotalSockets: Infinity,
        totalSocketCount: 0,
        maxCachedSessions: 100,
        _sessionCache: {
          map: {
            'api.github.com:4[43](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:44):::::::::::::::::::::': [Buffer [Uint8Array]]
          },
          list: [ 'api.github.com:[44](https://github.com/microsoft/LightGBM/actions/runs/7901178460/job/21564224042#step:2:45)3:::::::::::::::::::::' ]
        },
        [Symbol(kCapture)]: false
      },
      hook: [Function: bound bound register]
    }
  },
  documentation_url: 'https://docs.github.com/rest/issues/labels#remove-a-label-from-an-issue'
}

Reproducible example

Any recent No Response Bot runs trying to modify things in this repo: https://github.com/microsoft/LightGBM/actions/workflows/no-response.yml.

Additional Comments

It's been 3 years since that project last received a commit: https://github.com/lee-dohm/no-response

I believe it might just no longer work with GitHub's API.

Noticed that over in shap, they are using https://github.com/actions/stale: shap/shap#3424.

That's a GitHub-official action, so we should probably move to that.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions