Skip to content

index: make has_id() async - #9901

Merged
OlshaMB merged 1 commit into
jj-vcs:mainfrom
r2rn:push-rsvtvupnstqn
Aug 11, 2026
Merged

index: make has_id() async#9901
OlshaMB merged 1 commit into
jj-vcs:mainfrom
r2rn:push-rsvtvupnstqn

Conversation

@OlshaMB

@OlshaMB OlshaMB commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes
  • I fully understand the code that I am submitting (what it does,
    how it works, how it's organized), including any code drafted by an LLM.
  • For any prose generated by an LLM, I have proof-read and copy-edited with
    an eye towards deleting anything that is irrelevant, clarifying anything
    that is confusing, and adding details that are relevant. This includes,
    for example, commit descriptions, PR descriptions, and code comments.

@OlshaMB
OlshaMB requested a review from a team as a code owner August 2, 2026 16:14
@OlshaMB
OlshaMB force-pushed the push-rsvtvupnstqn branch from 38f0876 to 1b84155 Compare August 2, 2026 16:16
@OlshaMB OlshaMB changed the title index: make Index.has_id async index: make has_id() async Aug 2, 2026
@PhilipMetzger

Copy link
Copy Markdown
Contributor

nit: "nessasary" => "necessary" in the commit message.

@OlshaMB
OlshaMB force-pushed the push-rsvtvupnstqn branch from 1b84155 to 62a89c0 Compare August 2, 2026 16:33
@OlshaMB

OlshaMB commented Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

nit: "nessasary" => "necessary" in the commit message.

fixed

@icorbrey icorbrey left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Small nits re: closures, but otherwise looks good

Comment thread lib/src/git.rs Outdated
Comment thread lib/src/repo.rs Outdated
Comment thread lib/src/id_prefix.rs
Comment thread lib/src/git.rs Outdated
Comment thread lib/src/repo.rs Outdated
@OlshaMB
OlshaMB force-pushed the push-rsvtvupnstqn branch 3 times, most recently from 2fdc35d to 22638a2 Compare August 5, 2026 08:51
Comment thread lib/src/repo.rs Outdated
@OlshaMB
OlshaMB requested review from icorbrey and martinvonz August 9, 2026 16:25
Comment thread lib/src/git.rs Outdated
Comment thread lib/src/repo.rs Outdated
Comment thread lib/src/repo.rs Outdated
This makes `has_id` on Index async, converts iterator where necessary to
async vec. For now introduces block_on in id_prefix.rs, since converting
that requires modifying revset engine.
@OlshaMB
OlshaMB force-pushed the push-rsvtvupnstqn branch from 22638a2 to 6839805 Compare August 11, 2026 15:54
@OlshaMB
OlshaMB requested a review from martinvonz August 11, 2026 15:55
@OlshaMB
OlshaMB added this pull request to the merge queue Aug 11, 2026
Merged via the queue into jj-vcs:main with commit a47d644 Aug 11, 2026
35 checks passed
@OlshaMB
OlshaMB deleted the push-rsvtvupnstqn branch August 11, 2026 16:27
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.

5 participants