[Backport 2.x] Handle EMR Exceptions in FlintCancelJob Operation #4444
Annotations
2 errors and 1 warning
Update draft release notes
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '8424706554',
status: 422,
response: {
url: 'https://api.github.com/repos/opensearch-project/sql/releases/113868329',
status: 422,
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-length': '195',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 25 Mar 2024 17:56:40 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'github.com',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
vary: 'Accept-Encoding, Accept, X-Requested-With',
'x-accepted-github-permissions': 'contents=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': '7886:27FCAD:79E3B0:D72AFE:6601BAD8',
'x-ratelimit-limit': '15000',
'x-ratelimit-remaining': '14988',
'x-ratelimit-reset': '1711392974',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '12',
'x-xss-protection': '0'
},
data: {
message: 'Validation Failed',
errors: [
{
resource: 'Release',
code: 'invalid',
field: 'target_commitish'
}
],
documentation_url: 'https://docs.github.com/rest/releases/releases#update-a-release'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/opensearch-project/sql/releases/113868329',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.2 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"Compatible with OpenSearch and OpenSearch Dashboards Version 2.4.0\\n* [AUTO] Increment version to 2.13.0-SNAPSHOT ([#2516](https://github.com/opensearch-project/sql/pull/2516))\\n* [Backport 2.x] bump ipaddress to 5.4.2 ([#2545](https://github.com/opensearch-project/sql/pull/2545))\\n* [Backport 2.x] Change emr job names based on the query type ([#2547](https://github.com/opensearch-project/sql/pull/2547))\\n* [Backport 2.x]Datasource disable feature (#2539) ([#2552](https://github.com/opensearch-project/sql/pull/2552))\\n* [Backport 2.x] Restrict the scope of cancel API ([#2556](https://github.com/opensearch-project/sql/pull/2556))\\n* [Backport 2.x]Handle ALTER Index Queries in SQL Plugin (#2554) ([#2560](https://github.com/opensearch-project/sql/pull/2560))\\n* [Backport 2.x] Implement vacuum index operation ([#2562](https://github.com/opensearch-project/sql/pull/2562))\\n* [Backport 2.x] Change async query default setting ([#2563](https://github.com/opensearch-project/sql/pull/2563))\\n* [Backport 2.x] Percent encode opensearch index name ([#2566](https://github.com/opensearch-project/sql/pull/2566))\\n* [Backport 2.x] Refactor query param ([#2555](https://github.com/opensearch-project/sql/pull/2555))\\n* [Backport 2.x] Stop Streaming Jobs When datasource is disabled/deleted. ([#2567](https://github.com/opensearch-project/sql/pull/2567))\\n* [Backport 2.x] [Bugfix] Wrap the query with double quotes ([#2569](https://github.com/opensearch-project/sql/pull/2569))\\n* [Backport 2.x] FlintStreamingJobCleanerTask missing event listener ([#2575](https://github.com/opensearch-project/sql/pull/2575))\\n* [Backport 2.x] Upgrade opensearch-spark jars to 0.3.0 ([#2571](https://github.com/opensearch-project/sql/pull/2571))\\n* [Backport 2.x] Added rel
|
Update draft release notes
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:8462:21
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v5/dist/index.js:30793:18)
{
name: 'AggregateError',
event: {
id: '8424706554',
name: 'pull_request',
payload: {
action: 'opened',
enterprise: {
avatar_url: 'https://avatars.githubusercontent.com/b/1290?v=4',
created_at: '2019-11-13T18:05:41Z',
description: '',
html_url: 'https://github.com/enterprises/amazon',
id: 1290,
name: 'Amazon',
node_id: 'MDEwOkVudGVycHJpc2UxMjkw',
slug: 'amazon',
updated_at: '2023-01-27T14:56:10Z',
website_url: 'https://www.amazon.com/'
},
number: 2589,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/80134844?v=4',
description: 'OpenSearch is a community-driven, Apache 2.0-licensed open source search and analytics suite that makes it easy to ingest, search, visualize, and analyze data.',
events_url: 'https://api.github.com/orgs/opensearch-project/events',
hooks_url: 'https://api.github.com/orgs/opensearch-project/hooks',
id: 80134844,
issues_url: 'https://api.github.com/orgs/opensearch-project/issues',
login: 'opensearch-project',
members_url: 'https://api.github.com/orgs/opensearch-project/members{/member}',
node_id: 'MDEyOk9yZ2FuaXphdGlvbjgwMTM0ODQ0',
public_members_url: 'https://api.github.com/orgs/opensearch-project/public_members{/member}',
repos_url: 'https://api.github.com/orgs/opensearch-project/repos',
url: 'https://api.github.com/orgs/opensearch-project'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/opensearch-project/sql/issues/2589/comments'
},
commits: {
href: 'https://api.github.com/repos/opensearch-project/sql/pulls/2589/commits'
},
html: {
href: 'https://github.com/opensearch-project/sql/pull/2589'
},
issue: {
href: 'https://api.github.com/repos/opensearch-project/sql/issues/2589'
},
review_comment: {
href: 'https://api.github.com/repos/opensearch-project/sql/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/opensearch-project/sql/pulls/2589/comments'
},
self: {
href: 'https://api.github.com/repos/opensearch-project/sql/pulls/2589'
},
statuses: {
href: 'https://api.github.com/repos/opensearch-project/sql/statuses/d9dd94202ca4b05bcc838f4de533c1c5edea1e62'
}
},
active_lock_reason: null,
additions: 1179,
assignee: null,
assignees: [],
author_association: 'CONTRIBUTOR',
auto_merge: null,
base: {
label: 'opensearch-project:2.x',
ref: '2.x',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: false,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/opensearch-project/sql/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/opensearch-project/sql/assignees{/user}',
blobs_url: 'https://api.github.com/repos/opensearch-project/sql/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/opensearch-project/sql/branches{/branch}',
clone_url: 'https://github.com/opensearch-project/sql.git',
collaborators_url: 'https://api.github.com/repos/opensearch-project/sql/collaborators{/collaborator}'
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: release-drafter/release-drafter@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading