Skip to content

Make requirement lowering async - #20573

Merged
charliermarsh merged 1 commit into
mainfrom
charlie/async-requirement-lowering
Jul 21, 2026
Merged

charliermarsh merged 1 commit into
mainfrom
charlie/async-requirement-lowering

Conversation

@charliermarsh

Copy link
Copy Markdown
Member

Summary

Requirement lowering currently returns synchronous iterators, which prevents source lowering from performing asynchronous work such as workspace discovery. Make the workspace and non-workspace lowering APIs async and move flattening into their callers while preserving requirement order and existing error context.

This is a preparatory change for #18401, allowing workspace sources to use the existing async discovery path without duplicating synchronous workspace traversal.

@charliermarsh charliermarsh added the internal A refactor or improvement that is not user-facing label Jul 21, 2026
@charliermarsh
charliermarsh marked this pull request as ready for review July 21, 2026 17:04
@charliermarsh
charliermarsh merged commit 1cc9443 into main Jul 21, 2026
60 checks passed
@charliermarsh
charliermarsh deleted the charlie/async-requirement-lowering branch July 21, 2026 18:06

This branch was previously deployed

1 inactive deployment
automations — 4eeed76b Deployed Jul 21, 2026 by charliermarsh via review / security review #42947
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants