Skip to content

feat: expose resolve storage status - #261

Merged
nicklasl merged 6 commits into
mainfrom
nicklasl/resolve-storage-status
Sep 10, 2026
Merged

nicklasl merged 6 commits into
mainfrom
nicklasl/resolve-storage-status

Conversation

@nicklasl

Copy link
Copy Markdown
Member

Summary

  • expose resolve storage metadata and pluggable status checks
  • persist fetch timestamps in evolvable JSON metadata
  • add max-age behavior and initialization strategy documentation

Testing

  • focused resolve-storage unit tests
  • context race regression tests
  • ktlint, Android lint, and API compatibility checks

@nicklasl
nicklasl marked this pull request as ready for review September 10, 2026 10:08
) : DiskStorage {
private val applyFile: File,
private val resolveMetadataFile: File,
private val clock: Clock = Clock.CalendarBacked.systemUTC()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

if we have an interface for getting time then we could easily mock it in the tests.

@nicklasl
nicklasl merged commit 12ece40 into main Sep 10, 2026
2 checks passed
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