-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Task failed for queue item 1750319255556667674, error follows
'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/var/www/deploy.durhack.com/src/queue_worker_base.py", line 67, in cleanup_after_processing
await queue_item_task\n File "/var/www/deploy.durhack.com/src/github_repository_queue_worker.py", line 37, in process_queue_item
head_commit_ref = payload["head_commit"]["id"]
~~~~~~~~~~~~~~~~~~~~~~^^^^^^\nTypeError: 'NoneType' object is not subscriptable
Queue item
{
"payload": {
"ref": "refs/heads/staging",
"before": "b56b8586bdd9e4896839b10e248ed18f6bdd99a5",
"after": "0000000000000000000000000000000000000000",
"repository": {
"id": 219610040,
"node_id": "MDEwOlJlcG9zaXRvcnkyMTk2MTAwNDA=",
"name": "durhack",
"full_name": "ducompsoc/durhack",
"private": false,
"owner": {
"name": "ducompsoc",
"email": "[email protected]",
"login": "ducompsoc",
"id": 17937249,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3OTM3MjQ5",
"avatar_url": "https://avatars.githubusercontent.com/u/17937249?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/ducompsoc",
"html_url": "https://github.com/ducompsoc",
"followers_url": "https://api.github.com/users/ducompsoc/followers",
"following_url": "https://api.github.com/users/ducompsoc/following{/other_user}",
"gists_url": "https://api.github.com/users/ducompsoc/gists{/gist_id}",
"starred_url": "https://api.github.com/users/ducompsoc/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/ducompsoc/subscriptions",
"organizations_url": "https://api.github.com/users/ducompsoc/orgs",
"repos_url": "https://api.github.com/users/ducompsoc/repos",
"events_url": "https://api.github.com/users/ducompsoc/events{/privacy}",
"received_events_url": "https://api.github.com/users/ducompsoc/received_events",
"type": "Organization",
"user_view_type": "public",
"site_admin": false
},
"html_url": "https://github.com/ducompsoc/durhack",
"description": "\ud83c\udf8a DurHack website @ durhack.com",
"fork": false,
"url": "https://api.github.com/repos/ducompsoc/durhack",
"forks_url": "https://api.github.com/repos/ducompsoc/durhack/forks",
"keys_url": "https://api.github.com/repos/ducompsoc/durhack/keys{/key_id}",
"collaborators_url": "https://api.github.com/repos/ducompsoc/durhack/collaborators{/collaborator}",
"teams_url": "https://api.github.com/repos/ducompsoc/durhack/teams",
"hooks_url": "https://api.github.com/repos/ducompsoc/durhack/hooks",
"issue_events_url": "https://api.github.com/repos/ducompsoc/durhack/issues/events{/number}",
"events_url": "https://api.github.com/repos/ducompsoc/durhack/events",
"assignees_url": "https://api.github.com/repos/ducompsoc/durhack/assignees{/user}",
"branches_url": "https://api.github.com/repos/ducompsoc/durhack/branches{/branch}",
"tags_url": "https://api.github.com/repos/ducompsoc/durhack/tags",
"blobs_url": "https://api.github.com/repos/ducompsoc/durhack/git/blobs{/sha}",
"git_tags_url": "https://api.github.com/repos/ducompsoc/durhack/git/tags{/sha}",
"git_refs_url": "https://api.github.com/repos/ducompsoc/durhack/git/refs{/sha}",
"trees_url": "https://api.github.com/repos/ducompsoc/durhack/git/trees{/sha}",
"statuses_url": "https://api.github.com/repos/ducompsoc/durhack/statuses/{sha}",
"languages_url": "https://api.github.com/repos/ducompsoc/durhack/languages",
"stargazers_url": "https://api.github.com/repos/ducompsoc/durhack/stargazers",
"contributors_url": "https://api.github.com/repos/ducompsoc/durhack/contributors",
"subscribers_url": "https://api.github.com/repos/ducompsoc/durhack/subscribers",
"subscription_url": "https://api.github.com/repos/ducompsoc/durhack/subscription",
"commits_url": "https://api.github.com/repos/ducompsoc/durhack/commits{/sha}",
"git_commits_url": "https://api.github.com/repos/ducompsoc/durhack/git/commits{/sha}",
"comments_url": "https://api.github.com/repos/ducompsoc/durhack/comments{/number}",
"issue_comment_url": "https://api.github.com/repos/ducompsoc/durhack/issues/comments{/number}",
"contents_url": "https://api.github.com/repos/ducompsoc/durhack/contents/{+path}",
"compare_url": "https://api.github.com/repos/ducompsoc/durhack/compare/{base}...{head}",
"merges_url": "https://api.github.com/repos/ducompsoc/durhack/merges",
"archive_url": "https://api.github.com/repos/ducompsoc/durhack/{archive_format}{/ref}",
"downloads_url": "https://api.github.com/repos/ducompsoc/durhack/downloads",
"issues_url": "https://api.github.com/repos/ducompsoc/durhack/issues{/number}",
"pulls_url": "https://api.github.com/repos/ducompsoc/durhack/pulls{/number}",
"milestones_url": "https://api.github.com/repos/ducompsoc/durhack/milestones{/number}",
"notifications_url": "https://api.github.com/repos/ducompsoc/durhack/notifications{?since,all,participating}",
"labels_url": "https://api.github.com/repos/ducompsoc/durhack/labels{/name}",
"releases_url": "https://api.github.com/repos/ducompsoc/durhack/releases{/id}",
"deployments_url": "https://api.github.com/repos/ducompsoc/durhack/deployments",
"created_at": 1572907102,
"updated_at": "2025-06-19T07:43:15Z",
"pushed_at": 1750319254,
"git_url": "git://github.com/ducompsoc/durhack.git",
"ssh_url": "[email protected]:ducompsoc/durhack.git",
"clone_url": "https://github.com/ducompsoc/durhack.git",
"svn_url": "https://github.com/ducompsoc/durhack",
"homepage": "https://durhack.com",
"size": 271384,
"stargazers_count": 6,
"watchers_count": 6,
"language": "TypeScript",
"has_issues": true,
"has_projects": true,
"has_downloads": true,
"has_wiki": true,
"has_pages": false,
"has_discussions": false,
"forks_count": 6,
"mirror_url": null,
"archived": false,
"disabled": false,
"open_issues_count": 22,
"license": null,
"allow_forking": true,
"is_template": false,
"web_commit_signoff_required": false,
"topics": [],
"visibility": "public",
"forks": 6,
"open_issues": 22,
"watchers": 6,
"default_branch": "main",
"stargazers": 6,
"master_branch": "main",
"organization": "ducompsoc",
"custom_properties": {}
},
"pusher": {
"name": "Lordfirespeed",
"email": "[email protected]"
},
"organization": {
"login": "ducompsoc",
"id": 17937249,
"node_id": "MDEyOk9yZ2FuaXphdGlvbjE3OTM3MjQ5",
"url": "https://api.github.com/orgs/ducompsoc",
"repos_url": "https://api.github.com/orgs/ducompsoc/repos",
"events_url": "https://api.github.com/orgs/ducompsoc/events",
"hooks_url": "https://api.github.com/orgs/ducompsoc/hooks",
"issues_url": "https://api.github.com/orgs/ducompsoc/issues",
"members_url": "https://api.github.com/orgs/ducompsoc/members{/member}",
"public_members_url": "https://api.github.com/orgs/ducompsoc/public_members{/member}",
"avatar_url": "https://avatars.githubusercontent.com/u/17937249?v=4",
"description": "A repository for projects created by the society!"
},
"sender": {
"login": "Lordfirespeed",
"id": 28568841,
"node_id": "MDQ6VXNlcjI4NTY4ODQx",
"avatar_url": "https://avatars.githubusercontent.com/u/28568841?v=4",
"gravatar_id": "",
"url": "https://api.github.com/users/Lordfirespeed",
"html_url": "https://github.com/Lordfirespeed",
"followers_url": "https://api.github.com/users/Lordfirespeed/followers",
"following_url": "https://api.github.com/users/Lordfirespeed/following{/other_user}",
"gists_url": "https://api.github.com/users/Lordfirespeed/gists{/gist_id}",
"starred_url": "https://api.github.com/users/Lordfirespeed/starred{/owner}{/repo}",
"subscriptions_url": "https://api.github.com/users/Lordfirespeed/subscriptions",
"organizations_url": "https://api.github.com/users/Lordfirespeed/orgs",
"repos_url": "https://api.github.com/users/Lordfirespeed/repos",
"events_url": "https://api.github.com/users/Lordfirespeed/events{/privacy}",
"received_events_url": "https://api.github.com/users/Lordfirespeed/received_events",
"type": "User",
"user_view_type": "public",
"site_admin": false
},
"created": false,
"deleted": true,
"forced": false,
"base_ref": null,
"compare": "https://github.com/ducompsoc/durhack/compare/b56b8586bdd9...000000000000",
"commits": [],
"head_commit": null
},
"type": "push",
"id": "a9c7fe7e-4ce1-11f0-9d7a-bdfeb1d8f5a1",
"__dataclass__": "GitHubEvent"
}
Metadata
Metadata
Assignees
Labels
No labels