Skip to content

test(rev_store): leaking mutable state - #13559

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

Alizter merged 1 commit into
ocaml:mainfrom
Alizter:push-xxwzusukrnvp

Conversation

@Alizter

@Alizter Alizter commented Feb 6, 2026

Copy link
Copy Markdown
Collaborator

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

@Alizter
Alizter merged commit bb6ec04 into ocaml:main Feb 6, 2026
26 checks passed
@Alizter
Alizter deleted the push-xxwzusukrnvp branch February 6, 2026 18:17
@Alizter Alizter added this to the 3.22.0 milestone Jul 8, 2026
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