refactor: Generic CompliantSelector
#10942
release-drafter.yml
on: pull_request
update_release_draft
4s
Annotations
2 errors and 4 warnings
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
{
name: 'HttpError',
id: '13531099577',
status: 422,
response: {
url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases/191688968',
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',
'content-length': '210',
'content-security-policy': "default-src 'none'",
'content-type': 'application/json; charset=utf-8',
date: 'Tue, 25 Feb 2025 21:16:14 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': 'E881:36496D:18F4F4D:31F88C3:67BE331E',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4957',
'x-ratelimit-reset': '1740521221',
'x-ratelimit-resource': 'core',
'x-ratelimit-used': '43',
'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',
status: '422'
}
},
request: {
method: 'PATCH',
url: 'https://api.github.com/repos/narwhals-dev/narwhals/releases/191688968',
headers: {
accept: 'application/vnd.github.v3+json',
'user-agent': 'probot/12.4.0 octokit-core.js/3.6.0 Node.js/20.18.0 (linux; x64)',
'x-github-delivery': '13531099577',
authorization: 'token [REDACTED]',
'content-type': 'application/json; charset=utf-8'
},
body: '{"body":"## Changes\\n\\n## 🚀 Performance improvements\\n\\n- perf: use cached property for schema/columns lazy frames (#2093)\\n- perf: only validate duplicate column names when collecting for duckdb/pyspark/dask (#2092)\\n\\n## ✨ Enhancements\\n\\n- feat: align `over` signature with Polars (#2096)\\n- chore: Finalize support for SQLFrame (#2038)\\n\\n## 🐞 Bug fixes\\n\\n- fix: `pyspark` unpivot with index `None` (#2090)\\n\\n## 📖 Documentation\\n\\n- chore: concise_docstrings (#2068) (#2086)\\n\\n## 🛠️ Other improvements\\n\\n- chore: rename changes_length to filtration (#2094)\\n- chore: add `has_open_windows` to `ExprMetadata` instead of `is_order_dependent` (#2078)\\n- chore(typing): Resolve `_dask` errors (#2087)\\n- refactor(typing): Use a forward ref for `IntoCompliantExpr` (#2088)\\n- chore(typing): Fix `(Pandas|Arrow)(When|Then)` (#2089)\\n- refactor(ruff): enable some preview rules (#2042)\\n\\nThank you to all our contributors for making this release possible!\\n@EdAbati, @FBruzzesi, @MarcoGorelli, @dangotbanned and @skritsotalakis\\n","draft":true,"prerelease":false,"make_latest":"true","name":"Narwhals unreleased","tag_name":"untagged-687e32e724ca1018ab08","target_commitish":"refs/pull/2064/merge"}',
request: {}
},
event: {
id: '13531099577',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '# Tracking\r\n' +
'- [ ] #2084 \r\n' +
'- [ ] #2051\r\n' +
' - Planning to resolve conflicts after this\r\n' +
'\r\n' +
'## What type of PR is this? (check all applicable)\r\n' +
'\r\n' +
'- [x] 💾 Refactor\r\n' +
'- [ ] ✨ Feature\r\n' +
|
update_release_draft
HttpError: Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"}
at /home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:7146:21
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Job.doExecute (/home/runner/work/_actions/release-drafter/release-drafter/v6/dist/index.js:61885:18)
{
name: 'AggregateError',
event: {
id: '13531099577',
name: 'pull_request',
payload: {
action: 'edited',
changes: {
body: {
from: '# Tracking\r\n' +
'- [ ] #2084 \r\n' +
'- [ ] #2051\r\n' +
' - Planning to resolve conflicts after this\r\n' +
'\r\n' +
'## What type of PR is this? (check all applicable)\r\n' +
'\r\n' +
'- [x] 💾 Refactor\r\n' +
'- [ ] ✨ Feature\r\n' +
'- [ ] 🐛 Bug Fix\r\n' +
'- [ ] 🔧 Optimization\r\n' +
'- [ ] 📝 Documentation\r\n' +
'- [ ] ✅ Test\r\n' +
'- [x] 🐳 Other\r\n' +
'\r\n' +
'## Related issues\r\n' +
'\r\n' +
'- #2060\r\n' +
'- #2058\r\n' +
'- #2057\r\n' +
'- #2044\r\n' +
'- #1942\r\n' +
'\r\n' +
'## Checklist\r\n' +
'\r\n' +
'- [x] Code follows style guide (ruff)\r\n' +
'- [ ] Tests added\r\n' +
'- [ ] Documented the changes\r\n' +
'\r\n' +
'## If you have comments or can explain your changes, please do so below\r\n' +
'Expecting quite a nice reduction in copy/pasted code\r\n' +
'\r\n' +
'- [x] `_arrow`\r\n' +
'- [x] `_dask`\r\n' +
'- [x] `_duckdb`\r\n' +
'- [x] `_pandas_like`\r\n' +
'- [x] `_spark_like`\r\n' +
'- [x] ~~Investigate~~ fix `3.8` [protocol bug](https://github.com/narwhals-dev/narwhals/pull/2064#discussion_r1966282177)'
}
},
number: 2064,
organization: {
avatar_url: 'https://avatars.githubusercontent.com/u/169070048?v=4',
description: 'Narwhals developers',
events_url: 'https://api.github.com/orgs/narwhals-dev/events',
hooks_url: 'https://api.github.com/orgs/narwhals-dev/hooks',
id: 169070048,
issues_url: 'https://api.github.com/orgs/narwhals-dev/issues',
login: 'narwhals-dev',
members_url: 'https://api.github.com/orgs/narwhals-dev/members{/member}',
node_id: 'O_kgDOChPN4A',
public_members_url: 'https://api.github.com/orgs/narwhals-dev/public_members{/member}',
repos_url: 'https://api.github.com/orgs/narwhals-dev/repos',
url: 'https://api.github.com/orgs/narwhals-dev'
},
pull_request: {
_links: {
comments: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/2064/comments'
},
commits: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2064/commits'
},
html: {
href: 'https://github.com/narwhals-dev/narwhals/pull/2064'
},
issue: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/issues/2064'
},
review_comment: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/comments{/number}'
},
review_comments: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2064/comments'
},
self: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/pulls/2064'
},
statuses: {
href: 'https://api.github.com/repos/narwhals-dev/narwhals/statuses/79799090725317c2660cd8a5eeffaf2df5d324f8'
}
},
active_lock_reason: null,
additions: 571,
assignee: null,
assignees: [],
author_association: 'MEMBER',
auto_merge: null,
base
|
update_release_draft
"pull_request_target.opened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.reopened" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.synchronize" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|
update_release_draft
"pull_request_target.edited" is not a known webhook name (https://developer.github.com/v3/activity/events/types/)
|