Skip to content

Lebovits/issu1015 cleanup new pipeline #459

Lebovits/issu1015 cleanup new pipeline

Lebovits/issu1015 cleanup new pipeline #459

Triggered via pull request December 11, 2024 02:22
Status Success
Total duration 15s
Artifacts

release-drafter.yml

on: pull_request
update_release_draft
6s
update_release_draft
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 1 warning
update_release_draft
Validation Failed: {"resource":"Release","code":"invalid","field":"target_commitish"} { name: 'HttpError', id: '12268438203', status: 422, response: { url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/releases', 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': '210', 'content-security-policy': "default-src 'none'", 'content-type': 'application/json; charset=utf-8', date: 'Wed, 11 Dec 2024 02:22:30 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; contents=write,workflows=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': 'FFC6:E298B:20D60F2:40DC9C2:6758F766', 'x-ratelimit-limit': '5000', 'x-ratelimit-remaining': '4985', 'x-ratelimit-reset': '1733887305', 'x-ratelimit-resource': 'core', 'x-ratelimit-used': '15', '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#create-a-release', status: '422' } }, request: { method: 'POST', url: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/releases', headers: { accept: 'application/vnd.github.v3+json', 'user-agent': 'probot/12.2.5 octokit-core.js/3.5.1 Node.js/20.18.0 (linux; x64)', authorization: 'token [REDACTED]', 'content-type': 'application/json; charset=utf-8' }, body: '{"target_commitish":"refs/pull/1037/merge","name":"v1.14.1","tag_name":"v1.14.1","body":"## Changes\\n- restore deleted files from src/ @nlebovits (#1036)\\n- disable dependabot autoupdates for pip @nlebovits (#1028)\\n","draft":true,"prerelease":false,"make_latest":"true"}', request: {} }, event: { id: '12268438203', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: 'Major cleanup of new ETL pipeline:\r\n' + ' - updates `pip` dependencies\r\n' + ' - lints and formats with `ruff`\r\n' + ' - adds docstrings and typing\r\n' + ' - dynamically sets the number of workers based on the local machine when running things in parallel\r\n' + ' - changes the `priority_level` calculation to use z-scores instead of percentiles\r\n' + ' - connects the pipeline to the new postgres db with postgis + timescale\r\n' + ' - sets up monthly partitioning and six-month compression policies\r\n' + ' - incorporates `pg_stat` reporting to slack channel to monitor table sizes\r\n' + '\r\n' + 'A couple of outstanding items that need to be done:\r\n' + "- [x] Consolidate the process of writing to postgres (there' some redundancy in how/where it's done right now--could probably be a single class)\r\n" + '- [ ] Re-incorporate `data-diff` and diff reporting to Slack\r\n' + '- [x] Reconnect writing tiles to GCS; write an additional unclustered tile, if possible (coordinate with @HeyZoos)\r\n' + ' - [ ] Make sure to notify the FE team that the new tiles will have a new name\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:8462: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:30793:18) { name: 'AggregateError', event: { id: '12268438203', name: 'pull_request', payload: { action: 'edited', changes: { body: { from: 'Major cleanup of new ETL pipeline:\r\n' + ' - updates `pip` dependencies\r\n' + ' - lints and formats with `ruff`\r\n' + ' - adds docstrings and typing\r\n' + ' - dynamically sets the number of workers based on the local machine when running things in parallel\r\n' + ' - changes the `priority_level` calculation to use z-scores instead of percentiles\r\n' + ' - connects the pipeline to the new postgres db with postgis + timescale\r\n' + ' - sets up monthly partitioning and six-month compression policies\r\n' + ' - incorporates `pg_stat` reporting to slack channel to monitor table sizes\r\n' + '\r\n' + 'A couple of outstanding items that need to be done:\r\n' + "- [x] Consolidate the process of writing to postgres (there' some redundancy in how/where it's done right now--could probably be a single class)\r\n" + '- [ ] Re-incorporate `data-diff` and diff reporting to Slack\r\n' + '- [x] Reconnect writing tiles to GCS; write an additional unclustered tile, if possible (coordinate with @HeyZoos)\r\n' + ' - [ ] Make sure to notify the FE team that the new tiles will have a new name\r\n' + ' - [ ] If possible, make sure that this and other relevant data are written to subdirs in GCS, per that old ticket from Nico\r\n' + '- [ ] Set up a cron job for monthly backup dumps to GCS from the VM\r\n' + '- [ ] Smoothly replace the old ETL pipeline with the new one in the main repo, making sure not to delete the old database/disturb the old processes.' } }, number: 1037, organization: { avatar_url: 'https://avatars.githubusercontent.com/u/1451716?v=4', description: "Philly's civic tech brigade", events_url: 'https://api.github.com/orgs/CodeForPhilly/events', hooks_url: 'https://api.github.com/orgs/CodeForPhilly/hooks', id: 1451716, issues_url: 'https://api.github.com/orgs/CodeForPhilly/issues', login: 'CodeForPhilly', members_url: 'https://api.github.com/orgs/CodeForPhilly/members{/member}', node_id: 'MDEyOk9yZ2FuaXphdGlvbjE0NTE3MTY=', public_members_url: 'https://api.github.com/orgs/CodeForPhilly/public_members{/member}', repos_url: 'https://api.github.com/orgs/CodeForPhilly/repos', url: 'https://api.github.com/orgs/CodeForPhilly' }, pull_request: { _links: { comments: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/issues/1037/comments' }, commits: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/1037/commits' }, html: { href: 'https://github.com/CodeForPhilly/clean-and-green-philly/pull/1037' }, issue: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/issues/1037' }, review_comment: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/comments{/number}' }, review_comments: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/1037/comments' }, self: { href: 'https://api.github.com/repos/CodeForPhilly/clean-and-green-philly/pulls/1037' }, statuses: {
update_release_draft
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636