Skip to content

test(rev_store): leaking mutable state#13559

Merged
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-xxwzusukrnvp
Feb 6, 2026
Merged

test(rev_store): leaking mutable state#13559
Alizter merged 1 commit intoocaml:mainfrom
Alizter:push-xxwzusukrnvp

Conversation

@Alizter
Copy link
Collaborator

@Alizter Alizter commented Feb 6, 2026

Fetching a non-existent revision twice from the revision store will trick it into thinking it exists and then will fail.

This is due to a half-implemented mechanism to cache unsuccessful fetches.

I will propose one of the following in a follow up PR:

  • Implement this caching correctly
  • Remove this caching entirely

Signed-off-by: Ali Caglayan <alizter@gmail.com>
@Alizter Alizter merged commit bb6ec04 into ocaml:main Feb 6, 2026
28 checks passed
@Alizter Alizter deleted the push-xxwzusukrnvp branch February 6, 2026 18:17
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.

2 participants