Skip to content

Add async GitHub REST plumbing#340

Merged
ezyang merged 10 commits into
mainfrom
gh/ezyang/53/head
May 10, 2026
Merged

Add async GitHub REST plumbing#340
ezyang merged 10 commits into
mainfrom
gh/ezyang/53/head

Conversation

@ezyang
Copy link
Copy Markdown
Owner

@ezyang ezyang commented May 10, 2026

No description provided.

[ghstack-poisoned]
@ezyang
Copy link
Copy Markdown
Owner Author

ezyang commented May 10, 2026

ezyang added 5 commits May 10, 2026 12:04
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
[ghstack-poisoned]
@ezyang ezyang changed the base branch from main to gh/ezyang/57/head May 10, 2026 16:26
ezyang added 2 commits May 10, 2026 12:49
[ghstack-poisoned]
[ghstack-poisoned]
@ezyang ezyang changed the base branch from gh/ezyang/57/head to gh/ezyang/58/head May 10, 2026 16:49
[ghstack-poisoned]
@ezyang ezyang force-pushed the gh/ezyang/53/head branch from 9f049c8 to 95e5abf Compare May 10, 2026 17:08
@ezyang ezyang force-pushed the gh/ezyang/58/head branch from bd08024 to 68a19c7 Compare May 10, 2026 17:08
Base automatically changed from gh/ezyang/58/head to main May 10, 2026 17:34
backoff_seconds = INITIAL_BACKOFF_SECONDS
request_id = next(self._rest_request_ids)
log_prefix = f"rest[{request_id}]"
async with aiohttp.ClientSession() as session:
Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll fix this to create a ClientSession only once later in the stack; with the sync BC APIs it is hard to do.

[ghstack-poisoned]
@ezyang ezyang enabled auto-merge (squash) May 10, 2026 20:33
@ezyang ezyang merged commit cf77874 into main May 10, 2026
16 checks passed
@ezyang ezyang deleted the gh/ezyang/53/head branch May 10, 2026 20:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant