Skip to content

acc: nostamp in Python, and drop it where the stamp cannot appear - #6461

Draft
shreyas-goenka wants to merge 1 commit into
mainfrom
isaac/dms-nostamp
Draft

acc: nostamp in Python, and drop it where the stamp cannot appear#6461
shreyas-goenka wants to merge 1 commit into
mainfrom
isaac/dms-nostamp

Conversation

@shreyas-goenka

Copy link
Copy Markdown
Contributor

Addresses two review comments from #6444.

nostamp was a dense jq program that would fail quietly if the shape changed, and passed unexpected arguments straight to jq; it is now Python that names the three shapes it strips and rejects arguments. It can reject them because the only call site passing any was permission_level_migration, which pins EnvMatrix.DMS = [""] — no stamp can reach it, so the pipe is gone.

Output is unchanged: the bundle suite passes with no golden regenerated.

This pull request and its description were written by Isaac.

The jq program was dense enough that a shape change would fail quietly, and an
unexpected argument went straight to jq. Python states the three shapes it strips
and rejects arguments outright, which it can now do because the only call site
that passed any was permission_level_migration - and that test pins
EnvMatrix.DMS = [""], so no stamp ever reaches it.

Output is unchanged: the bundle suite passes without regenerating a golden.

Co-authored-by: Isaac <no-reply@databricks.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