Merge pull request #72 from zcash/more-graphql-bugfixes

More GraphQL bugfixes
This commit is contained in:
Jack Grigg 2024-11-02 00:37:23 +00:00 committed by GitHub
commit 68adbae860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 9 deletions

View File

@ -130,7 +130,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ZENHUB_TOKEN: ${{ secrets.ZENHUB_TOKEN }}
DAG_VIEW: zcashd-deprecation
TERMINATE_AT: "zcash/librustzcash#1349,zcash/zcash#5796,zcash/zcash#6453"
TERMINATE_AT: "zcash/wallet#5,zcash/wallet#6,zcash/zcash#5796"
- name: Render Sprout pool deprecation DAG
run: python3 ./zcash-issue-dag.py

View File

@ -101,15 +101,19 @@ def get_epics(endpoint, workspace_id, repos):
d = endpoint(op)
data = op + d
epics_page = data.workspace.epics
epics += [
(node.id, (node.issue.repository.gh_id, node.issue.number))
for node in epics_page.nodes
]
if hasattr(data.workspace, 'epics'):
epics_page = data.workspace.epics
epics += [
(node.id, (node.issue.repository.gh_id, node.issue.number))
for node in epics_page.nodes
]
if epics_page.page_info.has_next_page:
cursor = epics_page.page_info.end_cursor
print('.', end='', flush=True)
if epics_page.page_info.has_next_page:
cursor = epics_page.page_info.end_cursor
print('.', end='', flush=True)
else:
print()
break
else:
print()
break