#span debug dump

1 messages · Page 1 of 1 (latest)

hexed tide
#

hello again! have been running dagger 0.9 for a year now for an important pipeline without issue. now have the opportunity to redesign it, starting from scratch with 0.13.3.
first, I have a shell one-liner string passed in to my function via dagger call, I 'm seeing ETOOBIG on the console for a larger string:

is that problem or fine to ignore?

#

second, found what appears to be a bug, passing in a string to modify an existing EnvVar with, depending on the content/length of the additional values. For a longer value, the CLI returns the help screen, when I shorten it, I get pages of debug span that looks like this:

┆  31 22:42:44 DBG recording span span="exec docker ps -a --no-trunc --filter name=^/dagger-engine- --format {{.Names}}" id=3379c5fdf19bb775
┆  32 22:42:44 DBG recording span child span="exec docker ps -a --no-trunc --filter name=^/dagger-engine- --format {{.Names}}" parent=34ebed8d4fbff69f child=3379c5fdf19bb775               ┆  33 22:42:44 DBG new end old="1754-08-30 16:53:05.128654848 -0550 LMT" new="2024-10-06 22:42:44.420812279 -0500 CDT"
┆  34 22:42:44 DBG recording span span="exec docker ps -a --no-trunc --filter name=^/dagger-engine- --format {{.Names}}" id=3379c5fdf19bb775
┆  35 22:42:44 DBG recording span child span="exec docker ps -a --no-trunc --filter name=^/dagger-engine- --format {{.Names}}" parent=34ebed8d4fbff69f child=3379c5fdf19bb775
┆  36 22:42:44 DBG recording span span="exec docker start dagger-engine-v0.13.3" id=b35b5f352253915c
┆  37 22:42:44 DBG recording span child span="exec docker start dagger-engine-v0.13.3" parent=34ebed8d4fbff69f child=b35b5f352253915c
...
┆ 568 22:42:45 DBG recording span child span=Module.name parent=d94e03c917991103 child=6392d7e52b7e3647
┆ 569 22:42:45 DBG new end old="2024-10-06 22:42:45.02873983 -0500 CDT" new="2024-10-06 22:42:45.02880279 -0500 CDT"
┆ 570 22:42:45 DBG recording span span="POST /query" id=d94e03c917991103
┆ 571 22:42:45 DBG recording span child span="POST /query" parent=0b7dba8df48205fb child=d94e03c917991103
┆ 572 22:42:45 DBG recording span span="POST /query" id=434644fabf8a826c
┆ 573 22:42:45 DBG recording span child span="POST /query" parent=9d85eee1e685335d child=434644fabf8a826c
#

the parameter is cflagsAppend:

  114 ▎       buildContainer = buildContainer.WithEnvVariable("CFLAGS", "$CFLAGS "+cflagsAppend, dagger.ContainerWithEnvVariableOpts{Expand: true})

I'm able to modify CFLAGS in another calls in, except for one case. I'm able to reproduce this with busybox and an empty context dir.