Skip to content

feat(scaffold): output deployed program IDs in generated runbooks - #776

Open
michael-moffett wants to merge 2 commits into
solana-foundation:mainfrom
caliperforge:p032/scaffold-339-program-id-output
Open

feat(scaffold): output deployed program IDs in generated runbooks#776
michael-moffett wants to merge 2 commits into
solana-foundation:mainfrom
caliperforge:p032/scaffold-339-program-id-output

Conversation

@michael-moffett

Copy link
Copy Markdown

Adds an output "<program_name>_program_id" construct per deployed program to the scaffolded runbooks, following the addon's _program_id naming convention; happy to switch to a single map output if you'd prefer.

Closes #339

@greptile-apps

greptile-apps Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

The PR adds a named program-ID output for each program in both in-memory and on-disk scaffolded deployment runbooks.

  • Generates <program_name>_program_id outputs from each deployment action’s program_id.
  • Adds a unit test covering multiple generated output blocks and their spacing.

Confidence Score: 5/5

The PR appears safe to merge, with no concrete blocking or non-blocking issue identified.

Both scaffold paths append consistently named outputs tied to their corresponding deployment actions, and the generated multi-program output structure is covered by a focused unit test.

Important Files Changed

Filename Overview
crates/cli/src/scaffold/mod.rs Adds shared output-block generation to both scaffold paths and tests the generated text; no actionable defect was established.

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.

Generated runbooks: output program_id(s)

1 participant