Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Fix Assistive Pricing #909

Closed
0x4007 opened this issue Dec 28, 2023 · 7 comments
Closed

Fix Assistive Pricing #909

0x4007 opened this issue Dec 28, 2023 · 7 comments

Comments

@0x4007
Copy link
Member

0x4007 commented Dec 28, 2023

The bot needs to be able to gracefully handle a missing label (create it) instead of failing on a 404 so that we can set pricing.

ubiquity/business-development#67 (comment)

! action has an uncaught error
{
  "handlerType": {
    "type": "post",
    "actions": [
      null
    ]
  },
  "activeHandler": "onLabelChangeSetPricing",
  "error": {
    "name": "HttpError",
    "status": 404,
    "response": {
      "url": "https://api.github.com/repos/ubiquity/business-development/labels/Price%3A%20800%20USD",
      "status": 404,
      "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",
        "content-encoding": "gzip",
        "content-security-policy": "default-src 'none'",
        "content-type": "application/json; charset=utf-8",
        "date": "Thu, 28 Dec 2023 17:46:11 GMT",
        "referrer-policy": "origin-when-cross-origin, strict-origin-when-cross-origin",
        "server": "GitHub.com",
        "strict-transport-security": "max-age=31536000; includeSubdomains; preload",
        "transfer-encoding": "chunked",
        "vary": "Accept-Encoding, Accept, X-Requested-With",
        "x-accepted-github-permissions": "issues=read; pull_requests=read",
        "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": "B722:4657:1571747:2CD2988:658DB463",
        "x-ratelimit-limit": "6650",
        "x-ratelimit-remaining": "6601",
        "x-ratelimit-reset": "1703789114",
        "x-ratelimit-resource": "core",
        "x-ratelimit-used": "49",
        "x-xss-protection": "0"
      },
      "data": {
        "message": "Not Found",
        "documentation_url": "https://docs.github.com/rest/issues/labels#get-a-label"
      }
    },
    "request": {
      "method": "GET",
      "url": "https://api.github.com/repos/ubiquity/business-development/labels/Price%3A%20800%20USD",
      "headers": {
        "accept": "application/vnd.github.v3+json",
        "user-agent": "probot/12.3.3 octokit-core.js/3.6.0 Node.js/20.9.0 (linux; x64)",
        "authorization": "token [REDACTED]"
      },
      "request": {
        "retryCount": 1
      }
    }
  },
  "caller": "renderCatchAll",
  "revision": "abf320c"
}
Copy link

ubiquibot bot commented Dec 28, 2023

@wannacfuture the deadline is at 2023-12-28T18:49:09.738Z

@0x4007
Copy link
Member Author

0x4007 commented Jan 15, 2024

@wannacfuture

@wannacfuture
Copy link
Contributor

wannacfuture commented Jan 15, 2024

0x4007#63

Currently working on CI fixing. @pavlovcik

Copy link

ubiquibot bot commented Jan 16, 2024

@wannacfuture the deadline is at 2024-01-16T23:26:03.176Z

@0x4007 0x4007 closed this as completed Jan 16, 2024
Copy link

ubiquibot bot commented Jan 16, 2024

+ Evaluating results. Please wait...

Copy link

ubiquibot bot commented Jan 25, 2024

! action has an uncaught error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants