Skip to content

[REHEARSAL] scaffold: emit a program-id output block per program - #9

Closed
michael-moffett wants to merge 2 commits into
mainfrom
p032/scaffold-339-program-id-output
Closed

[REHEARSAL] scaffold: emit a program-id output block per program#9
michael-moffett wants to merge 2 commits into
mainfrom
p032/scaffold-339-program-id-output

Conversation

@michael-moffett

Copy link
Copy Markdown
Member

DO NOT MERGE. Rehearsal PR on the fork, opened to exercise CI against a base literally named main. The upstream-facing change is tracked at solana-foundation#339.

Base is caliperforge/surfpool@main, fast-forwarded to upstream tip e3b7df0e. Diff is one file, crates/cli/src/scaffold/mod.rs.

@greptile-apps

greptile-apps Bot commented Aug 24, 2026

Copy link
Copy Markdown

Greptile Summary

The PR extends generated deployment runbooks with one program-ID output block per deployed program.

  • Adds a shared output-template helper referencing each deployment action's program_id.
  • Emits outputs in both in-memory and on-disk scaffold paths.
  • Adds a unit test covering multiple output blocks and blank-line separation.

Confidence Score: 5/5

The code change appears safe, although the PR description explicitly marks this rehearsal pull request as not intended for merging.

The generated output blocks consistently use the same program metadata supplied to the corresponding deployment-template calls, and the investigation established no reachable contract, syntax, or runtime failure.

Important Files Changed

Filename Overview
crates/cli/src/scaffold/mod.rs Adds per-program deployment outputs consistently across both scaffold paths, with formatting coverage and no established actionable defect.

Reviews (1): Last reviewed commit: "test(scaffold): assert the program-outpu..." | Re-trigger Greptile

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