status stringclasses 1
value | repo_name stringclasses 13
values | repo_url stringclasses 13
values | issue_id int64 1 104k | updated_files stringlengths 11 1.76k | title stringlengths 4 369 | body stringlengths 0 254k ⌀ | issue_url stringlengths 38 55 | pull_url stringlengths 38 53 | before_fix_sha stringlengths 40 40 | after_fix_sha stringlengths 40 40 | report_datetime timestamp[ns, tz=UTC] | language stringclasses 5
values | commit_datetime timestamp[us, tz=UTC] |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
closed | dagger/dagger | https://github.com/dagger/dagger | 5,205 | ["cmd/dagger/listen.go"] | 🐞 `dagger listen` stopped working in v0.6.0 release | ### What is the issue?
`dagger listen` doesn't work anymore since starting from v0.6.0, it starts the TUI instead of executing the actual `listen` command
### Log output

### Steps to reproduce
run `dagger listen`
###... | https://github.com/dagger/dagger/issues/5205 | https://github.com/dagger/dagger/pull/5219 | 2dd8717ee0c09230dbc2d9bee5d3f6343e8ccd36 | 7a48b9b25a612d3568f198e17fb3e3889219b276 | 2023-05-26T02:20:22Z | go | 2023-05-31T21:54:07Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,196 | ["cmd/dagger/engine.go", "cmd/dagger/run.go"] | ✨ `dagger run` does not print the running program's stdout | ### What are you trying to do?
Weird use-case I'm sure but I have a Dagger pipeline ran using 'go run ./cmd', which prints some data to stdout, which we are writing to a file.
```
go run ./cmd > out.txt
```
When we use `dagger run` with this, it doesn't print anything.
### Why is this important to you?
... | https://github.com/dagger/dagger/issues/5196 | https://github.com/dagger/dagger/pull/5231 | dfc9063a109d00b5831862e7e549e25718d08815 | e4bbec135098db82515c8b1033b820b888d2e125 | 2023-05-25T16:10:02Z | go | 2023-06-01T13:21:27Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,192 | ["sdk/python/src/dagger/connection.py", "sdk/python/tests/api/test_integration_sync.py"] | Deprecate sync Python | ## Summary
Raise a deprecation warning when using the synchronous version of the Python SDK in favor of only the asynchronous one.
## Motivation
It’s simple to move from sync to async, but the opposite isn’t true.
There’s multiple disadvantages for having these two versions:
- more complicated codebase le... | https://github.com/dagger/dagger/issues/5192 | https://github.com/dagger/dagger/pull/5193 | 6f171dca6d2456ad5602dba4e1348b1762bd2ec8 | ddac9322b7a6fe0ae561f5f06aafa87f7c56e9e5 | 2023-05-25T12:09:24Z | go | 2023-05-25T14:22:23Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,191 | ["cmd/dagger/engine.go", "cmd/dagger/run.go", "internal/tui/item.go", "internal/tui/tree.go"] | 🐞 TUI display incorrect when sdk crash with exception | ### What is the issue?
From https://github.com/wingyplus/kaogeek-discord-bot/tree/dagger/deployment
I accidentally set export to `docker.io/kaogeek` and found crash when running in auto provisioning mode. When running with TUI feature I see all pass at first but it hide the crash log in the first step and step ex... | https://github.com/dagger/dagger/issues/5191 | https://github.com/dagger/dagger/pull/5232 | b267d5999a927ba73e7978f0938fc827eb642c9c | 6d75e9b34a4bf70f454e201849998f34713352db | 2023-05-25T03:17:54Z | go | 2023-06-01T18:17:32Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,171 | ["core/schema/secret.go", "router/schema.go"] | 🐞 Running TUI with `--debug` flag exposes secret values | ### What is the issue?
Running the TUI with `dagger run --debug` exposes the secrets otherwise masked in the logs. I can observe the `withSecretVariable` being exposed in the listing of stages.
### Log output
_No response_
### Steps to reproduce
Run any pipeline that has a `withSecretVar` with `dagger run --debug ... | https://github.com/dagger/dagger/issues/5171 | https://github.com/dagger/dagger/pull/5186 | e171dc4252e464031737b51fee4c54531b4b537d | 6f171dca6d2456ad5602dba4e1348b1762bd2ec8 | 2023-05-23T04:41:10Z | go | 2023-05-25T14:21:41Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,140 | ["core/integration/container_test.go", "core/schema/container.go", "core/schema/container.graphqls", "core/util.go", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | Expand environment variables in `withEnvVariable` values | ### Discussed in https://github.com/dagger/dagger/discussions/5001
<div type='discussions-op-text'>
<sup>Originally posted by **wingyplus** April 21, 2023</sup>
I want to install something and append it to `PATH` to make it accessible. So how to prepend the new directory into the env variable as we do with `PATH... | https://github.com/dagger/dagger/issues/5140 | https://github.com/dagger/dagger/pull/5160 | c2fcf8390801585188042d12ee8190b436cc9c2f | e171dc4252e464031737b51fee4c54531b4b537d | 2023-05-16T15:18:49Z | go | 2023-05-25T09:29:47Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,124 | [".changes/unreleased/Deprecated-20230718-173905.yaml", "core/schema/container.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | Deprecate `exitCode` | ## Summary
I’m proposing we deprecate `exitCode` in favor of [`sync`](https://github.com/dagger/dagger/pull/5071) and [`ExecError`](https://github.com/dagger/dagger/pull/5184) as an alternative solution to https://github.com/dagger/dagger/issues/3192.
## Motivation
The `Container.exitCode` field doesn’t make s... | https://github.com/dagger/dagger/issues/5124 | https://github.com/dagger/dagger/pull/5481 | 9d87f496046ccfc5ec82d86a7c0aea71933df3a1 | 9aff03b6150c1ab45189523a63f2a97f1ddac283 | 2023-05-10T15:14:10Z | go | 2023-07-18T18:03:07Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,084 | [".changes/unreleased/Added-20230815-154334.yaml", "core/directory.go", "core/file.go"] | TUI: show directory export target | ## Problem
In the new (and awesome) TUI:
* directory imports (reading from host filesystem) are shown with the source path ✅
* but directory exports (writing from host filesystem) don't 😢
Example:
... | https://github.com/dagger/dagger/issues/5084 | https://github.com/dagger/dagger/pull/5632 | ece3f3691ac5d241a2e8d3bf047c2ea8cf952547 | badf974d4e5d4592602c4ed876a0da50c9d74e5c | 2023-05-04T05:59:34Z | go | 2023-08-15T16:22:20Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,077 | ["cmd/shim/main.go", "core/gateway.go", "core/integration/container_test.go"] | Add `(truncated output)` to stdout/stderr errors | @helderco mentioned:
> Can we append some notice like "truncated output"? Multiple users have been confused that the output is truncated, reporting it as a bug. | https://github.com/dagger/dagger/issues/5077 | https://github.com/dagger/dagger/pull/5163 | 7d8738d64889572fd5ac7d9930c2f16b4c3629d2 | e0fecd2682e63b5c0fb18a18e77f4ea001bf6219 | 2023-05-02T21:11:43Z | go | 2023-05-22T21:21:17Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,069 | [".changes/unreleased/Added-20230727-114058.yaml", "core/integration/host_test.go", "core/schema/host.go", "core/schema/host.graphqls", "core/schema/secret.go", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "secret/store.go"] | Handling Binary Data | ## Background
While trying to implement examples for issue [Allow directories to be mounted as secrets](https://github.com/dagger/dagger/issues/4896), it became apparent that there are limitations when dealing with binary data in GraphQL using strings. This is relevant for the purpose of mounting directories as secr... | https://github.com/dagger/dagger/issues/5069 | https://github.com/dagger/dagger/pull/5500 | 99a054bc0bc14baf91783871d8364b5be5d10177 | 09677c0311acb73891b7798d65777957f1a5d513 | 2023-05-02T14:47:43Z | go | 2023-07-28T00:04:29Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,055 | ["core/docs/d7yxc-operator_manual.md", "docs/current/faq.md"] | 🖐️ How do we specify registry mirrors? | ### What happened? What did you expect to happen?
Some people (e.g: #4217), including myself, are trying to use a private registry as a mirror for the Docker Hub registry.
This, [according to the Buildkit documentation](https://docs.docker.com/build/buildkit/configure/) is achieved with the following `/etc/buildkit... | https://github.com/dagger/dagger/issues/5055 | https://github.com/dagger/dagger/pull/5828 | 33cdd129e5395e538df38aaca8a34baa38b90c5f | 74e6393e816af380e410f7582e37de5c52ea02e8 | 2023-04-28T16:28:41Z | go | 2023-10-19T06:11:07Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,045 | ["docs/current/guides/235290-troubleshooting.md"] | Create Dagger troubleshooting guide | ### What is the issue?
Create a guide to troubleshoot Dagger.
Potentially this could also be a guide to troubleshoot Dagger pipelines.
Inspired by https://discord.com/channels/707636530424053791/1101085612750143568 | https://github.com/dagger/dagger/issues/5045 | https://github.com/dagger/dagger/pull/5046 | 98cccd79262962d7081e9048da41a03a3d0ebb50 | 08dcc156b8b0724a9f1c2cf4e5c68020334bebfb | 2023-04-27T14:07:41Z | go | 2023-05-04T13:43:48Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,027 | ["docs/current/sdk/python/628797-get-started.md"] | Clarify Python SDK installation instructions | ### What is the issue?
The Python SDK installation page at https://docs.dagger.io/sdk/python/628797/get-started does not specify how to create a virtual environment. This should be included for users unfamiliar with Python.
From Discord: "Hi, I'm trying the basic example in the tutorial at https://docs.dagger.io/sd... | https://github.com/dagger/dagger/issues/5027 | https://github.com/dagger/dagger/pull/5029 | 793f5073eda34be29092c88ca48fa9e699ed946e | cdcb1df5f2eeaf8cdbd3035cf0b5987e5e4c6c0a | 2023-04-25T14:45:04Z | go | 2023-04-27T09:20:41Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,017 | ["docs/current/guides/541047-alternative-runtimes.md"] | Create guide for substituting Docker with podman and others | ### What is the issue?
This task is to create a guide to setup Dagger in order to use podman instead of Docker.
This has been requested multiple times:
https://discord.com/channels/707636530424053791/1100004042207416404
https://discord.com/channels/707636530424053791/1100004042207416404/1100081213760340029
https... | https://github.com/dagger/dagger/issues/5017 | https://github.com/dagger/dagger/pull/5053 | 08dcc156b8b0724a9f1c2cf4e5c68020334bebfb | 08cbce9c4e1b0345f31bbfb2ca9f17dff3aa4bc4 | 2023-04-24T18:54:06Z | go | 2023-05-04T13:48:30Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,010 | ["package.json", "yarn.lock"] | 🐞 Dagger stop running when use docker dind as a service binding | ### What is the issue?
I want to use Docker as a service in Dagger. But when binding docker with service binding, the container stop running without executing any command.
I expected at least the container (Elixir container in the example) should execute `elixir --version` and return the result. Or if there's any... | https://github.com/dagger/dagger/issues/5010 | https://github.com/dagger/dagger/pull/3381 | 5b1ad4de0aaab70e4d936ad4cd29628b42e27765 | e8f5d405a3d0f236181b23c18a9ab811a5b577e3 | 2023-04-23T15:53:19Z | go | 2022-10-15T00:57:56Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,958 | ["docs/current/162770-faq.md"] | Update Dagger FAQ | ### What is the issue?
The answer to the question in https://docs.dagger.io/162770/faq#how-do-i-log-in-to-a-container-registry-using-a-dagger-sdk is outdated, as we also now have SDK methods for registry authentication. This issue is to update the answer in the FAQ to reflect the above. | https://github.com/dagger/dagger/issues/4958 | https://github.com/dagger/dagger/pull/4959 | 19447fd4cbc0069e408b6fdf08f924a0106b4a2b | 71054e36398e60f7c3f493e5e9d72ba6fe0f7bbc | 2023-04-14T06:35:50Z | go | 2023-04-21T14:15:37Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,954 | ["docs/current/guides/757394-use-service-containers.md"] | Improve the service containers guide | ### What is the issue?
From https://discord.com/channels/707636530424053791/1095626134919594084:
> include a note that service containers should be configured to listen on 0.0.0.0 instead of 127.0.0.1...
> yep - the issue with 127.0.0.1 is it'll only be reachable within the container itself, so other services (... | https://github.com/dagger/dagger/issues/4954 | https://github.com/dagger/dagger/pull/4955 | 07e7939f5fac71082f0a22025f6b83c5accebafd | 0b377e03d99b257c6ade55581056f7422a3ea39e | 2023-04-13T11:41:14Z | go | 2023-04-13T12:47:48Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,953 | ["docs/current/guides/723462-use-secrets.md"] | Improve the secrets guide | ### What is the issue?
From https://github.com/dagger/dagger/pull/4822#issuecomment-1494400399:
> A couple of thoughts:
> We should emphasise that WithSecretVariable doesn't end in the container image history, or the final layer. WithEnvVariable does, and sometimes a regular env variable that should not stick arou... | https://github.com/dagger/dagger/issues/4953 | https://github.com/dagger/dagger/pull/4956 | 0b377e03d99b257c6ade55581056f7422a3ea39e | 65649cb838d8a9a7ed83477e1b2fa840cf52919d | 2023-04-13T11:40:51Z | go | 2023-04-13T14:50:20Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,943 | ["docs/current/guides/145912-ci.md", "docs/current/guides/snippets/ci/go/actions.yml", "docs/current/guides/snippets/ci/python/Jenkinsfile", "docs/current/guides/snippets/ci/python/actions.yml", "docs/current/guides/snippets/ci/python/circle.yml", "docs/current/guides/snippets/ci/python/gitlab.yml"] | docs: Simplify CI guide | > The python dependencies install could be simplified and the go version I think is 1.20, but that can be in a follow up.
_Originally posted by @helderco in https://github.com/dagger/dagger/pull/4937#pullrequestreview-1380990279_
| https://github.com/dagger/dagger/issues/4943 | https://github.com/dagger/dagger/pull/4952 | 321d5e54079d3b4d4e88b45c43a6c81eb8f40cf8 | f0a4a3264751e93906bd07f9e10ac38b377e81a8 | 2023-04-12T16:51:18Z | go | 2023-04-22T10:03:05Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,935 | ["docs/current/quickstart/349011-quickstart-build.mdx", "docs/current/quickstart/429462-quickstart-build-dockerfile.mdx", "docs/current/quickstart/472910-quickstart-build-multi.mdx", "docs/current/quickstart/593914-quickstart-hello.mdx", "docs/current/quickstart/635927-quickstart-caching.mdx", "docs/current/quickstart/... | Selecting a specific language in code snippets does not persist consistently across pages | ### What is the issue?
1. Selecting a specific language tab in a code snippet is not persistent across pages.
Reproduction:
- https://docs.dagger.io/472910/quickstart-build-multi and select Node
- https://docs.dagger.io/252029/load-images-local-docker-engine - Node is not pre-selected
2. Selecting a specifi... | https://github.com/dagger/dagger/issues/4935 | https://github.com/dagger/dagger/pull/5018 | f5376628bc10ebcdf80807c809a5c8546bebe5d8 | 793f5073eda34be29092c88ca48fa9e699ed946e | 2023-04-12T06:40:25Z | go | 2023-04-26T07:06:08Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,934 | ["website/sidebars.js", "website/src/css/custom.scss"] | Documentation left sidebar menu is too long | ### What is the issue?
Reported by @gerhard on 11/04/23: Currently, the docs navigation menu (left menu) has sub-pages expanded. This creates a very long menu. The items at the bottom are not visible immediately unless you scroll down (eg. a user may not realize we have an FAQ since it's at the bottom of the list). ... | https://github.com/dagger/dagger/issues/4934 | https://github.com/dagger/dagger/pull/5120 | 7327f3381fe914f0acc754a024176dcc506a703f | 406efacb52ab3b2c898b327d4209ff1e9cc07400 | 2023-04-12T06:17:10Z | go | 2023-05-11T06:32:34Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,896 | ["docs/current/742989-cookbook.md", "docs/current/cookbook/snippets/mount-directories-as-secrets/index.ts", "docs/current/cookbook/snippets/mount-directories-as-secrets/main.go", "docs/current/cookbook/snippets/mount-directories-as-secrets/main.py"] | ✨Allow directories to be mounted as secrets | ### What are you trying to do?
I'm trying to create and GPG-sign a built binary with Dagger.
To do this, I need to mount my ~/.gnupg directory into my container and run `gpg --detach-sign --armor binary-name`.
The above command requires the following files (keyrings and trustdb) to create the signature:
- `~... | https://github.com/dagger/dagger/issues/4896 | https://github.com/dagger/dagger/pull/5520 | 4322a3f514514fbf18351d57b3433beca61714e7 | 1b09e476ea9b598f70eb8ecdc5f25e0d711b4f15 | 2023-04-06T13:06:11Z | go | 2023-08-03T17:22:16Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,890 | ["go.mod", "go.sum"] | 🖐️ Execute multiple commands in the same 'WithExec' sentence | ### What happened? What did you expect to happen?
Hi,
I whould like to know how can i build a container with golang making a:
[...]
WithExec([]string{"apt-get", "update"}).
WithExec([]string{"rm", "-rf", "/var/lib/apt/lists/*"}).
[...]
if i try using something like this:
WithExec([]string{"apt-get", "update... | https://github.com/dagger/dagger/issues/4890 | https://github.com/dagger/dagger/pull/1092 | 164e6e3eb8d3776de95a77fc810475c18d0a6aff | b4b472390c0087836c0b0c56843888ff2316a122 | 2023-04-03T21:18:28Z | go | 2021-11-03T22:08:13Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,878 | ["website/src/css/custom.scss"] | Change highlighting of code in Getting Started etc in docs. Hard to read with light-colored boxes on top of code | Change highlighting of code in Getting Started etc in docs. Hard to read with large light-colored boxes on top of code. Maybe some annotations on side? Like a heavy vertical line?
Looks great
<img width="200" alt="image" src="https://user-images.githubusercontent.com/3187222/229232155-3299838d-8a62-40ea-8a75-b89e33... | https://github.com/dagger/dagger/issues/4878 | https://github.com/dagger/dagger/pull/4882 | 72d64d2d6426be1d62d2f0a8374046f0c51a37cb | 8183343df314a40281e5175b92d9a4af8e691444 | 2023-03-31T21:14:29Z | go | 2023-04-04T23:06:06Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,866 | ["docs/current/guides/757394-use-service-containers.md", "docs/current/guides/snippets/use-services/use-db-service/index.ts", "docs/current/guides/snippets/use-services/use-db-service/main.go", "docs/current/guides/snippets/use-services/use-db-service/main.py"] | Add a full-fledged example to the service containers guide | ### What is the issue?
Add an example of standing up a database service for application testing to the guide at https://docs.dagger.io/757394/use-service-containers
This is a pending task from when the guide was originally created by @vito | https://github.com/dagger/dagger/issues/4866 | https://github.com/dagger/dagger/pull/4867 | 8a6c8e200cc33536edf5cb1746d265f068f40758 | ec917dc02128089f55d35c0d3450a900caf4fbe7 | 2023-03-30T09:02:15Z | go | 2023-03-30T18:48:11Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,865 | ["docs/current/sdk/nodejs/783645-get-started.md"] | Update Node get started to specify the TS configuration file if not present | ### What is the issue?
The Typescript code fails if the user doesn't have a `tsconfig.json` file already. This is not explicitly stated anywhere, so should be added. The command to create the file if not already present is `tsc --init --module esnext --moduleResolution nodenext` | https://github.com/dagger/dagger/issues/4865 | https://github.com/dagger/dagger/pull/4868 | b56aee2fe0875c1e3b5b47372e91afbee158c9ce | 522e4b82710927a4826f1a904cc1414a73d3a2be | 2023-03-30T08:55:53Z | go | 2023-03-30T14:11:49Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,856 | ["sdk/python/pyproject.toml", "sdk/python/src/dagger/api/base.py"] | ✨ Python reference: coroutines aren't clearly shown | ### What are you trying to do?
The Python reference documentation doesn't clearly show a method as being a coroutine.
<img width="720" alt="Screenshot 2023-03-29 at 17 12 08" src="https://user-images.githubusercontent.com/174525/228616311-f72cbc39-692a-4b85-9afd-6a0f60701a6f.png">
### Why is this important t... | https://github.com/dagger/dagger/issues/4856 | https://github.com/dagger/dagger/pull/5477 | d9249d675855405598247977bac98a616649e3ed | e0b1b8e4b32fb3048ec5caf1ab631b10bced8cdf | 2023-03-29T17:08:54Z | go | 2023-07-18T12:47:21Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,823 | ["sdk/nodejs/provisioning/bin.ts"] | 🐞 Dagger doesn't respect SIGINT (ctrl-c) | ### What is the issue?
From @RonanQuigley
> Dagger does not respect SIGINT (ctrl + c). Able to replicate on Mac and Linux.
> We would request prioritising getting the SIGINT issue fixed ASAP. We found that it's a productivity killer (we made a lot of mistakes when making our pipelines, and having to kill the pro... | https://github.com/dagger/dagger/issues/4823 | https://github.com/dagger/dagger/pull/4911 | 0433b11cd2fc894a40a8c9f6ea94c6a87cd6fe78 | 4be9d6ee11cb5d3a66ec3e0f846436535009fd5e | 2023-03-23T17:12:40Z | go | 2023-04-09T13:40:31Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,821 | ["sdk/python/src/dagger/api/base.py", "sdk/python/tests/api/test_inputs.py", "sdk/python/tests/api/test_integration.py"] | 🐞 Env Variable as empty string blows up | ### What is the issue?
🐛 If you have an env var that is an empty string, Graphql explodes as it's converted to null or undefined. To fix it you have to add whitespace

### Log output
```console
... | https://github.com/dagger/dagger/issues/4821 | https://github.com/dagger/dagger/pull/4884 | d272752757543708fa602748674934cdf9f49321 | 928ecb215844247b65d29146ce6c23f6c0bdce8a | 2023-03-23T15:54:41Z | go | 2023-04-03T16:55:03Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,812 | ["docs/current/guides/252029-load-images-local-docker-engine.md", "docs/current/guides/snippets/load-images-local-docker-engine/export/index.mjs", "docs/current/guides/snippets/load-images-local-docker-engine/export/main.go", "docs/current/guides/snippets/load-images-local-docker-engine/export/main.py", "docs/current/g... | Create a guide about building a Docker container for local use with Dagger | There are quite a few questions in Discord about building an image locally without publishing to a remote registry:
https://discord.com/channels/707636530424053791/1068148348240019498
https://discord.com/channels/707636530424053791/1046817210695417906/1046817210695417906
https://discord.com/channels/707636530424053791... | https://github.com/dagger/dagger/issues/4812 | https://github.com/dagger/dagger/pull/4814 | 70268101d7e661cc856a31b63918d16eeccaece2 | b758ad7ae59471f2fbb94c1f3b61c47381dc349c | 2023-03-22T08:36:20Z | go | 2023-03-31T18:28:47Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,801 | ["core/integration/container_test.go", "core/schema/container.go"] | Using a secret from `setSecret` with `withRegistryAuth` fails | @vikram-dagger tried to use a new version of secrets in the registry authentication and it failed:
Here is a repro
```go
package main
import (
"context"
"fmt"
"os"
"dagger.io/dagger"
)
func main() {
ctx := context.Background()
c, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stderr))
if... | https://github.com/dagger/dagger/issues/4801 | https://github.com/dagger/dagger/pull/4809 | 0fa00a1f4905be1eb6fb017f3c87e0a09112c586 | aaba659eccbc858a0f330c5178cb7ea20f997c94 | 2023-03-21T15:16:35Z | go | 2023-03-22T08:14:34Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,790 | ["sdk/nodejs/api/test/api.spec.ts", "sdk/nodejs/api/utils.ts"] | 🐞 Using containers in `platformVariants` seems to give too much data (queryTree) | ### What is the issue?
reference: https://discord.com/channels/707636530424053791/1086025025947193444/1086025025947193444
It seems reusing a container to put in a `platformVariants` in Node SDK transform it as the Query Object, and not the container itself
### Log output
```graphql
{ container { publish (addres... | https://github.com/dagger/dagger/issues/4790 | https://github.com/dagger/dagger/pull/4800 | 7215711bac3ff9442d0bb59b8d2cc6b2bee70867 | b8051d3fa73d932050d16863bd1205d68a85c663 | 2023-03-18T09:19:02Z | go | 2023-03-23T02:32:42Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,783 | ["website/src/css/custom.scss"] | [Docs] Codeblock size inside guides is too narrow | The codeblocks inside the guides is a bit more narrow than it should.
The UX when looking at code snippets is not the best, as it requires constant horizontal scrolling to read large lines.
<img src="https://user-images.githubusercontent.com/70334844/225992687-8c613d89-be19-441d-8e47-4d453cb41a1a.png" height="700p... | https://github.com/dagger/dagger/issues/4783 | https://github.com/dagger/dagger/pull/4784 | bd9b551b9cae4c22708014c9a5c8e3ade92d29c5 | d2c645a81535e19d2fddd1727817b5fdb5bc7fbc | 2023-03-17T18:51:58Z | go | 2023-03-21T10:49:11Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,773 | ["sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py", "sdk/python/tests/api/test_inputs.py"] | 🐞 Can't instantiate BuildArg() | You can't instantiate input objects like [BuildArg](https://dagger-io.readthedocs.io/en/sdk-python-v0.4.0/api.html#dagger.api.gen.BuildArg) in [Container.build](https://dagger-io.readthedocs.io/en/sdk-python-v0.4.0/api.html#dagger.api.gen.Container.build) with Python SDK v0.4.0:
```python
import dagger
arg = dag... | https://github.com/dagger/dagger/issues/4773 | https://github.com/dagger/dagger/pull/4774 | 7439aeb3350ef1f3de10520208dc80341483d09d | 5ca5adad5a9fe23f67ea956f08aec16f47f6f6f5 | 2023-03-16T13:58:36Z | go | 2023-03-16T15:35:08Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,770 | ["package.json", "yarn.lock"] | Docs: guides URL | For our docs URL schema, we've been using the "knowledge base" model, where each article has a unique ID, allowing decoupling between its content and the overall information architecture. This has proven useful overall.
But I think we have applied this model to certain pages where it doesn't make sense. One example ... | https://github.com/dagger/dagger/issues/4770 | https://github.com/dagger/dagger/pull/3412 | 6c873dce63f70d381d7d9f4e1ecede44897c6c03 | 1a054f0e84665492c850e043355c5c409d1b881c | 2023-03-15T20:25:30Z | go | 2022-10-21T08:50:02Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,761 | ["website/src/theme/DocTagDocListPage/index.js", "website/src/theme/DocTagsListPage/index.js"] | [Docs] Tags page should be hidden | This discussion arose from #4759
> Docusaurus has a default tags page, which https://github.com/facebook/docusaurus/discussions/5542.
> Currently it lives [here](https://docs.dagger.io/tags/).
> It also leads to [these pages being rendered](https://docs.dagger.io/tags/circle-ci/).
@vikram-dagger LMK if we shou... | https://github.com/dagger/dagger/issues/4761 | https://github.com/dagger/dagger/pull/4794 | d2c645a81535e19d2fddd1727817b5fdb5bc7fbc | 7fd75993168d1632cd2b30570881b7d1ef204270 | 2023-03-14T19:10:55Z | go | 2023-03-21T10:49:34Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,748 | ["cmd/engine/main.go", "engine/remotecache/cache.go", "engine/remotecache/s3.go"] | remotecache: error exporting manifest during concurrent garbage collection | Found while debugging a large job that was running on a small (20 GB) disk. The small disk size caused buildkit to very aggressively prune almost the whole local cache, but that happened in parallel with the export which caused a layer to not be found and failed the export.
The very temporary workaround is to use a ... | https://github.com/dagger/dagger/issues/4748 | https://github.com/dagger/dagger/pull/4758 | 076b60be9a01c1e42a47ccf23f81405c2c640c9b | 67c7e7635cf4ea0e446e2fed522a3e314c960f6a | 2023-03-10T21:02:05Z | go | 2023-03-14T16:43:00Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,745 | ["core/host.go", "core/integration/host_test.go", "core/schema/host.go", "core/schema/host.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | ✨ `(*dagger.Client).Host().Directory(...)` equivalent for a `*dagger.File` | ### What are you trying to do?
I am using `container.WithMountedFile` but `Host()` only lets me retrieve a `*dagger.Directory`, and there is no equivalent for a `*dagger.File`
### Why is this important to you?
It would be nice to have and would eliminate some boilerplate :)
### How are you currently working around ... | https://github.com/dagger/dagger/issues/4745 | https://github.com/dagger/dagger/pull/5317 | 3df28c2ba50452ed4df7ed2693ae97611428a007 | a89a7c3cc34bdb4c15cbdbe415b491157717d14d | 2023-03-09T21:56:42Z | go | 2023-06-15T19:10:03Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,742 | ["docs/current/guides/205271-replace-dockerfile.md", "docs/current/guides/406009-multiplatform-support.md", "docs/current/guides/421437-work-with-host-filesystem.md", "docs/current/guides/544174-multistage-build.md", "docs/current/partials/_install-sdk-go.md", "docs/current/quickstart/628381-quickstart-sdk.mdx", "docs/... | As of v0.5.0, Go SDK requires Go v1.20 | ### What is the issue?
Most of our Go SDK docs - like this page https://docs.dagger.io/sdk/go/371491/install - mention that the Dagger Go SDK requires Go 1.15 or later.
As of https://github.com/dagger/dagger/releases/tag/sdk%2Fgo%2Fv0.5.0, we require Go 1.20 or later. This is what happens when we run Go SDK v0.5.... | https://github.com/dagger/dagger/issues/4742 | https://github.com/dagger/dagger/pull/4743 | 479c3d3b4dd2933711317f87990e8d632e10a76e | 92d23111368d9d480107f2980b7adfba0ddfb496 | 2023-03-09T18:50:53Z | go | 2023-03-10T16:43:19Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,708 | ["sdk/python/src/dagger/engine/cli.py"] | Python: Don't buffer output from `dagger session` | Especially when using `log_output=sys.stderr`, it'll help get the output lines from the engine in a better order ([context](https://discord.com/channels/707636530424053791/1080527877688275015/1080874047325339708)). | https://github.com/dagger/dagger/issues/4708 | https://github.com/dagger/dagger/pull/4719 | fd61da9d094ef8c31c0d54bfd2d47e592ac49c9b | 71b45ad788cae77b89016d47ddbb16444f8cad26 | 2023-03-06T14:29:27Z | go | 2023-03-08T18:36:50Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,670 | ["website/plugins/docusaurus-plugin-guides/index.js", "website/src/components/molecules/guideIndex.js", "website/src/css/molecules/guideIndex.module.scss", "website/src/css/molecules/tag.module.scss"] | Add filtering method to guide index page | When visiting [the current guide index](https://docs.dagger.io/278912/guides/), we can only filter the guides by clicking in the tags made visible by the first few guides. We should give the user an option to see all available filters when visiting the page so they can search freely across guides.
I'll look into the... | https://github.com/dagger/dagger/issues/4670 | https://github.com/dagger/dagger/pull/4686 | 71b45ad788cae77b89016d47ddbb16444f8cad26 | dd953f3982a4fd9cd3cb2140b876e0910bce144f | 2023-02-28T20:52:34Z | go | 2023-03-08T18:54:12Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,668 | ["core/container.go", "core/errors.go", "core/integration/container_test.go", "core/integration/services_test.go", "core/schema/container.go", "core/schema/container.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | Lazy executions are confusing to understand and sometimes don't work as expected | ## Summary
Developers are often confused by a property of the Dagger engine called "laziness": pipelines are executed at the latest possible moment, to maximize performance. There are several dimensions to this problem; below is an overview of different dimensions, and status of possible solutions.
| Issues ... | https://github.com/dagger/dagger/issues/4668 | https://github.com/dagger/dagger/pull/4716 | f2a62f276d36918b0e453389dc7c63cad195da59 | ad722627391f3e7d5bf51534f846913afc95d555 | 2023-02-28T17:37:30Z | go | 2023-03-07T23:54:56Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,652 | ["cmd/engine/config.go", "cmd/engine/main.go", "go.mod", "go.sum", "internal/mage/engine.go", "network/network.go"] | 🐞 network issue with engine@v0.3.13 in k8s pod | ### What is the issue?
May cause by https://github.com/dagger/dagger/pull/4505
Here a new search in `/etc/resolv.conf` added before k8s searches
```conf
search dns.dagger
search gitlab.svc.cluster.local. svc.cluster.local. cluster.local. openstacklocal
options ndots:5
```
Then network because very slow ... | https://github.com/dagger/dagger/issues/4652 | https://github.com/dagger/dagger/pull/4666 | 253e3b227216468202a5b512838a77bd4315ed06 | 318cb775bed51438f6eb45fb4c96db1c2a2d39cd | 2023-02-27T08:40:03Z | go | 2023-03-01T01:16:55Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,648 | ["cmd/engine/main.go", "core/integration/remotecache_test.go", "engine/remotecache/cache.go", "engine/remotecache/combined.go", "engine/remotecache/s3.go"] | Fix cache export running when image/local exports run | We currently have to open separate sessions when doing an image/local export. This causes cache export to run in these subsessions, which is confusing because it means the manifest will be written for the subsession and then later the main session. Additionally, if the refs being tracked only end up in these subsession... | https://github.com/dagger/dagger/issues/4648 | https://github.com/dagger/dagger/pull/4715 | 2c04a71b0cdcbbe0e9712743a383f652a9f1211e | 2b4831aff2fddbf68a5941b873e03ceb1e48f185 | 2023-02-24T21:53:07Z | go | 2023-03-07T18:19:57Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,633 | ["go.mod", "go.sum"] | API Playground embed throws errors | ### What is the issue?
To reproduce:
- Visit https://docs.dagger.io/593914/quickstart-hello
- Click the Play button in the API playground embed (any language)
- Login if prompted
- Click the Play button
- An error message appears like `forwarding ResolveImageConfig: no such job 7lnkxo8kly8o9exjzsue7qgv0`
![ima... | https://github.com/dagger/dagger/issues/4633 | https://github.com/dagger/dagger/pull/1021 | 6a663c5c0ac4287395384f359a150bdb00fb5991 | 61c783773463d05d36863ff8042721d1778e5564 | 2023-02-22T09:18:14Z | go | 2021-09-27T21:54:18Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,620 | ["core/integration/container_test.go", "go.mod", "go.sum", "internal/mage/engine.go"] | Engine fails, hangs or becomes really slow when several operations are chained | Some users (cc @cpuguy83 ) have observed that when chaining several `WithMountedDirectory` calls, sometimes the engine becomes extremely slow or completely unresponsive.
Discord thread: https://discord.com/channels/707636530424053791/1075544944388882522
@cpuguy83 managed to come up with a simple repro here.
... | https://github.com/dagger/dagger/issues/4620 | https://github.com/dagger/dagger/pull/4817 | aaba659eccbc858a0f330c5178cb7ea20f997c94 | 7215711bac3ff9442d0bb59b8d2cc6b2bee70867 | 2023-02-17T23:17:51Z | go | 2023-03-22T23:13:15Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,588 | ["core/container.go", "core/integration/container_test.go", "core/util.go"] | DX: Container.From() and Container.Build() creates fresh container | Discord context: https://discord.com/channels/707636530424053791/1074736111131304057/1074747695765405696
Summary:
Container.From() and Container.Build() create a new container. Chaining this with `.client.Container()` instead of directly `client.From()`/`container.Build()`, or `client.ContainerFrom()`/`client.Conta... | https://github.com/dagger/dagger/issues/4588 | https://github.com/dagger/dagger/pull/5052 | f5f76fcbda4b772a54aecc43812bd03e51c0d62c | 7d8738d64889572fd5ac7d9930c2f16b4c3629d2 | 2023-02-13T18:00:22Z | go | 2023-05-19T18:05:02Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,570 | ["go.mod", "go.sum"] | API Reference Unification | As discussed in #4291, it would be great to present all references of all different SDKs in the same page.
Right now, every SDK has their own specific generation, with a tool of their own language.
We should find a possible implementation and try to estimate how much engineering time it would take to implement someth... | https://github.com/dagger/dagger/issues/4570 | https://github.com/dagger/dagger/pull/900 | 922802185fb0c7351741fe7e9e7206f626c00c0e | 4468898f4bb209c08576810d47f6c39d3b4e5ae0 | 2023-02-09T22:27:13Z | go | 2021-08-20T15:09:01Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,538 | ["sdk/go/internal/engineconn/session.go"] | 🐞 Sometimes pipelines fail with EOF randomly | ### What is the issue?
Some users have reported that seems like after bumping go to 1.20, some pipelines have randomly started to fail with an `EOF` error:
- https://discord.com/channels/707636530424053791/1070997951503151104
- https://discord.com/channels/707636530424053791/1071076724458131610
### Log output
```... | https://github.com/dagger/dagger/issues/4538 | https://github.com/dagger/dagger/pull/4551 | 18744003b6fd6865f7c518f6f8801ac52c25d5d2 | 5455656a4128f569b2d8f664d777120aa79d715d | 2023-02-06T18:17:01Z | go | 2023-02-08T13:47:37Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,524 | ["docs/current/sdk/nodejs/guides/620941-github-google-cloud.md", "docs/current/sdk/nodejs/snippets/github-google-cloud/main.mjs"] | Add architecture/platform notes in Github + Google Cloud guide | ### What is the issue?
From @d3rp3tt3 :
I am stuck on step 4, "Test the Dagger pipeline on the local host." Specifically, when I run the pipeline, it mostly succeeds, but the container fails to start. Here are the relevant snippets from the Google Cloud logs for the service. The key message looks to be: "terminate... | https://github.com/dagger/dagger/issues/4524 | https://github.com/dagger/dagger/pull/4526 | a7c74a4745a6d3d3797e46876bef56eab1277d20 | ff04bc261d8e6fece592526c70d84023d33647b0 | 2023-02-03T05:59:58Z | go | 2023-02-03T14:47:27Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,523 | ["docs/current/sdk/nodejs/guides/620941-github-google-cloud.md"] | Update command in Github + Google Cloud guide | ### What is the issue?
From @d3rp3tt3 : I ran into an error when I tried to follow one step of the Google Cloud example: https://docs.dagger.io/sdk/nodejs/620941/github-google-cloud#appendix-a-create-a-github-repository-with-an-example-express-application. I had to add the -e flag before the expression so that sed wou... | https://github.com/dagger/dagger/issues/4523 | https://github.com/dagger/dagger/pull/4525 | ff04bc261d8e6fece592526c70d84023d33647b0 | 8c95aebd534c40d478c88d4279ad83c2db0da741 | 2023-02-03T05:57:05Z | go | 2023-02-03T14:48:00Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,479 | ["docs/current/quickstart/120918-quickstart-setup.mdx"] | Transfer quickstart example code to Dagger org repo | ### What is the issue?
This task is to transfer the repository from https://github.com/vikram-dagger/hello-dagger to https://github.com/dagger/hello-dagger so that it resides in the organization's location rather than a personal one. | https://github.com/dagger/dagger/issues/4479 | https://github.com/dagger/dagger/pull/4527 | 856c790691c940f45019f7812aec0105fef49b53 | a7c74a4745a6d3d3797e46876bef56eab1277d20 | 2023-01-30T15:02:39Z | go | 2023-02-03T14:42:07Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,470 | ["docs/current/quickstart/628381-quickstart-sdk.mdx", "docs/current/sdk/python/866944-install.md", "sdk/python/README.md"] | Python: Update documentation for Conda usage | ### What is the issue?
Now that we're on conda we need to update docs to use it (e.g., links, installation, badge).
- https://github.com/dagger/dagger/issues/3942 | https://github.com/dagger/dagger/issues/4470 | https://github.com/dagger/dagger/pull/4651 | 90f49ec1cc14f01c93fdb7c2662d1bedc87f7582 | 73231802715618fb88f3972e0738cb8fd5c15a4a | 2023-01-27T17:41:20Z | go | 2023-02-27T11:39:37Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,469 | ["sdk/python/src/dagger/api/base.py", "sdk/python/tests/api/test_integration.py", "sdk/python/tests/api/test_integration_sync.py"] | 🐞 Python SDK: `platform_variants` argument to `Contaner.export` and `Container.publish` is not resolved to `ContainerID`s. | ### What is the issue?
When `platform_variants` of the type `Optional[Sequence[Container]]` is passed to `Container.export` and `Container.publish` the the following error is raised:
```
TypeError: Cannot convert value to AST: <Container instance>.
```
More information in Discord: https://discord.com/chann... | https://github.com/dagger/dagger/issues/4469 | https://github.com/dagger/dagger/pull/4471 | 9c817bf968c3afa6f47c798956dc945fe4597b6f | e9f95e0f6b52b8f59500824f2b2c1e8b6f0ced0a | 2023-01-27T17:00:22Z | go | 2023-01-30T15:48:49Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,458 | ["core/host.go"] | 🐞 Error with export function | ### What is the issue?
I was trying dagger with the [Get Started](https://docs.dagger.io/sdk/go/959738/get-started#step-4-create-a-single-build-pipeline)
page. The failing function is the Export function.
### Log output
input:1: container.from.withMountedDirectory.withWorkdir.withExec.directory.export destin... | https://github.com/dagger/dagger/issues/4458 | https://github.com/dagger/dagger/pull/4486 | 0c415b96f3fc86e9087a05fab868b98b3f775f45 | c257683ca9ea81f75de8c3c9c07804d286ab9087 | 2023-01-26T18:10:41Z | go | 2023-01-30T22:46:16Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,398 | ["go.mod", "go.sum"] | SDKs fail to return leaf arrays of structs (GraphQL) | ### Problem
When implementing https://github.com/dagger/dagger/pull/4387 tests using the Go SDK, we realized that SDKs fail to execute some endpoints that do work as graphQL queries.
After talking with @vito, it turns out that this touches all schemas that return arrays of custom structs:
- [envVariables](https://... | https://github.com/dagger/dagger/issues/4398 | https://github.com/dagger/dagger/pull/461 | a79f10a9bb62552daaae493fee91dfcf93494894 | 1927ebbe1da1964d833a4eff4234c06083081aa5 | 2023-01-17T23:30:37Z | go | 2021-05-13T18:51:13Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,386 | ["sdk/nodejs/api/utils.ts", "sdk/nodejs/common/errors/NotAwaitedRequestError.ts", "sdk/nodejs/common/errors/errors-codes.ts", "sdk/nodejs/common/errors/index.ts"] | Node.js SDK - check for await | ## Problem
Many users get confused with their async pipeline.
When should I use await ? Is my pipeline executing ?
The error doesn't give any clue of what's happening.
```shell
throw new UnknownDaggerError("Encountered an unknown error while requesting data via graphql", { cause: e });
```
## A better approach... | https://github.com/dagger/dagger/issues/4386 | https://github.com/dagger/dagger/pull/4485 | 2e478c522374c4621872a1f0bc697488545dc061 | a80a11ea7b3fcb6f42f2cedb793fa62b64d404f6 | 2023-01-16T14:30:10Z | go | 2023-02-09T12:31:14Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,373 | ["docs/current/sdk/nodejs/783645-get-started.md", "docs/current/sdk/nodejs/835948-install.md", "docs/current/sdk/nodejs/guides/620941-github-google-cloud.md"] | Update Installation for Node.js SDK | ### What is the issue?
To make sure user get the latest version of the SDK, we should update the installation command :
From:
```shell
npm install @dagger.io/dagger --save-dev
```
To:
```shell
npm install @dagger.io/dagger@latest --save-dev
```
This command can also be run inside an existing project to... | https://github.com/dagger/dagger/issues/4373 | https://github.com/dagger/dagger/pull/4374 | babbbe9953eb790bcad393fb2261d31812fe45e5 | 8c1f0e87e8fd9b00057fa397a63e8b0a2c4170ea | 2023-01-12T16:00:29Z | go | 2023-01-16T09:32:09Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,322 | ["sdk/nodejs/common/errors/EngineSessionErrorOptions.ts", "sdk/nodejs/common/errors/errors-codes.ts", "sdk/nodejs/common/errors/index.ts", "sdk/nodejs/provisioning/bin.ts"] | feat: Node SDK: handle errors from establishing session | Similar to #4321
Whenever a dagger session connection fails, the output error message is not forwarded by the Node SDK.
Below is an example with a modified version of our dagger session where it should retrieve the stderr of buildkit.
Instead, we get the stack trace error with a hardcoded string `"No line was fo... | https://github.com/dagger/dagger/issues/4322 | https://github.com/dagger/dagger/pull/4421 | e9f95e0f6b52b8f59500824f2b2c1e8b6f0ced0a | 0c415b96f3fc86e9087a05fab868b98b3f775f45 | 2023-01-06T10:29:55Z | go | 2023-01-30T15:59:17Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,311 | ["docs/current/sdk/nodejs/783645-get-started.md", "docs/current/sdk/nodejs/snippets/get-started/step2/build.js", "docs/current/sdk/nodejs/snippets/get-started/step2/build.mjs", "docs/current/sdk/nodejs/snippets/get-started/step2/build.mts", "docs/current/sdk/nodejs/snippets/get-started/step3/build.js", "docs/current/sd... | Node.js SDK - Document how to use it with a commonjs app | @marcosnils pointed here how to use Node.js SDK with a cjs app: https://discord.com/channels/707636530424053791/708371226174685314/1060221923180691496
Here is the code snippet:
```ts
(async function() {
// initialize Dagger client
let connect = (await import('@dagger.io/dagger')).connect;
connect(async (... | https://github.com/dagger/dagger/issues/4311 | https://github.com/dagger/dagger/pull/4377 | 937323182e02fe6b02b601f77d134aaec3305435 | babbbe9953eb790bcad393fb2261d31812fe45e5 | 2023-01-05T09:05:40Z | go | 2023-01-16T09:31:43Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,305 | ["website/docs-graphql/custom-theme/data/index.js", "website/docs-graphql/custom-theme/helpers/spanWrap.js", "website/docs-graphql/custom-theme/views/partials/graphql/kinds/_fields.hbs", "website/docs-graphql/custom-theme/views/partials/graphql/name-and-type.hbs"] | Individual GraphQL field reference is not linkable | ## Problem
When using the [GraphQL API reference documentation](https://docs.dagger.io/api/reference/), I often want to link to a specific field or query. This is currently not possible.
Note: types are linkable, but not fields. Example of a link to the [Container type](https://docs.dagger.io/api/reference/#defin... | https://github.com/dagger/dagger/issues/4305 | https://github.com/dagger/dagger/pull/4410 | 5cd27322a2a2ab4a6692088248b86ff9411ab5a6 | 76bcf891570b839a8780076fffc247712edfc32e | 2023-01-04T18:57:08Z | go | 2023-01-19T17:23:40Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,270 | ["go.mod", "go.sum"] | 🐞 Unable to run Dockerfile with "yarn install" `dagger-cue` | ### What is the issue?
I am unable to build my Next-App with dagger-cue, even the simplest solution with an inline Dockerfile did not work out:
**ERROR**: process "**/bin/sh -c yarn install --frozen-lockfile**" did not complete successfully: exit code: 1
### Log output
[✔] client.filesystem.".".read ... | https://github.com/dagger/dagger/issues/4270 | https://github.com/dagger/dagger/pull/478 | 8c511a8dc3b57446ec0608d69162fa0a61d0c9d0 | f498a9bb846fa7071e2b175f333b9bf2f4b9b228 | 2022-12-30T12:43:58Z | go | 2021-05-24T18:18:30Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,258 | ["codegen/generator/nodejs/templates/functions.go", "codegen/generator/nodejs/templates/functions_test.go", "codegen/generator/nodejs/templates/src/type.ts.tmpl"] | NodeJS SDK has input type order generated randomly (which makes CI fail) | https://github.com/dagger/dagger/actions/runs/3765190410/jobs/6400412139
We need to order it alphabetically. | https://github.com/dagger/dagger/issues/4258 | https://github.com/dagger/dagger/pull/4259 | 9680b708c649db8cc1527411c5787ab2816223d7 | 22b205cdd9bd303148ec751af89a02cd30001339 | 2022-12-23T15:40:52Z | go | 2022-12-23T18:11:34Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,257 | ["sdk/nodejs/api/test/api.spec.ts", "sdk/nodejs/api/utils.ts"] | 🐞 NodeJS .build() fail with a simple Dockerfile | ### What is the issue?
reference: https://discord.com/channels/707636530424053791/1055501264387063899/1055501264387063899
Using `build()` with a Dockerfile containing only a `FROM alpine` instruction fails but it works if we call a `container().from("alpine")`.
In Go it works.
### Log output
```console
... | https://github.com/dagger/dagger/issues/4257 | https://github.com/dagger/dagger/pull/4266 | b5d37ab067065d08679a07cad0cd9e40288f3acb | 74af2ec1c6f2491d8536b70afa49ee9e8d857606 | 2022-12-23T11:31:23Z | go | 2023-01-02T22:36:26Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,245 | ["core/integration/container_test.go", "core/schema/container.go", "core/schema/container.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | Implement labels for Dockerfile build | This allows a user to add labels the Dockerfile build
```graphql
input Label {
key: String!
value: String!
}
type Directory {
dockerBuild(dockerfile: String, platform: Platform, labels: [Label!]): Container!
}
``` | https://github.com/dagger/dagger/issues/4245 | https://github.com/dagger/dagger/pull/4387 | c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13 | e24ce91f30cec5ad7f35f975c46f34969ad3bae3 | 2022-12-21T20:35:16Z | go | 2023-01-19T18:15:20Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,216 | ["codegen/generator/nodejs/templates/src/type.ts.tmpl", "codegen/generator/nodejs/templates/src/type_test.go"] | 🐞 NodeJS: Support GraphQL `input` types | ### What is the issue?
As evidenced in https://github.com/dagger/dagger/pull/4207, the NodeJS/Typescript codegen doesn't currently support [GraphQL input types](https://graphql.org/learn/schema/#input-types).
### Log output
```
#26 docker-entrypoint.sh yarn test
#26 0.304 yarn run v1.22.19
#26 0.354 $ mocha
#26 ... | https://github.com/dagger/dagger/issues/4216 | https://github.com/dagger/dagger/pull/4247 | 7725948fedd64364e87d55404dfa0416b55c637b | 385d9a9fabb838b783b13a107f0488c0d67f1721 | 2022-12-16T23:03:21Z | go | 2022-12-22T14:49:15Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,215 | ["RELEASING.md", "core/docs/d7yxc-operator_manual.md"] | Document new interface for using custom provisioned engine | Splitting this out from the task list [here](https://github.com/dagger/dagger/issues/3830) so it can be tracked by users and discussed separately.
Given how common a question and enormous a pain point this is, I think we should document:
1. The new `_EXPERIMENTAL_*` env knobs for connecting an SDK to an already pro... | https://github.com/dagger/dagger/issues/4215 | https://github.com/dagger/dagger/pull/4232 | 4fb99b422cc1a8fe13e55fcf4534b225928bfd2c | 031c50c95f8f76144c998c706f7bf57ce2186a2f | 2022-12-16T21:55:35Z | go | 2023-01-09T17:17:06Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,212 | ["sdk/python/.flake8", "sdk/python/src/dagger/api/base.py", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py", "sdk/python/tests/api/test_codegen.py", "sdk/python/tests/api/test_inputs.py", "sdk/python/tests/api/test_response.py"] | Python: Improve error message in runtime type checking | ## Overview
Follow up to:
- https://github.com/dagger/dagger/pull/4195
Initial implementation had the actual type in the error message, but it’s not always simple to get a good string representation of a type, so it was left out of the change.
However, it really helps in debugging to show it:
```diff
File "test.p... | https://github.com/dagger/dagger/issues/4212 | https://github.com/dagger/dagger/pull/4333 | fbee5bdcf840513b7817436f1699e36292d542f9 | c541313b7b3648b1d45e67253c14e27272f9d68d | 2022-12-16T18:13:56Z | go | 2023-01-09T15:07:31Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,200 | ["docs/current/cli/698277-index.md"] | docs: Ensure users looking at Dagger CLI docs can discover `dagger run` capabilities/examples | Right now the CLI docs focus on `dagger query` and the `dagger run` examples live under the GraphQL section. There should be links or some other way to make sure all of these capabilities are discovered by users.
cc @marcosnils | https://github.com/dagger/dagger/issues/4200 | https://github.com/dagger/dagger/pull/4202 | 6f89d303ee49502902703ca577580ff3cd9d7806 | 8e4c8e459c8440af1278a71c4f3bfb0d79c141ae | 2022-12-15T17:28:11Z | go | 2022-12-19T18:19:16Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,192 | [".changes/unreleased/Breaking-20230727-115352.yaml", "core/schema/container.go", "core/schema/container.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py"] | Rename `id` argument name in fields that don’t return its type | Some top-level fields return an object if you have their ID:
```graphql
type Query {
container(id: ContainerID, platform: Platform): Container!
directory(id: DirectoryID): Directory!
file(id: FileID!): File
secret(id: SecretID!): Secret!
socket(id: SocketID): Socket!
}
```
There’s ... | https://github.com/dagger/dagger/issues/4192 | https://github.com/dagger/dagger/pull/5513 | 18f57d142656400fd6318d1d6ed486101f3c14d6 | cf4c4689391d801fbfee00a56134ba03417eb8c2 | 2022-12-13T23:59:19Z | go | 2023-07-27T18:08:17Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,191 | ["sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py"] | Python: Don’t accept an object for parameters named `id` (and the return is of the same type) | ## Overview
Some top-level fields return an object if you have an ID:
```python
def directory(self, id: DirectoryID | Directory | None = None) -> Directory: ...
def file(self, id: FileID | File) -> File: ...
```
If you already have an object it doesn’t make sense to use these fields to get the same object. ... | https://github.com/dagger/dagger/issues/4191 | https://github.com/dagger/dagger/pull/4195 | 91accd96689ffb183915495fe6898d34c8210a26 | 5bba71ad79cdb787f1852f882d377b069df4a5f3 | 2022-12-13T23:24:20Z | go | 2022-12-15T14:49:06Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,190 | ["core/directory.go", "core/integration/directory_test.go"] | Enforce size limit on paths in engine | If you provide a path that exceeds a certain length you will get an error from buildkit like
```
ClientError: lstat /var/lib/buildkit/runc-overlayfs/cachemounts/buildkit1109656980/app/eyJsbGIiOnsiZGVmIjpbIkdvSUNDa2xzYjJOaGJEb3ZMeTlWYzJWeWN5OXNaVzl6YW05aVpYSm5MME52WkdVdmFtOWlhV3hzWVM5aVlXTnJaVzVrTDI5dGJtbGhMMkoxYVd4a... | https://github.com/dagger/dagger/issues/4190 | https://github.com/dagger/dagger/pull/4654 | 78f8c1050bed0ec349dbf3be27398c4955136439 | 253e3b227216468202a5b512838a77bd4315ed06 | 2022-12-13T22:23:18Z | go | 2023-02-28T23:42:33Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,182 | ["docs/current/guides/snippets/load-images-local-docker-engine/export/main.py", "docs/current/guides/snippets/load-images-local-docker-engine/push/main.py", "docs/current/guides/snippets/use-secrets/sdk/main.py", "docs/current/quickstart/snippets/caching/main.py", "sdk/python/.changes/unreleased/Changed-20230726-105626... | Python: force keyword arguments for optional parameters | ## Overview
Even though you can easily reach for a named parameter in Python, I think we should make it required for optional parameters.
This is to **avoid** someone actually using positional params even though it's obvious that named is better here.
## Example
```python
# ❌ don't allow this
ctr.with_exe... | https://github.com/dagger/dagger/issues/4182 | https://github.com/dagger/dagger/pull/5508 | 22d1ca63bcf7e0b3d05b9c491b74e12c8de45688 | 62ab7216d8b6f01fe3348778aa909b57dc68d420 | 2022-12-13T17:09:54Z | go | 2023-07-26T12:18:27Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,179 | ["sdk/python/poetry.lock", "sdk/python/pyproject.toml", "sdk/python/src/dagger/engine/download.py"] | Implement correct user cache detection in Python SDK | null | https://github.com/dagger/dagger/issues/4179 | https://github.com/dagger/dagger/pull/4281 | 23c2dc2b261eb5c2682017fe86340af12a8d0e72 | c1b6c9e3bb9a48215ce4b80fc726af52e6521590 | 2022-12-13T14:27:08Z | go | 2023-01-04T00:31:08Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,174 | ["website/docs-graphql/data/examples/queries/socket/gql.md"] | docs: Missing example for socket API | ### What is the issue?
When building the GraphQL API reference documentation, the build process throws an error on account of a missing example for the `socket` API. This should be added.

| https://github.com/dagger/dagger/issues/4174 | https://github.com/dagger/dagger/pull/4187 | ff331f30c03ff7117f029272e45fd45b11bdf42b | 91accd96689ffb183915495fe6898d34c8210a26 | 2022-12-13T10:38:18Z | go | 2022-12-14T14:58:57Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,152 | ["go.mod", "go.sum"] | Cannot get size of file > 2.14GB (max int32) | ### What is the issue?
If I try to get the `size` of a file that's larger than max int32 (2147483647 bytes or ~2.14GB), I get an error.
The [GraphQL spec](https://graphql.org/learn/schema/#scalar-types) has this to say:
> `Int`: A signed 32‐bit integer.
So we might need a different representation here.
### L... | https://github.com/dagger/dagger/issues/4152 | https://github.com/dagger/dagger/pull/5227 | 679b27fdf996beef5031ce80a61be78facb7a9d9 | 9d55c22d1fb94a96d2be464823cbca27e8df9302 | 2022-12-09T17:42:01Z | go | 2023-06-01T12:04:40Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,131 | [".goreleaser.yml", "cmd/client-gen/main.go", "cmd/dagger/engine.go", "cmd/dagger/version.go", "cmd/engine-session/main.go", "codegen/generator/generator.go", "codegen/generator/nodejs/templates/functions_test.go", "internal/engine/version.go"] | 🐞 ./cmd/client-gen doesn't work out of the box | ### What is the issue?
I wanted to regenerate locally some SDK code.
It failed inside the engine of a `./hack/make sdk:nodejs:generate` and I couldn't get more details.
I wanted to see on my host FS what was failing, so I decided to do a:
```
$ go run ./cmd/client-gen/ --lang nodejs -o sdk/nodejs/api/client.gen.ts... | https://github.com/dagger/dagger/issues/4131 | https://github.com/dagger/dagger/pull/4143 | 1d14ca04b9aa13589649c7a441a587d1e2b18e30 | 2844748a9db7c4851e5f7acc87c01651f07bb598 | 2022-12-08T09:21:34Z | go | 2022-12-09T21:36:44Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,111 | ["sdk/python/poetry.lock", "sdk/python/src/dagger/engine/cli.py"] | Python: increase execution timeout | The default timeout for executing a query in the Python SDK is 5 min. This may be too short a default for dagger.
What are the timeouts in other SDKs?
- Go?
- Nodejs?
Is 30 mins good, or too much? What should we converge on @sipsma?
This was hit by a user doing a build. | https://github.com/dagger/dagger/issues/4111 | https://github.com/dagger/dagger/pull/5074 | c77f63e96ea77ac0af22ce9d98f0de4cd4315802 | 4506a1f0bb437d1696d4008426d3159e556d68ef | 2022-12-06T14:21:45Z | go | 2023-05-05T00:14:54Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,095 | ["docs/current/sdk/go/guides/421437-work-with-host-filesystem.md", "docs/current/sdk/go/snippets/work-with-host-filesystem/list-dir-exclude-include/main.go"] | Document include / exclude behavior | The Dagger API supports "including" or "excluding" files in some [directory operations](https://docs.dagger.io/api/reference/#definition-Directory). But the behavior of these fields is not explained in detail.
For example @maxdeviant [asked on discord](https://discord.com/channels/707636530424053791/104002726015508... | https://github.com/dagger/dagger/issues/4095 | https://github.com/dagger/dagger/pull/4110 | 047d49318b0db7ffa83a209aea7a353d941fcc3e | 9eb15124f2a719b2a0f5d45bd1fc27c7fda4d7b5 | 2022-12-05T18:29:46Z | go | 2022-12-07T10:28:13Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,093 | ["docs/current/sdk/cue/getting-started/470907-get-started.md"] | Fix CUE Get started with GitLab CI | ### What is the issue?
The getting started for Dagger CUE on GitLab CI doesn't work.
In the `before_script` the dagger CLI is installed instead of dagger-cue CLI:
```yaml
before_script:
- |
# install dagger
cd /usr/local
wget -O - https://dl.dagger.io/dagger/install.sh | sh
... | https://github.com/dagger/dagger/issues/4093 | https://github.com/dagger/dagger/pull/4108 | 302902b8110188c6458295d25be0ac802dba3bdd | 29362b1e1530e4d24bdcd581c5d60657b8372ad6 | 2022-12-05T16:23:58Z | go | 2022-12-06T13:09:19Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,085 | ["core/container.go"] | Container From removes existing env vars | Example: https://play.dagger.cloud/playground/JBT8x7KCicC
```graphql
{
container {
withEnvVariable(name:"FOO", value:"BAR") {
from(address:"alpine:latest") {
withExec(args:["env"]) {
stdout
}
}
}
}
}
```
That will not show `FOO` in the output.
---
I ... | https://github.com/dagger/dagger/issues/4085 | https://github.com/dagger/dagger/pull/4455 | 3c0192e2b9c644ee4a5aad285df94f07a107ccd8 | b43d267a7f7657017188bec57d7826059475a2f3 | 2022-12-02T23:30:33Z | go | 2023-01-31T18:49:32Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,054 | ["website/docs-graphql/config.yml", "website/docs-graphql/custom-theme/views/partials/layout/page.hbs"] | Add ability to get back to Dagger docs from API reference docs | Right now, there is no way to get back to the Dagger docs from the API reference doc. It would be great if we could make the Dagger logo clickable and add a link back to the main docs homepage or maybe just the API section. | https://github.com/dagger/dagger/issues/4054 | https://github.com/dagger/dagger/pull/4056 | f86ff05ff72523a345995bae9b02334cdc87505c | e11fff5ba0e8676526ff6f923710c41909ba6218 | 2022-11-30T21:31:16Z | go | 2022-12-01T15:42:50Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,051 | ["internal/mage/sdk/nodejs.go"] | Fix lint errors on nodejs engine bump | The automatic engine bump PR seems to generate code that the nodejs linter disagrees with, requiring manual updates to the PR whenever it's opened, e.g. https://github.com/dagger/dagger/actions/runs/3586757292/jobs/6036336215 | https://github.com/dagger/dagger/issues/4051 | https://github.com/dagger/dagger/pull/4072 | ec51da155e85ecda92ba6c14812d567f37269f8a | bec73f147a6901d77aca780b5386434b27863cdf | 2022-11-30T20:20:05Z | go | 2022-12-01T23:00:13Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,050 | [".github/workflows/lint.yml", ".github/workflows/publish.yml", ".github/workflows/test.yml", "RELEASING.md"] | Test+Lint workflows don't run automatically in engine bump PRs | See for example here: https://github.com/dagger/dagger/pull/4049#issuecomment-1332689127
Really not sure why this is. The yamls seem to configure the workflows such that they should run. cc @gerhard in case you have any ideas what would cause this | https://github.com/dagger/dagger/issues/4050 | https://github.com/dagger/dagger/pull/4560 | 9f1e65e0213e1f2290263349d9bc7fd27c360514 | e4e5fa65ac5ebc0ed58b92f6cd9d29156a63e132 | 2022-11-30T20:17:20Z | go | 2023-02-08T23:16:02Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,020 | ["cmd/dagger/do.go", "cmd/dagger/main.go"] | cli: `dagger do` with warning message | ## Problem
The new `dagger` CLI (0.3) works very differently from the old one (0.2). This can confuse some users who upgrade, run the typical `dagger do` command from 0.2, and get a "command not found".
## Solution
Implement a hidden `dagger do` command in 0.3, which does nothing but prints a message explainin... | https://github.com/dagger/dagger/issues/4020 | https://github.com/dagger/dagger/pull/4071 | f378cabc6254b69fc1f4765d3c83e57e12057841 | c8e90811f74d0ea13508e4bfaede11046b3fa522 | 2022-11-29T18:01:17Z | go | 2022-12-02T05:38:57Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,015 | ["core/integration/directory_test.go", "core/schema/directory.go", "core/schema/directory.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | API: directory { dockerBuild } | ## Problem
The Dagger API already supports native docker build with `container { build }`. This makes for a perfectly fine DX in native SDKs, I have no complaints. **But** it is less pleasant in the context of a raw GraphQL query, because of limitations in the GraphQL language: stitching must be done manually by que... | https://github.com/dagger/dagger/issues/4015 | https://github.com/dagger/dagger/pull/4016 | 39327ce003e55b79ca55a5d84aef97e5036a5924 | c0e8bb1511524f1a372b3aa3def5621e6f4eb9d1 | 2022-11-29T08:34:10Z | go | 2022-12-01T07:39:20Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 4,002 | [".github/workflows/publish.yml", ".goreleaser.yml", "internal/mage/cli.go", "internal/mage/engine.go", "internal/mage/util/util.go"] | CLI release test | Issue to track progress on the CLI release.
- [x] `curl -L https://dl.dagger.io/dagger/install.sh DAGGER_VERSION=? | sh`
- [x] `brew install dagger/tap/dagger` - for [our tap formula](https://github.com/dagger/homebrew-tap)
- Move the existing `dagger.rb` to `dagger@0.2.rb`
- [x] `brew install dagger` - for [bo... | https://github.com/dagger/dagger/issues/4002 | https://github.com/dagger/dagger/pull/4012 | 064879cb6b4fcaa50bf28bbcdb6d40d60dd25cba | 5d18d9f5e56d704f95242304661ae9656ae85780 | 2022-11-28T14:30:21Z | go | 2022-11-29T21:52:29Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,990 | ["sdk/nodejs/api/test/api.spec.ts", "sdk/nodejs/api/utils.ts"] | 🐞 [Node SDK] `withExec` removes whitespace of arguments | ### What is the issue?
When calling `withExec` and passing a single argument that contains whitespace, all whitespace is stripped.
For example, `.withExec(['echo', 'foo bar'])` will print `foobar`.
The expected output is `foo bar`.
### Log output
N/A
### Steps to reproduce
1. Run the following
```ts
impo... | https://github.com/dagger/dagger/issues/3990 | https://github.com/dagger/dagger/pull/3992 | 58c782e6d5de4992046f2b1ebeea52948ae793fd | 925d95069da66f425019e5140201c37929293cd1 | 2022-11-25T17:33:27Z | go | 2022-11-29T09:51:03Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,966 | ["sdk/python/experimental/hello/main.py", "sdk/python/experimental/hello/requirements.txt", "sdk/python/poetry.lock", "sdk/python/pyproject.toml", "sdk/python/src/dagger/__init__.py"] | Python: Make strawberry dependency an extra | The Python SDK started out with good extension support via _strawberry_. We then put a pause on extension support to release clients. The released Python SDK is only a client right now, but we still have _strawberry_ as a dependency. We should make it an extra:
```shell
$ pip install dagger-io[server]
```
Even ... | https://github.com/dagger/dagger/issues/3966 | https://github.com/dagger/dagger/pull/3967 | 9d7ac01dd8d636c20acbbfd72db9f4bfe924f0c5 | 64a40a222640842b2f57c2829fd905c1db416aa3 | 2022-11-23T09:18:01Z | go | 2022-11-23T12:22:14Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,950 | ["internal/mage/util/util.go"] | 🐞 Can't run mage on macos | ### What is the issue?
Running mage tasks locally in macos fails because, I suppose, the `test-dagger-engine` container has a binary for my host (`dagger-engine-session-darwin-arm64`) but not for running inside a container (linux in dagger-in-dagger).
Examples:
```shell
$ ./hack/make sdk:python:test
$ ./hack/m... | https://github.com/dagger/dagger/issues/3950 | https://github.com/dagger/dagger/pull/3954 | 9e4aac59a0e6e99c58c046ccc0c61ea6e2e82b95 | eb9ef56fc4958bf5e1ac781533cdf0cb92da4401 | 2022-11-22T13:20:15Z | go | 2022-11-22T17:13:25Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,894 | ["sdk/python/.flake8", "sdk/python/pyproject.toml", "sdk/python/src/dagger/__init__.py", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py"] | Python: Import API types in `dagger` root | ## Motivation
```diff
import dagger
-from dagger.api.gen import Container
-def base(client: dagger.Client) -> Container:
+def base(client: dagger.Client) -> dagger.Container:
....
``` | https://github.com/dagger/dagger/issues/3894 | https://github.com/dagger/dagger/pull/3940 | 1b50af0be38a350e238b6a47c4ea79766250f1f8 | 67b02cdafce581a8c863e75769adc28f9c7db2c4 | 2022-11-17T12:45:23Z | go | 2022-11-21T20:50:23Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,887 | ["core/integration/container_test.go", "core/schema/container.go", "core/schema/container.graphqls", "sdk/go/api.gen.go", "sdk/nodejs/api/client.gen.ts", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py"] | ✨ Ability to add LABELs to Docker images published via SDK | ### What are you trying to do?
Generate and publish a docker image which has LABELs.
Related discussion : https://discord.com/channels/707636530424053791/1042501877906022481
### Why is this important to you?
We have corporate policies that mandate certain labels on all docker images
### How are you curr... | https://github.com/dagger/dagger/issues/3887 | https://github.com/dagger/dagger/pull/4387 | c5c5e0e3a51b6a80eee69f07b24aec36ae99cc13 | e24ce91f30cec5ad7f35f975c46f34969ad3bae3 | 2022-11-17T05:20:38Z | go | 2023-01-19T18:15:20Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,871 | ["docs/current/sdk/python/628797-get-started.md", "docs/current/sdk/python/guides/648384-multi-builds.md", "docs/current/sdk/python/snippets/get-started/step3/test.py", "docs/current/sdk/python/snippets/get-started/step4a/test.py", "docs/current/sdk/python/snippets/get-started/step4b/test.py", "docs/current/sdk/python/... | Update docs with recent DX changes | ### What is the issue?
The next Python release will include a breaking change[^1]:
- https://github.com/dagger/dagger/pull/3870
We need to update the docs examples but only after releasing to PyPI.
[^1]: Actually shouldn't break in runtime, just warnings in the IDE. | https://github.com/dagger/dagger/issues/3871 | https://github.com/dagger/dagger/pull/3941 | 0cb9ae22bb95eb3682e9a50304eee46e7b136523 | 1b50af0be38a350e238b6a47c4ea79766250f1f8 | 2022-11-16T11:28:24Z | go | 2022-11-21T20:05:57Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,836 | ["sdk/nodejs/connect.ts", "sdk/nodejs/provisioning/docker-provision/image.ts", "sdk/nodejs/provisioning/engineconn.ts"] | NodeJS SDK: replace execa library with nodejs Stream | Another follow up fix, we should probably not use an `execa` type in our public interface since we may want to switch to a different library in the future. I think the nodejs `Stream` type might be all we need.
_Originally posted by @sipsma in https://github.com/dagger/dagger/pull/3820#discussion_r1022255634_
... | https://github.com/dagger/dagger/issues/3836 | https://github.com/dagger/dagger/pull/3861 | 325ac37b14ca763856e757d2aa92d80e3f044416 | dfb4b8b4979ca9c2f46b818fb9c899b3a11e2b89 | 2022-11-15T10:34:18Z | go | 2022-11-16T16:13:06Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,772 | ["sdk/python/poetry.lock", "sdk/python/pyproject.toml", "sdk/python/src/dagger/api/base.py", "sdk/python/src/dagger/api/gen.py", "sdk/python/src/dagger/api/gen_sync.py", "sdk/python/src/dagger/codegen.py", "sdk/python/tests/api/test_codegen.py", "sdk/python/tests/api/test_inputs.py"] | sdk: python: Codegen - check types on runtime | Python's typing system doesn't work on runtime. You should get warnings from the IDE but nothing's stopping you from using the wrong value types while building the query.
If you do run a script like this you'll get a more cryptic error during serialization of the GraphQL query string.
We can do better and add run... | https://github.com/dagger/dagger/issues/3772 | https://github.com/dagger/dagger/pull/4034 | fe43fe207d38ecb2c614bc5dcac6340b2c9293e1 | ff331f30c03ff7117f029272e45fd45b11bdf42b | 2022-11-10T13:36:12Z | go | 2022-12-14T13:57:58Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,737 | ["go.mod", "go.sum", "sdk/go/go.mod", "sdk/go/go.sum", "sdk/go/internal/engineconn/dockerprovision/container.go"] | Errors getting credentials on macos when using dagger-in-dagger | A few of us running `mage sdk:python:test` are getting very cryptic errors on the first step that runs dagger-in-dagger:
```
#1 resolve image config for docker.io/library/golang:1.19-alpine
Error: input:1: container.from error getting credentials - err: signal: killed, out: ``
Please visit https://dagger.io/help#... | https://github.com/dagger/dagger/issues/3737 | https://github.com/dagger/dagger/pull/3758 | 15a897278460408ccc4f832fd7e91dd2ddfaa90a | 4a797801ef3bb6148d7186dac5d9d544cc913960 | 2022-11-08T21:58:43Z | go | 2022-11-10T00:30:26Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,733 | ["cmd/shim/main.go", "core/container.go", "core/shim/cmd/Dockerfile", "core/shim/cmd/main.go", "core/shim/shim.go", "go.mod", "go.sum", "internal/mage/util/util.go"] | Building shim can cause rate limit errors from dockerhub | We build our shim binary on the fly, which requires we pull an image. We currently pull from dockerhub, which can result in 429 throttling errors, which is surprising to users since they never even requested that image be pulled.
Two options:
1. Pull the image from a different registry that doesn't have the same ra... | https://github.com/dagger/dagger/issues/3733 | https://github.com/dagger/dagger/pull/3913 | 9443adaa8f5bafe062eb757ac596c198391c9b61 | 32c1d82fa2c715a32e7d7d0c95d6a50e96c09fae | 2022-11-08T19:17:23Z | go | 2022-11-18T03:37:21Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,727 | [".github/dependabot.yml"] | Use dependabot with Python | ~May depend on #3702~ | https://github.com/dagger/dagger/issues/3727 | https://github.com/dagger/dagger/pull/3815 | 76d28eb66f86e7d447c8aa4d98ac6bff055dc1b4 | 32e16359c17ff34cd22aa1328b9b8d7489562c9d | 2022-11-08T09:26:24Z | go | 2022-11-16T09:45:16Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,723 | ["internal/buildkitd/buildkitd.go"] | Fix spurious `WARN[0000] commandConn.CloseWrite: commandconn: failed to wait: signal: terminated` | Caused by our use of the buildkit connhelper more often now (we always wait to check if it's running first) | https://github.com/dagger/dagger/issues/3723 | https://github.com/dagger/dagger/pull/3731 | 9bd33ed56ab5e64de7ec5759b9416cd05baec5ee | d0e08e48a909fc14647b8be5047597f8243d48a4 | 2022-11-08T01:47:22Z | go | 2022-11-08T18:33:42Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 3,719 | [".github/workflows/publish-sdk-nodejs.yml", ".gitignore", "internal/mage/sdk/all.go", "internal/mage/sdk/nodejs.go", "sdk/nodejs/package.json"] | NodeJS SDK : Publish NodeJS SDK to npm | Publishes the NodeJS SDK to the registry so that it can be installed by name.
ex: `npm publish @dagger.io/nodejs-sdk`
https://www.npmjs.com is the npm Registry that has a public collection of packages of open-source code for Node.js.
In order to publish, follow the developer guide: https://docs.npmjs.com/cli/v9/... | https://github.com/dagger/dagger/issues/3719 | https://github.com/dagger/dagger/pull/3809 | 88e795da2c1b78e4b2b79f542a3233c57dd1fbed | dea51153c37566831d1075479f708d7d51bbcf5d | 2022-11-07T20:47:22Z | go | 2022-11-15T20:39:32Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.