Skip to content

Resolve candidate snippets for preview - #1332

Draft
danielporterda wants to merge 1 commit into
snippet-resolve-immutable-sourcefrom
snippet-resolve-candidate-preview
Draft

Resolve candidate snippets for preview#1332
danielporterda wants to merge 1 commit into
snippet-resolve-immutable-sourcefrom
snippet-resolve-candidate-preview

Conversation

@danielporterda

@danielporterda danielporterda commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

What changed

  • resolves a candidate PR reference to its current head commit
  • reads the declared path at that head for preview

Why

Candidate preview is distinct from production resolution: before merge, the PR head is the only commit containing the proposed source.

Validation

  • 3 focused resolver tests
  • Ruff
  • mypy
  • git diff --check

Not included

  • post-merge resolution
  • GitHub HTTP implementation

Signed-off-by: danielporterda <daniel.porter@digitalasset.com>
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.

1 participant