-
Notifications
You must be signed in to change notification settings - Fork 1.9k
feat(cli): Add program ID mismatch check before building #4018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
jacobcreech
merged 28 commits into
solana-foundation:master
from
swaroop-osec:feat/issue-3985
Nov 27, 2025
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
fc516a5
feat(cli): Add program ID mismatch check before building
swaroop-osec f85a0b8
feat(cli): Skip program ID mismatch check if --skip-lint is used
swaroop-osec 8eb0895
chore(tests): Add --skip-lint option to anchor build command
swaroop-osec 00c0406
fix(tests): Sync keys before building programs in safety checks
swaroop-osec aee5b8b
fix(cli): Update program ID mismatch message to include '--skip-lint'…
swaroop-osec 84d1d6d
chore(tests): Fix safety-checks test
swaroop-osec 70e98e5
fix(tests): Fix typescript error
swaroop-osec 00b2178
chore(tests): Add cleanup commands to safety-checks test
swaroop-osec 0f59f0b
refactor(tests): Update confirmation options in CPI return and events…
swaroop-osec c7606e7
refactor(tests): prettier
swaroop-osec b289fe2
feat(cli): Introduce --ignore-keys option to skip program ID mismatch…
swaroop-osec 103b06b
refactor(tests): Restore test.sh from master
swaroop-osec 7da9bfc
fix(tests): Update safety-checks test to use --ignore-keys
swaroop-osec 94567f9
Merge branch 'master' into feat/issue-3985
swaroop-osec be62982
refactor(cli): Clippy Fixes
swaroop-osec b6296dd
chore(tutorial): Update test script to include --ignore-keys option a…
swaroop-osec 81671e3
fix(tests): Format bench.json
swaroop-osec 00232ad
fix(tests): Add --ignore-keys option to stack-memory test build command
swaroop-osec 0eb5a9c
fix(tests): Remove newline at end of bench.json
swaroop-osec 473a55a
fix(tests): Format stack-memory.ts
swaroop-osec ee50cd7
feat(docs): Update CHANGELOG.md
swaroop-osec 1ddbe4b
fix(tests): Set ignore_keys to true in anchor test
swaroop-osec 96b39de
fix(tests): Remove --ignore-keys option from anchor test
swaroop-osec 5d362d1
feat(cli): Updated docs
swaroop-osec ea8b254
refactor(cli): Fix clippy warnings
swaroop-osec dc40703
Merge branch 'master' into feat/issue-3985
jacobcreech 1ff62e4
chore: fix merge conflict
jacobcreech 686dde0
fix: merge conflict
jacobcreech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤔 What change caused this to be needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tbh I really have no idea some times the typescript raises errors. And the tests were passed locally without this change. Another example