libsql/core: Fix statement step error handling #385
release-drafter.yml
on: pull_request
update_release_draft
53s
Annotations
2 errors
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '5964231804',
status: 422,
response: {
url: 'https://api.github.com/repos/libsql/libsql/releases/109866875',
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: 'Thu, 24 Aug 2023 13:16:16 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': 'F442:39E3:3F352:41063:64E75820',
'x-ratelimit-limit': '1000',
'x-ratelimit-remaining': '989',
'x-ratelimit-reset': '1692883677',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '11',
'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/libsql/libsql/releases/109866875',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/16.20.1 (linux; x64)',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n- libsql/core: Add open\\\\_with\\\\_sync() to V2 @penberg (#309)\\n- libsql/core: Add Rows::column\\\\_{count,name}() to V2 @penberg (#310)\\n- libsql/core: Add Statement::columns() to V2 @penberg (#308)\\n- libsql/core: Add Connection::last\\\\_insert\\\\_rowid() to V2 @penberg (#307)\\n- libsql/v2: Add `execute_batch` and transactions @LucioFranco (#306)\\n- libsql/core: Add `v2` api @LucioFranco (#298)\\n- Return correct error from Rows::next @haaawk (#302)\\n- libsql/core: display the error message in LibError @aqrln (#301)\\n- libsql/core: `column_names` return `Option<&str>` @LucioFranco (#303)\\n- Fix Statement::step() error handling @penberg (#300)\\n- Fix Github actions workflow names @penberg (#299)\\n- libsql/core: add code to FetchRowFailed and use extended error codes @aqrln (#296)\\n- libsql/core: Clean up sqlite3 on drop @LucioFranco (#293)\\n- Column API improvements @penberg (#292)\\n- libsql/shell: commands completion @piotrkira (#289)\\n- libsql/core: Fix Column::decl\\\\_type() @penberg (#290)\\n- libsql: Use `SQLITE_TRANSIENT` for text/blob @LucioFranco (#287)\\n- libsql/core: add error code to Error::PrepareFailed @aqrln (#285)\\n- libsql/core: Implement Rows::as\\\\_ref() @penberg (#280)\\n- libsql/core: Switch to TryInto for params @LucioFranco (#284)\\n- Fix compilation errors on platforms with unsigned chars @aqrln (#281)\\n- Update critierion to remove atty @LucioFranco (#274)\\n- libsql/core: Add `params_from_iter` @LucioFranco (#273)\\n- libsql/core: Add libsql::version() and libsql::version\\\\_number() @penberg (#269)\\n- Add rusqlite license @LucioFranco (#275)\\n- libsql/core: Add `Connection::execute_batch` @LucioFranco (#272)\\n- libsql/core: Add SQLite error message to LibError @penberg (#270)\\n- Golang bindings sy
|
update_release_draft
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: '5964231804',
name: 'pull_request',
payload: {
action: 'opened',
number: 311,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/114694406?v=4',
description: 'libSQL is a fork of SQLite that is both Open Source, and Open Contributions.',
events_url: 'https://api.github.com/orgs/libsql/events',
hooks_url: 'https://api.github.com/orgs/libsql/hooks',
id: 114694406,
issues_url: 'https://api.github.com/orgs/libsql/issues',
login: 'libsql',
members_url: 'https://api.github.com/orgs/libsql/members{/member}',
node_id: 'O_kgDOBtYZBg',
public_members_url: 'https://api.github.com/orgs/libsql/public_members{/member}',
repos_url: 'https://api.github.com/orgs/libsql/repos',
url: 'https://api.github.com/orgs/libsql'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/libsql/libsql/issues/311/comments'
},
commits: {
href: 'https://api.github.com/repos/libsql/libsql/pulls/311/commits'
},
html: { href: 'https://github.com/libsql/libsql/pull/311' },
issue: {
href: 'https://api.github.com/repos/libsql/libsql/issues/311'
},
review_comment: {
href: 'https://api.github.com/repos/libsql/libsql/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/libsql/libsql/pulls/311/comments'
},
self: {
href: 'https://api.github.com/repos/libsql/libsql/pulls/311'
},
statuses: {
href: 'https://api.github.com/repos/libsql/libsql/statuses/0f4155e80e8285de2aea0d81d356e8626b2d6cc2'
}
},
active_lock_reason: null,
additions: 1,
assignee: null,
assignees: [],
author_association: 'COLLABORATOR',
auto_merge: null,
base: {
label: 'libsql:main',
ref: 'main',
repo: {
allow_auto_merge: false,
allow_forking: true,
allow_merge_commit: true,
allow_rebase_merge: true,
allow_squash_merge: true,
allow_update_branch: false,
archive_url: 'https://api.github.com/repos/libsql/libsql/{archive_format}{/ref}',
archived: false,
assignees_url: 'https://api.github.com/repos/libsql/libsql/assignees{/user}',
blobs_url: 'https://api.github.com/repos/libsql/libsql/git/blobs{/sha}',
branches_url: 'https://api.github.com/repos/libsql/libsql/branches{/branch}',
clone_url: 'https://github.com/libsql/libsql.git',
collaborators_url: 'https://api.github.com/repos/libsql/libsql/collaborators{/collaborator}',
comments_url: 'https://api.github.com/repos/libsql/libsql/comments{/number}',
commits_url: 'https://api.github.com/repos/libsql/libsql/commits{/sha}',
compare_url: 'https://api.github.com/repos/libsql/libsql/compare/{base}...{head}',
contents_url: 'https://api.github.com/repos/libsql/libsql/contents/{+path}',
contributors_url: 'https://api.github.com/repos/libsql/libsql/contributors',
created_at: '2022-09-29T18:56:16Z',
default_branch: 'main',
delete_branch_on_merge: true,
deployments_url: 'https://api.github.com/repos/libsql/libsql/deployments',
description: 'libSQL is a fork of SQLite that is both Open Source, and Open Contributions.',
disabled: false,
|