Skip to content

Don't print the config at the end of 'dagger up' - #246

Merged
shykes merged 1 commit into
mainfrom
up-no-print
Apr 2, 2021
Merged

shykes merged 1 commit into
mainfrom
up-no-print

Conversation

@shykes

@shykes shykes commented Apr 2, 2021

Copy link
Copy Markdown
Contributor

Now that we have dagger query, we don’t need to print the contents of the config every time we re-up it.

@aluzzardi

Copy link
Copy Markdown
Contributor

That function is shared with both up and compute, the latter being the (current) backbone of the test integration suite (hence why the tests are failing).

Can this PR be modified so the behavior of dagger compute doesn't change, for now?

@shykes

shykes commented Apr 2, 2021

Copy link
Copy Markdown
Contributor Author

That function is shared with both up and compute, the latter being the (current) backbone of the test integration suite (hence why the tests are failing).

Can this PR be modified so the behavior of dagger compute doesn't change, for now?

Done, PTAL.

@shykes
shykes merged commit 0a28f04 into main Apr 2, 2021
@shykes
shykes deleted the up-no-print branch April 2, 2021 00:54
@samalba

samalba commented Apr 2, 2021

Copy link
Copy Markdown
Contributor

query does not resolve the result yet, so we can't see results anymore.

@shykes

shykes commented Apr 2, 2021

Copy link
Copy Markdown
Contributor Author

query does not resolve the result yet, so we can't see results anymore.

I didn’t realize that. Is the missing code in query or up ?

@samalba

samalba commented Apr 2, 2021 via email

Copy link
Copy Markdown
Contributor

sipsma added a commit that referenced this pull request Nov 3, 2026
The engine pinned Guillaume's fork of Dang for vito/dang#211, which adds
PrepareDir and PreparedDirectory.Evaluate. vito/dang#250 carried that
change onto Dang main and merged, so Dang now moves to its merge commit
and the replace of the fork goes away.

Since the merge of vito/dang#213 that Dang was on before, Dang's type
checker became stricter (vito/dang#230 to #235, #246 and #249): programs
it accepted that could fail at runtime are now type errors, so a module
that loaded before may now fail to load. Among them, operators need
non-null operands, Map.get is typed as nullable (vito/dang#215), and a
decode result must be given a type before it is used. Function
parameters match by name, so a positional call through an interface
binds in the interface's order. YAML << merge keys are resolved when
decoding (vito/dang#217), and malformed syntax is reported instead of
panicking the parser (vito/dang#243). The release note describes what
module authors will see.

Signed-off-by: Erik Sipsma <[email protected]>
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.

3 participants