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 | localstack/localstack | https://github.com/localstack/localstack | 1,235 | ["localstack/services/sns/sns_listener.py", "tests/integration/test_sns.py", "tests/unit/test_sns_listener.py"] | Feature : Honor attributes on SNS Subscription | Hello,
I am working with a SNS to SQS project, in it we want to use the feature `RawMessageBody` when subscribing.
By looking into the code I found that the attributes are not persisted, for example `RawMessageBody` is always set to 'false'. Elsewhere in the code the parameters seems to be correctly used and send tra... | https://github.com/localstack/localstack/issues/1235 | https://github.com/localstack/localstack/pull/1234 | 6ff360533f66a170dcb4b4314d4e729236de24e5 | 6528d90c054b715ed9649de1b38ebb620e05fbbd | 2019-04-03T22:10:50Z | python | 2019-04-29T21:07:02Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,225 | ["localstack/services/s3/s3_listener.py", "tests/integration/test_s3.py"] | Presigned S3 url doesnt notify sqs | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
I have configured s3 bucket with event configuration to sqs for every object creation. When I try out aws cli command I get the notification correctly.
When I try using presigned url with curl/pos... | https://github.com/localstack/localstack/issues/1225 | https://github.com/localstack/localstack/pull/1640 | 7f6efc9a765c461b23095b019ddcdbd8f51716e9 | f8ddf25b373af5a72d11e3caf036d2d74cce1388 | 2019-04-01T10:23:35Z | python | 2020-02-29T12:45:27Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,216 | ["localstack/services/awslambda/lambda_executors.py", "localstack/services/cloudformation/cloudformation_listener.py", "localstack/services/kinesis/kinesis_listener.py", "localstack/services/s3/s3_listener.py", "tests/integration/test_kclpy.py", "tests/integration/test_kinesis.py", "tests/unit/test_lambda.py"] | Unable to get sqs notification on s3 object creation | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
We have been trying to setup s3 and sqs on local stack. What we are trying to do is any object uploaded to s3 sqs queue needs to be notified. Find below bunch commands used.
```
aws --endpoint-ur... | https://github.com/localstack/localstack/issues/1216 | https://github.com/localstack/localstack/pull/1817 | a64e1f4e3324fc0b65d7251523fdcd7ba169178c | 78031dd65da9394f8b1b020be01ef02c63c433ee | 2019-03-27T16:53:02Z | python | 2019-12-01T16:09:25Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,215 | ["localstack/services/awslambda/lambda_api.py", "localstack/services/sqs/sqs_listener.py", "tests/integration/test_sqs.py", "tests/unit/test_sqs_listener.py"] | Lambda event does not get SQS MessageAttributes. | Hi,
It seems like when you have an SQS Queue invoking an Lambda function, that it does get the SQS message, however it seems that the MessageAttributes is always an empty object, even though there is MessageAttributes sent a long.
| https://github.com/localstack/localstack/issues/1215 | https://github.com/localstack/localstack/pull/1239 | 2d89a688fe609ff0e572bcccb36f0b0b3679ea3c | 386112d3af789ae84afb55f74a64afb439213c6d | 2019-03-27T16:04:14Z | python | 2019-04-10T17:55:40Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,203 | ["localstack/services/s3/s3_listener.py", "tests/integration/test_s3.py"] | response-content-disposition is not honored on download | When generating a pre-signed URL for download and specifying response-content-disposition to set a target filename, the actual download does not contain the Content-Disposition header therefore the download file does not have the requested filename.
I have confirmed that this works corrected in S3 itself.
I'd be ... | https://github.com/localstack/localstack/issues/1203 | https://github.com/localstack/localstack/pull/1579 | 418e996c666288c9ef82a678244898cb427deaa0 | abd07163e659904842a535d6e113df2388a97f94 | 2019-03-18T17:11:57Z | python | 2019-09-20T20:03:53Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,198 | ["localstack/ext/java/src/main/java/cloud/localstack/Localstack.java", "localstack/ext/java/src/main/java/cloud/localstack/TestUtils.java", "localstack/ext/java/src/main/java/cloud/localstack/docker/Container.java", "localstack/ext/java/src/main/java/cloud/localstack/docker/annotation/LocalstackDockerAnnotationProcesso... | JUnit random port test issue. | Hi,
I am seeing the following issue. I am running a test with the following annotation:
`@RunWith(LocalstackDockerTestRunner.class)
@LocalstackDockerProperties(randomizePorts = false, services = { "sqs:1120", "sns:232"})`
When the test start I am tailing the docker logs
`docker logs --tail all 67177a3832a2
...
... | https://github.com/localstack/localstack/issues/1198 | https://github.com/localstack/localstack/pull/1843 | 7f494e7d2cd8b781cfedc0f3662681677fffe15e | 45bafca1889bda7593e282e1c5f92f059ca4cede | 2019-03-15T20:36:23Z | python | 2019-12-08T17:01:04Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,191 | ["localstack/services/awslambda/lambda_api.py", "localstack/services/cloudformation/cloudformation_starter.py", "localstack/services/cloudformation/service_models.py", "localstack/utils/aws/aws_stack.py", "localstack/utils/cloudformation/template_deployer.py", "localstack/utils/common.py", "tests/integration/templates/... | AWS::SNS::Subscription Cloudformation support | Hi
I have issues creating sns subscriptions through Cloudformation. If I attempt to include a `AWS::SNS::Subscription` resource in a Cloudformation template and run `create-stack` then I get a 500 Internal Server error. The full template:
```
AWSTemplateFormatVersion: '2010-09-09'
Description: 'Test'
Resources... | https://github.com/localstack/localstack/issues/1191 | https://github.com/localstack/localstack/pull/1662 | a25cca53916567a6da672c89c6f7a699e2f4406c | dde3337305aac2ccdad4931d32823d6aef2e42da | 2019-03-13T16:14:18Z | python | 2019-10-19T22:50:35Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,170 | [".github/workflows/asf-updates.yml"] | S3 multipart upload discards ACLs | When uploading a large file (in my case 8MB), ACLs aren't respected:
```bash
dd bs=1M if=/dev/urandom of=small-file count=5
dd bs=1M if=/dev/urandom of=large-file count=8
alias awsl="aws --endpoint-url=http://localhost:4572"
awsl s3api create-bucket --bucket test
awsl s3 cp --acl public-read small-file s3:/... | https://github.com/localstack/localstack/issues/1170 | https://github.com/localstack/localstack/pull/9067 | 16b7f53c98d303476e70a1956aa1f193e7b534a7 | dfbaa14635557ab5cf6cb39178f01e3bcbca7313 | 2019-03-05T04:25:55Z | python | 2023-09-05T07:26:54Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,160 | ["localstack/services/awslambda/lambda_executors.py", "localstack/services/cloudformation/cloudformation_listener.py", "localstack/services/kinesis/kinesis_listener.py", "localstack/services/s3/s3_listener.py", "tests/integration/test_kclpy.py", "tests/integration/test_kinesis.py", "tests/unit/test_lambda.py"] | Java lambda function classpath mix up with localstack-utils-fat.jar | I'm writing a Lambda function with Java8 and try to use AWS SDK for Java to access a S3 bucket.
The AWS Java SDK for S3 is bundled with the java function in version 1.11.510. The function does work on AWS.
When executing the function on localstack the function fails with the following error when trying to access t... | https://github.com/localstack/localstack/issues/1160 | https://github.com/localstack/localstack/pull/1817 | a64e1f4e3324fc0b65d7251523fdcd7ba169178c | 78031dd65da9394f8b1b020be01ef02c63c433ee | 2019-03-02T16:02:10Z | python | 2019-12-01T16:09:25Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,159 | ["localstack/services/awslambda/lambda_executors.py", "localstack/services/cloudformation/cloudformation_listener.py", "localstack/services/kinesis/kinesis_listener.py", "localstack/services/s3/s3_listener.py", "tests/integration/test_kclpy.py", "tests/integration/test_kinesis.py", "tests/unit/test_lambda.py"] | Kinesis register-stream-consumer UnknownOperationException | I am trying to create a consume stream in kinesis. I created my stream using
`awslocal kinesis create-stream --stream-name mylogstream --shard-count 2`
which worked. Now I am trying to use lambda consumer, following the tutorial [here](https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis... | https://github.com/localstack/localstack/issues/1159 | https://github.com/localstack/localstack/pull/1817 | a64e1f4e3324fc0b65d7251523fdcd7ba169178c | 78031dd65da9394f8b1b020be01ef02c63c433ee | 2019-03-02T15:56:46Z | python | 2019-12-01T16:09:25Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,139 | ["Makefile", "localstack/ext/java/src/main/java/cloud/localstack/Localstack.java", "localstack/ext/java/src/main/java/cloud/localstack/TestUtils.java", "localstack/ext/java/src/test/java/cloud/localstack/docker/BasicDockerFunctionalityTest.java", "localstack/services/es/es_api.py", "tests/integration/test_cloudwatch.py... | Elasticsearch domain managed by Terraform cannot be updated; request for /tags/? returns 404 | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
We use Terraform to create and update resources in Localstack, which has worked for services like S3 and Dynamo so far.
We hit an issue with Elasticsearch domains, where the domain is created suc... | https://github.com/localstack/localstack/issues/1139 | https://github.com/localstack/localstack/pull/1842 | ee9ca7e0bee91f85c81b658b93751c0cc3edffeb | 7f494e7d2cd8b781cfedc0f3662681677fffe15e | 2019-02-21T22:26:26Z | python | 2019-12-08T16:59:08Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,131 | ["localstack/services/awslambda/lambda_api.py"] | Lambda Event Source Mapping From Kinesis Does Not Always Honor Batch Size | I have a setup where there is a node.js application that writes to a kinesis stream using putRecords for two items. The kinesis stream feeds a Lambda function that is configured with an eventSourceMapping with a batch size of 1. However, when I debug what the Records Kinesis feeds the lambda for an invocation, I see th... | https://github.com/localstack/localstack/issues/1131 | https://github.com/localstack/localstack/pull/2110 | a9b593c1699aeef9efbfcfc45ff13155fe8662e8 | a7f9ae2d2f1899d188fa2f4d36aea3160bcf69ca | 2019-02-16T01:01:49Z | python | 2020-03-01T17:01:34Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,116 | ["localstack/services/awslambda/lambda_api.py", "localstack/utils/aws/aws_models.py", "localstack/utils/testutil.py", "tests/unit/test_lambda.py"] | lambda/TagResource method missing | The TagResource api call method does not seem to be available. Get a 404 (NOT FOUND) when calling this method. | https://github.com/localstack/localstack/issues/1116 | https://github.com/localstack/localstack/pull/1242 | 89ab5e3ea74aca8a44c07dd59c881e9e541fe46f | 101f34c039c5ed5b5f18eb2473df23fe86d82ef3 | 2019-02-08T13:44:33Z | python | 2019-04-10T22:06:42Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,102 | ["README.md", "bin/docker-entrypoint.sh", "localstack/config.py"] | Consider adding a prefix to docker environment variables | Hi,
Since environment variables are global, I think they should be prefixed by `LOCALSTACK_` in the docker image. For example `SERVICES` environment variable might conflict at some point with something else, so naming it `LOCALSTACK_SERVICES` would be nicer.
This could be optional to avoid breaking changes. Local... | https://github.com/localstack/localstack/issues/1102 | https://github.com/localstack/localstack/pull/1181 | 1d1b3a0ca574af85766f54d1b30d26f777c71844 | 56b1cfedef29180d528d1de63d1ee95f4392ddb9 | 2019-01-29T18:21:26Z | python | 2019-03-12T02:54:44Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,073 | ["README.md", "localstack/constants.py", "requirements.txt"] | Update code climate and badge | https://codeclimate.com/github/atlassian/localstack is the old repo, is there a new code climate check for the new repo? The README is pointing to this old code climate project. | https://github.com/localstack/localstack/issues/1073 | https://github.com/localstack/localstack/pull/1075 | ff5091b46229d2940066c991301ef27192cd1377 | 66e11a09cbda5c792e417b4b9fa42e39b603fcfb | 2018-12-31T18:28:13Z | python | 2019-01-04T09:58:13Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,066 | ["README.md", "bin/Dockerfile.base", "localstack/constants.py", "localstack/services/dynamodb/dynamodb_starter.py", "localstack/services/infra.py", "localstack/utils/cloudwatch/cloudwatch_util.py", "localstack/utils/common.py", "requirements.txt", "tests/integration/test_integration.py"] | Coverage is locked to 4.0.3 | Why has coverage been locked to `==4.0.3` for two years? Why not `>=4.0.0`?
If I add localstack to my pipenv, I can't lock because of this unnecessary dependency. | https://github.com/localstack/localstack/issues/1066 | https://github.com/localstack/localstack/pull/1072 | 26f44a79e9bf47c1a24053a32a83480e7eeb9480 | 75df19b29afaaf2e10c48013bfc214e650741aec | 2018-12-20T20:07:44Z | python | 2019-01-01T15:01:09Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,061 | ["localstack/ext/java/src/test/java/cloud/localstack/S3FeaturesTest.java", "localstack/services/s3/s3_listener.py", "requirements.txt", "tests/integration/test_s3.py"] | Localstack S3 listNextBatchOfObjects pagination does not work as expected | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
Found a pagination bug with localstack's s3. Primarily against s3Client.listNextBatchOfObjects.
private void test() {
s3Client.putObject(s3BucketName, "key1", "content");
s3... | https://github.com/localstack/localstack/issues/1061 | https://github.com/localstack/localstack/pull/1895 | db088d532780ea4aaf0df7802e332ab7f74b852c | 917d8f0ddc797e938aeaac11d196aeb12f378232 | 2018-12-17T17:27:13Z | python | 2019-12-21T12:40:17Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,055 | [".travis.yml", "localstack/ext/java/src/main/java/cloud/localstack/docker/LocalstackDocker.java", "localstack/services/awslambda/lambda_executors.py", "localstack/utils/server/multiserver.py"] | Argument list too long when a lambda function event body is too large | I'm currently working on a process by which a kinesis stream triggers a lambda function to process a batch of records. Whenever the `putRecords` method is used with a large amount of records, the call to trigger the lambda will fail b/c the argument list is too long. The command is:
```
CONTAINER_ID="$(docker cre... | https://github.com/localstack/localstack/issues/1055 | https://github.com/localstack/localstack/pull/1474 | 3f9862bacdf9678517d38920b7f811f6d96f4e26 | 53d8e7ee9ab782e9421b715495a2d9bea8d2661e | 2018-12-12T15:33:07Z | python | 2019-08-13T20:57:01Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,052 | ["requirements.txt"] | PyYAML requirements inconsistent | Similar to #488. Using `localstack-0.8.8`, `Python 3.6.7` and `pipenv 2018.10.13`.
Installing via `pipenv install localstack` there seems to be internal inconsistency in PyYAML requirements. Localstack wants ==4.2b4, but AWS CLI wants >=3.0 <=3.13. Everything else seems to be happy with anything.
`pipenv graph... | https://github.com/localstack/localstack/issues/1052 | https://github.com/localstack/localstack/pull/1062 | 5970a62426b0c6fbbf64f2c480fc32128f0de9f0 | 696a4ca575e0684b44ea47a3f9af9b8095f0cf1a | 2018-12-10T22:59:38Z | python | 2018-12-21T15:38:06Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,046 | ["README.md", "bin/Dockerfile.base", "localstack/constants.py", "localstack/services/dynamodb/dynamodb_starter.py", "localstack/services/infra.py", "localstack/utils/cloudwatch/cloudwatch_util.py", "localstack/utils/common.py", "requirements.txt", "tests/integration/test_integration.py"] | docker build from repo clone error | After cloning the repo and running: `docker build -t localstack:latest .`
I can see the following errors:
```
Starting mock Lambda service (http port 4574)...
ERROR: Error forwarding request: HTTPConnectionPool(host='127.0.0.1', port=4564): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.... | https://github.com/localstack/localstack/issues/1046 | https://github.com/localstack/localstack/pull/1072 | 26f44a79e9bf47c1a24053a32a83480e7eeb9480 | 75df19b29afaaf2e10c48013bfc214e650741aec | 2018-12-08T19:33:13Z | python | 2019-01-01T15:01:09Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,037 | ["localstack/services/s3/s3_listener.py", "localstack/services/s3/s3_starter.py", "tests/integration/test_s3.py"] | S3 Put/Get Object is Collapsing XML, causes MD5 Digest validation errors | Loving this tool so far! I recently ran into an issue where it seems that performing a Put or a Get operation against my local S3 bucket is collapsing XML-like structures. This in turn causes MD5 digest validation errors.
I have an S3 bucket...
```
aws --endpoint-url=http://localhost:4572 s3api create-bucket --buc... | https://github.com/localstack/localstack/issues/1037 | https://github.com/localstack/localstack/pull/1814 | 03c69b1c1f29a57d865b70890347d9510ae22c3a | 9f7df7b74a1492f15d9f9515623a233ce7fcb38f | 2018-12-03T18:55:47Z | python | 2019-11-28T20:47:28Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,035 | ["bin/Dockerfile.base", "localstack/constants.py", "localstack/services/install.py"] | Localstack Elasticsearch plugin Ingest User Agent Processor not available | Plugin `Ingest User Agent Processor` is installed by default for Elasticsearch (ELK) on AWS. It is not the case in Localstack and think we basically expect it.
In addition, I was not able to install it manually through command `bin/elasticsearch-plugin install ingest-user-agent` as bin/elasticsearch-plugin is missin... | https://github.com/localstack/localstack/issues/1035 | https://github.com/localstack/localstack/pull/1082 | 1c5f2e9650155a839cc842a9cd07faf3e76ed5d2 | 423106ea1b876fbfabe11bd34438c111f2d05ea8 | 2018-11-30T10:45:45Z | python | 2019-01-27T22:53:21Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 1,003 | ["localstack/package.json"] | Kinesis persistence not working | Hi there,
We are executing localstack in a docker-compose environment defined in this docker-compose.yml:
```
version: '2.1'
services:
localstack:
image: localstack/localstack
ports:
- "4567-4583:4567-4583"
environment:
- SERVICES=s3,dynamodb,sns,sqs,kinesis,ses
- DEBUG=${DEB... | https://github.com/localstack/localstack/issues/1003 | https://github.com/localstack/localstack/pull/1711 | 9cba1010dfcbf2b7672df4d7da46b7e8ab287f64 | 2af21304eecda89405e042b322c1e9e2810e4583 | 2018-11-08T13:49:18Z | python | 2019-11-01T00:22:24Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 891 | [".github/workflows/asf-updates.yml", ".github/workflows/marker-report.yml", ".github/workflows/tests-pro-integration.yml"] | Python 3 node-gyp and leveldown | I just trying to install localstack with python 3.6
The installation of localdown 1.6.0 fail and is related to node-gyp that is not compatible with python 3
````
> leveldown@1.6.0 install /Users//node_modules/leveldown
> prebuild-install || node-gyp rebuild
prebuild-install info begin Prebuild-install versio... | https://github.com/localstack/localstack/issues/891 | https://github.com/localstack/localstack/pull/10101 | 0217fedbf8ca7c4b8fc2516fc2a5a2a750ddd538 | f81c2d71bb4eef8145d79726f03b8caed839aa82 | 2018-08-10T14:06:21Z | python | 2024-01-24T08:19:54Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 888 | [".github/workflows/asf-updates.yml", ".github/workflows/marker-report.yml", ".github/workflows/tests-pro-integration.yml"] | Application is unable to connect to localstack SQS | As a test developer, I am trying to use localstack to mock SQS for Integration Test.
Docker-compose:
```
localstack:
image: localstack/localstack:0.8.7
ports:
- "4567-4583:4567-4583"
- "9898:${PORT_WEB_UI-8080}"
environment:
- SERVICES=sqs
- DOCKER_HOST=unix:///var/run/... | https://github.com/localstack/localstack/issues/888 | https://github.com/localstack/localstack/pull/10101 | 0217fedbf8ca7c4b8fc2516fc2a5a2a750ddd538 | f81c2d71bb4eef8145d79726f03b8caed839aa82 | 2018-08-09T02:51:41Z | python | 2024-01-24T08:19:54Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 833 | [".github/workflows/asf-updates.yml", ".github/workflows/marker-report.yml", ".github/workflows/tests-pro-integration.yml"] | Redshift database support | Hello! Sorry to file an issue like this but it's the best way I have to leave a message for the folks here.
A painpoint in testability for my work has been testing code which hits Redshift as a database. Most companies I know provision a tiny Redshift instance to test things with but that's impractical for reasons I'm... | https://github.com/localstack/localstack/issues/833 | https://github.com/localstack/localstack/pull/10101 | 0217fedbf8ca7c4b8fc2516fc2a5a2a750ddd538 | f81c2d71bb4eef8145d79726f03b8caed839aa82 | 2018-07-04T01:13:47Z | python | 2024-01-24T08:19:54Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 809 | [".github/workflows/asf-updates.yml", ".github/workflows/marker-report.yml", ".github/workflows/tests-pro-integration.yml"] | Cloudformation script unable to parse GlobalSecondaryIndexes Read/Write CapacityUnits given as string value | 
When ProvisionedThroughput of GlobalSecondaryIndexes Read/Write CapacityUnits is given as a string, cloudformation service is unable to parse it. It needs int or long.
(was able to run once I changed throu... | https://github.com/localstack/localstack/issues/809 | https://github.com/localstack/localstack/pull/10101 | 0217fedbf8ca7c4b8fc2516fc2a5a2a750ddd538 | f81c2d71bb4eef8145d79726f03b8caed839aa82 | 2018-06-19T18:27:33Z | python | 2024-01-24T08:19:54Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 804 | [".github/workflows/tests-pro-integration.yml"] | Localstack seems not to set policy attributes to SQS queue | Hello,
I am trying to set a policy attribute to a SQS queue I have created. I don't get any error with these commands:
```
$ sqs_policy='{
"Version":"2012-10-17",
"Statement":[
{
"Effect":"Allow",
"Principal": { "AWS": "*" },
"Action":"sqs:SendMessage",
"Resourc... | https://github.com/localstack/localstack/issues/804 | https://github.com/localstack/localstack/pull/9452 | ada0bc4595bcf38153b5b7e6771a131b3d3fc017 | d8741aec352ae136f3eebb4df45eabbb4afd693d | 2018-06-13T13:34:29Z | python | 2023-10-24T05:39:01Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 794 | [".github/workflows/tests-pro-integration.yml"] | Lambda - Nodejs 8.10 | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
I'm unable to successfully get Node.js 8.10 to execute through API Gateway.
I'm using the stock example from Lambda:
```
exports.handler = async (event) => {
// TODO implement
return ... | https://github.com/localstack/localstack/issues/794 | https://github.com/localstack/localstack/pull/9452 | ada0bc4595bcf38153b5b7e6771a131b3d3fc017 | d8741aec352ae136f3eebb4df45eabbb4afd693d | 2018-05-31T00:34:10Z | python | 2023-10-24T05:39:01Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 741 | [".github/workflows/asf-updates.yml", ".github/workflows/marker-report-issue.yml", ".github/workflows/marker-report.yml", ".github/workflows/tests-cli.yml", ".github/workflows/tests-podman.yml", ".github/workflows/tests-pro-integration.yml"] | Have issue with running on vm - ubuntu 16.04 with "localstack start" (windows 10) | <!-- Love localstack? Please consider supporting our collective:
👉 https://opencollective.com/localstack/donate -->
After debug mode:
Starting local dev environment. CTRL-C to quit.
Starting mock API Gateway (http port 4567)...
Starting mock DynamoDB (http port 4569)...
Starting mock SES (http port 4579)...
... | https://github.com/localstack/localstack/issues/741 | https://github.com/localstack/localstack/pull/9848 | d68c9def509f0d948bf394d0f37cd1ce5c11a233 | 706d2823db41ded7cfb6eebf39f204a05a7c03c6 | 2018-04-28T11:37:21Z | python | 2023-12-12T13:35:04Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 520 | ["localstack/services/s3/s3_listener.py", "tests/integration/test_s3.py"] | s3 api ignores ExposeHeaders CORS rule | looks like setting ExposeHeaders has no effect on requests to s3 (headers such as `x-amz-version-id` don't reach the clients) for browser-based uploads.
http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPOST.html | https://github.com/localstack/localstack/issues/520 | https://github.com/localstack/localstack/pull/1224 | 1cfc2641cfeb8274f4024df460a801dc92d70106 | 28ead938d6fd07405717917430d2cf2d32955b43 | 2017-12-20T13:30:03Z | python | 2019-04-13T20:43:29Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 503 | [".github/workflows/tests-pro-integration.yml"] | Files posted to S3 as multipart/form-data do not trigger notifications | I have an S3 bucket set up with a notification to trigger a Lambda task when any file is added to the bucket with an `images` prefix. It works fine when I add the file via the s3 API or even via curl, but when I post the file through the browser (using [this library](https://github.com/CulturalMe/meteor-slingshot)), th... | https://github.com/localstack/localstack/issues/503 | https://github.com/localstack/localstack/pull/9800 | 0ca29a2e311cb8d1c8ae5df298976eb3d6f58920 | 7c82821ec0df521d64dbcbaf6f2e2501b80e04b9 | 2017-12-08T21:37:20Z | python | 2023-12-05T07:38:02Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 480 | ["README.md"] | The path is not shared from OS X and is not known to Docker. | Get this error when start localstack on mac.
```
$ localstack start --docker
Starting local dev environment. CTRL-C to quit.
docker run -it -p 8080:8080 -p 443:443 -p 4567-4582:4567-4582 -p 4590-4593:4590-4593 -v "/var/folders/q5/s3zcbh6mzhwq4gxj/T/localstack:/tmp/localstack" -v "/var/run/docker.sock:/var/run/doc... | https://github.com/localstack/localstack/issues/480 | https://github.com/localstack/localstack/pull/485 | 23877c7b83e3910380be9a3128263ed1af4bd286 | 46ca7432455c2a22b8cacd9bd67ec8d3ab466055 | 2017-11-23T21:58:59Z | python | 2017-11-25T16:32:49Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 357 | [".github/workflows/pr-welcome-first-time-contributors.yml", ".github/workflows/rebase-release-prs.yml", ".github/workflows/rebase-release-targeting-prs.yml", ".github/workflows/tests-pro-integration.yml"] | SNS subject is empty | Hi!
I am having problems that the subject is an empty string when receiving the notification. Anyone else experiencing this? | https://github.com/localstack/localstack/issues/357 | https://github.com/localstack/localstack/pull/9622 | dfdf585cf3382e8166d338e3a17fd923b1b8dc27 | 218e855c680ce4f838169b7e7ec66ddfbd8c0a67 | 2017-09-28T23:41:27Z | python | 2023-11-14T06:49:13Z |
closed | localstack/localstack | https://github.com/localstack/localstack | 78 | [".github/workflows/sync-project.yml"] | Unable to use MessageAttributeValues with SQS | I'm trying to use localstack's SQS endpoint with a Java application and am running into some issues when sending MessageAttributeValues. Given this test code:
```
@Test
public void testMessageAttributeValues() {
AmazonSQSAsync sqs = AmazonSQSAsyncClientBuilder.standard().withEndpointConfiguration(... | https://github.com/localstack/localstack/issues/78 | https://github.com/localstack/localstack/pull/9224 | 82796a99ec085bdc4e1f7113d2ddbba52c449232 | e7a5afa4614656b2aec71509550978e32af4b629 | 2017-04-25T19:33:47Z | python | 2023-09-26T05:40:03Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,731 | ["cmd/dagger/functions.go", "core/integration/module_functions_test.go"] | 🐞 [CLI]: `dagger functions $function_name` returns an error if return type is not a dagger object | ### What is the issue?
calling `dagger functions foo` on the following function definition raises the following error:
`Error: function 'foo' returns non-object type STRING_KIND`
```go
package main
type Testmodule struct{}
func (m *Testmodule) Foo() string {
return "bar"
}
```
### Dagger version
da... | https://github.com/dagger/dagger/issues/6731 | https://github.com/dagger/dagger/pull/6733 | 58f4b8f7791786a740134ee36854002f9021c1fc | 4359dd91d1739cddbc83ca37328943f6187ce50a | 2024-02-25T14:27:41Z | go | 2024-02-26T12:02:06Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,728 | ["internal/mage/util/engine.go", "sdk/python/runtime/.gitignore", "sdk/python/runtime/dagger.json", "sdk/python/runtime/go.mod", "sdk/python/runtime/go.sum", "sdk/python/runtime/main.go", "sdk/python/runtime/template/src/main.py"] | Zenith: default to use a class instead of top-level functions in Python | ## Summary
Change the `dagger init` template for Python to use a class instead of just functions. Also update documentation snippets to do the same.
## Motivation
In an earlier iteration of Dagger modules, when the concept of objects that contain functions were introduced, the Python SDK kept the convenience o... | https://github.com/dagger/dagger/issues/6728 | https://github.com/dagger/dagger/pull/6729 | e64f185334734a37a2f18a95ec3cf21a27e32437 | 4b7ab1e217d1f2da30723905282ba3cf27de8cab | 2024-02-24T00:58:03Z | go | 2024-02-26T19:06:17Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,725 | ["cmd/dagger/flags.go", "cmd/dagger/functions.go", "core/integration/module_call_test.go"] | Support passing modules as arguments in the CLI | Modules can accept other modules as arguments to functions. Use cases:
1. SDKs implemented as modules do this already by accepting `ModuleSource` as an arg
2. Support for running tests of modules could use this: https://github.com/dagger/dagger/issues/6724
3. Support for re-executing modules in specialized hosts (i.... | https://github.com/dagger/dagger/issues/6725 | https://github.com/dagger/dagger/pull/6761 | c5bf6978ba169abbc5cef54b3d7cd829f141d792 | e02ff3d2b50665275deb52902abc46ac0f6f138a | 2024-02-23T18:56:08Z | go | 2024-02-27T22:55:04Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,719 | ["engine/server/buildkitcontroller.go", "engine/server/server.go"] | Very high memory usage in dagger engine | I noticed that on `main` when running `go test -run=TestModule ...` the engine ends up using over 6GB of RSS at times. By eye, it seems like it particularly spikes during `TestModuleLotsOfFunctions` (but did not fully confirm yet).
`pprof` is showing:
```
File: dagger-engine
Type: inuse_space
Time: Feb 22, 2024 ... | https://github.com/dagger/dagger/issues/6719 | https://github.com/dagger/dagger/pull/6760 | f71928d6e4baef0735e06afacdf2772880bf1536 | a0b622addceef9308b75c928935394c976c4872b | 2024-02-22T19:02:08Z | go | 2024-02-27T19:34:42Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,687 | [".changes/unreleased/Fixed-20240307-145421.yaml", "go.mod", "go.sum"] | 🐞 Directory.glob with recursive patterns (`**/*.go`) returns duplicates and is very slow | ### What is the issue?
It looks like Buildkit returns weird results when you `ReadDir` with a glob like `**/*.go`. It actually seems to find everything recursively, but then trim each result to only have the first path segment. So for `a/1.go a/2.go b/3.go` it'll return `a a b`. We then recurse into `a` twice, which... | https://github.com/dagger/dagger/issues/6687 | https://github.com/dagger/dagger/pull/6852 | 0d815c84455006adb0187f6aa144bfe1356a35cc | 49863fb3638be2bfc351fc8db3d5b1a4fc5668e7 | 2024-02-18T01:09:37Z | go | 2024-03-07T16:43:26Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,669 | ["cmd/codegen/generator/go/templates/format.go", "core/integration/module_test.go"] | 🐞 installed module is unusable (codegen'd with wrong capitalization) | ### What is the issue?
Created module for running remote commands via SSH https://daggerverse.dev/mod/github.com/samalba/dagger-modules/ssh@35ed3e343d7e6faa3eab44570ee7531914dd4e65
I initialized the module with:
`dagger init --name ssh --sdk go --source .`
The module code uses a struct named `Ssh`. It works f... | https://github.com/dagger/dagger/issues/6669 | https://github.com/dagger/dagger/pull/6692 | a659c04b9982ef90a999dc20efb9485b11eda556 | 15cb7d10a00d0e0b19ea1a2e8fc07cf8c360d04c | 2024-02-13T22:55:54Z | go | 2024-02-20T11:15:21Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,664 | ["cmd/dagger/module.go", "core/integration/module_config_test.go"] | Unable to reference remote modules by short name | Version: 0.9.10
What I expect to work:
```sh
dagger init
dagger install github.com/shykes/daggerverse/hello
dagger -m hello functions
```
What I get:
`Error: failed to get configured module: failed to get local root path: input: resolve: moduleSource: resolveContextPathFromCaller: cannot resolve non-local module sou... | https://github.com/dagger/dagger/issues/6664 | https://github.com/dagger/dagger/pull/6668 | 430ea3a7fec9f4e88584e1aa352a7e43c083e518 | 41a311347e4d8539b2206903a5e93acaf1108d34 | 2024-02-13T17:43:20Z | go | 2024-02-19T17:06:53Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,662 | ["cmd/codegen/generator/go/templates/module_objects.go", "core/integration/module_test.go"] | Using embedded fields with go modules fails with unhelpful error | Take the following code:
```go
type Playground struct {
// This breaks
*Directory
// This doesn't
// Directory *Directory
}
func New() Playground {
return Playground{Directory: dag.Directory()}
}
```
When attempting to evaluate anything on the `Playground` object, we get the following error:
```
Error: resp... | https://github.com/dagger/dagger/issues/6662 | https://github.com/dagger/dagger/pull/6715 | 2f975ef29ad78e08c5b9328f6db3797b4c57da69 | b966257dbc24b714e6ee39f01158f10f8fa24fd3 | 2024-02-13T15:54:25Z | go | 2024-02-26T15:11:43Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,659 | ["cmd/codegen/generator/go/generator.go", "core/integration/module_test.go"] | Error running `dagger init`: `package name is empty` | To reproduce this, try initializing a dagger module in a directory that already contains a `go.work`. For example:
```
$ git clone https://github.com/dagger/dagger.git
$ go work init
$ dagger init --sdk=go
✘ ModuleSource.asModule: Module! 2.0s
✘ Module.withSource(
source: ✔ ModuleSource.resolveFromCall... | https://github.com/dagger/dagger/issues/6659 | https://github.com/dagger/dagger/pull/6678 | b1afa431038bc0a96e4783b30d34b5c8f67f6488 | 31ddf2787ec1e05fb4ad00c33df767796063705f | 2024-02-13T13:35:20Z | go | 2024-02-18T23:23:31Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,640 | ["cmd/dagger/module.go", "core/integration/module_test.go", "core/integration/suite_test.go"] | 🐞 CLI: dagger listen --disable-host-read-write fails in v0.9.9 | ### What is the issue?
There is a regression on dagger v0.9.9 with the dagger listen command when the flag `--disable-host-read-write` is specified. Prior to v0.9.8 this was working correctly. Since v0.9.9 it fails with:
```
Error: failed to get configured module: failed to get local root path: input: resolve: module... | https://github.com/dagger/dagger/issues/6640 | https://github.com/dagger/dagger/pull/6732 | b966257dbc24b714e6ee39f01158f10f8fa24fd3 | ca447cd4d7ca6d25e62008d3e1f87100111709df | 2024-02-09T14:29:11Z | go | 2024-02-26T17:12:49Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,625 | ["core/integration/module_test.go", "core/schema/module.go"] | 🐞 Modules: generated .gitxxx files are put next do dagger.json rather than on source path | Follow-up from:
- https://github.com/dagger/dagger/pull/6575
For example, in our root:
```
dagger init --sdk=python --source=dev
```
This will add, or overwrite, .gitattributes and .gitignore with `/sdk`, when it's actually in `dev/sdk`.
Everytime I do `dagger develop`, these files get overwritten.
\cc @s... | https://github.com/dagger/dagger/issues/6625 | https://github.com/dagger/dagger/pull/6699 | 4a04803cfb834c39b39ef7bac57fcf7b74c35d38 | 77a53a85956942540fb2078ef490ac8eeac56e0e | 2024-02-08T19:20:56Z | go | 2024-02-20T14:01:32Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,623 | ["core/integration/module_call_test.go", "core/integration/module_config_test.go", "core/integration/module_test.go", "core/modulesource.go", "core/schema/module.go", "core/schema/modulesource.go", "core/schema/sdk.go"] | Need integ tests for git modules | Right now all our integ tests only use local refs because git modules are locked into github repos and we've been trying to avoid tests depending on modules in an external git repo. However, I think we should just bite the bullet on that at this point since missing that test coverage is too big a gap. | https://github.com/dagger/dagger/issues/6623 | https://github.com/dagger/dagger/pull/6693 | 6a3689eeb680920fe5f830ac972be3dc1fa4f29b | a659c04b9982ef90a999dc20efb9485b11eda556 | 2024-02-08T18:15:16Z | go | 2024-02-20T10:52:53Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,532 | ["cmd/codegen/generator/go/templates/module_funcs.go", "cmd/codegen/generator/go/templates/modules.go", "core/integration/module_test.go"] | 🐞 Confusing error message when `Context` is not the first parameter of a function | ### What is the issue?
Mostly what the title says. The error message I get from putting the `Context` in the wrong place is cryptic.
### Dagger version
dagger v0.9.7
### Steps to reproduce
Create any Zenith module function and put the `context.Context` in any location but the first parameter.
### Log output
```
... | https://github.com/dagger/dagger/issues/6532 | https://github.com/dagger/dagger/pull/6551 | 5b273004464711d1efcf427da9cefa7dc389497d | dcee33ec84858610450ef30ddfcad60a9b9be053 | 2024-01-30T19:02:52Z | go | 2024-02-07T17:20:29Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,510 | ["core/container.go", "core/integration/container_test.go"] | 🐞 `with_user` breaks `with_exec`'s `stdin` | ### What is the issue?
`with_exec`'s `stdin` parameter enables writing content to the command's standard input before it closes. However, if you switch to another user, it breaks without any notification, preventing the command from executing.
### Dagger version
dagger v0.9.7 (registry.dagger.io/engine) darwin/arm64... | https://github.com/dagger/dagger/issues/6510 | https://github.com/dagger/dagger/pull/6511 | 30b22dd06e4366aed01f8f86d0a1729835b12aec | 6a31727f759d9137f5940458a06e196ab99b0717 | 2024-01-26T20:02:16Z | go | 2024-01-29T12:22:43Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,501 | ["engine/buildkit/client.go"] | 🐞 Logs are duplicated when a vertex is used multiple times | ### What is the issue?
This issue is only on `main`; the current release, v0.9.7, is not affected.
If you run a pipeline with a vertex that is used multiple times in the same session, the log output will be duplicated, possibly with each extra use (i.e. cache hit).
### Dagger version
main
### Steps to reproduce
O... | https://github.com/dagger/dagger/issues/6501 | https://github.com/dagger/dagger/pull/6505 | 53179a064559cf376fa2ad7596e32bd4e4934c74 | 30b22dd06e4366aed01f8f86d0a1729835b12aec | 2024-01-26T02:30:45Z | go | 2024-01-29T11:51:30Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,430 | ["engine/buildkit/client.go"] | 🐞 Service stop semantics work differently between SDK and Modules | ### What is the issue?
Initially repoted by @matipan here: https://discord.com/channels/707636530424053791/1120503349599543376/1196809237150584995
Given the current function
```go
func (m *Foo) Nginx(ctx context.Context) error {
svc := dag.Container().
From("nginx").
WithExposedPort(80).
AsService()
... | https://github.com/dagger/dagger/issues/6430 | https://github.com/dagger/dagger/pull/6518 | 8483a5e7ace6174c60e37ba395ddd1ad9b849c1e | 6982b28be3c7b40fb5b5dae70601077f27bae1b8 | 2024-01-16T14:58:22Z | go | 2024-01-29T19:37:23Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,416 | [".changes/unreleased/Added-20240116-163957.yaml", "core/integration/file_test.go", "core/schema/file.go", "docs/docs-graphql/schema.graphqls", "sdk/elixir/lib/dagger/gen/file.ex", "sdk/go/dagger.gen.go", "sdk/python/src/dagger/client/gen.py", "sdk/rust/crates/dagger-sdk/src/gen.rs", "sdk/typescript/api/client.gen.ts"] | ✨ Add name field to File | ### What are you trying to do?
Files passed to `dagger call` currently does not preserve the name of a file passed to it.
### Why is this important to you?
Some tools often require the original file name (for example: Spectral requires the file name do determine the file type)
Discussed it with @sipsma here: ... | https://github.com/dagger/dagger/issues/6416 | https://github.com/dagger/dagger/pull/6431 | 61bf06b970402efa254a40f13c4aee98adfbdb42 | c716a042f290b11c6122d247f8b31651adb5f1d0 | 2024-01-13T21:04:31Z | go | 2024-01-17T16:17:48Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,409 | ["cmd/dagger/call.go", "cmd/dagger/flags.go", "cmd/dagger/functions.go", "core/integration/module_call_test.go"] | ✨ Allow cache volumes as CLI parameters | ### What are you trying to do?
I have a module with the following constructor:
```go
func New(
// ...
// Disable mounting cache volumes.
disableCache Optional[bool],
// Module cache volume to mount at /go/pkg/mod.
modCache Optional[*CacheVolume],
// Build cache volume to mount at ~/.cache/go-buil... | https://github.com/dagger/dagger/issues/6409 | https://github.com/dagger/dagger/pull/6520 | 0b91d2a3e04c81ad0dad799d34af30d3801ae76f | 7350f0b8dd5ff74b7ae0ddfd05e35c37bf16712b | 2024-01-12T07:04:04Z | go | 2024-01-31T15:53:55Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,369 | ["cmd/codegen/generator/go/templates/module_objects.go"] | 🐞 Optional type in module field yields error | ### What is the issue?
When using `Optional` in a module field type (combined with constructors) Dagger yields the following error:
> Error: query module objects: json: error calling MarshalJSON for type *dagger.Module: returned error 400 Bad Request: failed to get schema for module "ci": failed to create field: fa... | https://github.com/dagger/dagger/issues/6369 | https://github.com/dagger/dagger/pull/6370 | 42d9870f1535cff19dc2ca85134aee6ffcd3f0dd | 25955caab25bc35543ebcd1c0746c857533c7021 | 2024-01-07T22:56:03Z | go | 2024-01-09T11:09:04Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,368 | ["docs/current_docs/cookbook.mdx", "docs/current_docs/guides/723462-use-secrets.mdx", "docs/current_docs/quickstart/635927-caching.mdx"] | Document that changing secrets doesn't invalidate the cache | ### What is the issue?
This is coming from a Discord question here: https://discord.com/channels/707636530424053791/1193141267903815700
Our official secrets docs (https://docs.dagger.io/723462/use-secrets/) do not mention anything about the fact that changing secrets doesn't invalidate the cache. I think it's imp... | https://github.com/dagger/dagger/issues/6368 | https://github.com/dagger/dagger/pull/6472 | 71e6723bb75ebf1611d2fa7af39763119350bb1b | cd38b2f3bb2a6914705b0d7549d3fe0610cf7fd8 | 2024-01-06T15:26:48Z | go | 2024-01-23T15:49:53Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,359 | ["cmd/dagger/call.go", "core/integration/module_call_test.go", "core/integration/module_test.go"] | CLI: update handling of various core types | As described in [this comment](https://github.com/dagger/dagger/issues/6229#issuecomment-1863649336) (and that issue generally), we need to make some adjustments to the CLIs behavior when `dagger call` ends in various core types.
There's a handful of related adjustments needed here. Creating as a checklist for now t... | https://github.com/dagger/dagger/issues/6359 | https://github.com/dagger/dagger/pull/6482 | 2999573c5a34e85b8baac8c0150881d9c08a86b8 | d91ac42c196873830c2e0876b251f3bf4d62ea49 | 2024-01-03T20:19:06Z | go | 2024-01-26T18:48:04Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,358 | ["cmd/dagger/cloud.go", "cmd/dagger/functions.go", "cmd/dagger/main.go", "cmd/dagger/module.go", "cmd/dagger/query.go", "cmd/dagger/run.go"] | CLI: improve display of core API in `--help` output | https://github.com/dagger/dagger/pull/6293 exposed the core API in `dagger call`, which results in `--help` and `dagger functions` output to be pretty overwhelming and messy when dealing with core types like `Container`.
There's most likely going to be a lot of little things needed to address this, possibly includin... | https://github.com/dagger/dagger/issues/6358 | https://github.com/dagger/dagger/pull/6549 | 7a63c3d019530d1f08b2f72cc28e753d99b5896d | 7c0ee45d762719005fad5981d41b038811ebb7f6 | 2024-01-03T20:03:17Z | go | 2024-02-01T14:32:43Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,357 | ["cmd/dagger/call.go", "cmd/dagger/download.go", "cmd/dagger/functions.go", "core/integration/module_call_test.go"] | CLI: support for `-o` flag | As described in [this comment](https://github.com/dagger/dagger/issues/6229#issuecomment-1863649336), we want to add a `-o` flag for smartly redirecting output in `dagger call`.
---
This flag would be applicable for any return type and result in that result being written to the caller's filesystem rather than wri... | https://github.com/dagger/dagger/issues/6357 | https://github.com/dagger/dagger/pull/6432 | 5201d6cf969a539189ec996eaa543233e20edd21 | 829fe2ca13b97ac3a4ee98401ebea7c7d1f4a9dd | 2024-01-03T19:54:37Z | go | 2024-01-22T17:33:09Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,312 | ["cmd/codegen/introspection/introspection.go", "core/integration/module_test.go", "core/moddeps.go", "core/module.go", "core/schema/schema.go", "core/schema/sdk.go", "dagql/types.go"] | Modules: `dag.Host()` name is extremely confusing | When module code uses `dag.Host()`, the "host" it refers to is the module container's "host", not the CLI caller's host.
While this is technically consistent, it's very non-obvious at first glance and a constant source of confusion.
I think at a minimum we need to change `Host` to something with a more obvious na... | https://github.com/dagger/dagger/issues/6312 | https://github.com/dagger/dagger/pull/6535 | c241d901a48f699a1d62f0daad882c88730e1fba | 7a63c3d019530d1f08b2f72cc28e753d99b5896d | 2023-12-21T19:46:28Z | go | 2024-02-01T14:23:42Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,304 | ["sdk/rust/crates/dagger-sdk/tests/mod.rs"] | tests: flaky rust test | cc @dagger/sdk-rust :heart:
I frequently see this rust test failing: https://github.com/dagger/dagger/actions/runs/7263920431/job/19790293305 (which passes upon a re-run):
```
Diff < left / right > :
failed to query dagger engine: domain error:
Look at json field for more details
<unexpected status from HE... | https://github.com/dagger/dagger/issues/6304 | https://github.com/dagger/dagger/pull/6385 | e355c57d5af509ba595f7fd0e851c561b0f724de | fcf2f9b1cae19d340f5f42ba788d13bc157e4198 | 2023-12-21T11:02:19Z | go | 2024-01-10T11:06:34Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,303 | ["core/integration/module_up_test.go", "core/schema/service.go"] | Bug: `bind: address already in use` when using `dagger up --port` | Hit this while backfilling integ test coverage for `dagger up` as part of CLI changes. Repro below.
Module code:
```go
package main
import "context"
func New(ctx context.Context) *Test {
return &Test{
Ctr: dag.Container().
From("python").
WithMountedDirectory(
... | https://github.com/dagger/dagger/issues/6303 | https://github.com/dagger/dagger/pull/6626 | 7f31f89b7e121368199403ff36cbbece3b31a6cb | 5ee49b9e9a955432d688157893b299f8a6180b1d | 2023-12-20T21:23:29Z | go | 2024-02-08T20:42:59Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,286 | ["cmd/codegen/generator/go/templates/module_funcs.go", "cmd/codegen/generator/go/templates/modules.go", "core/integration/module_test.go", "core/schema/usermod.go"] | 🐞 Zenith: camelCase automagic issues with PythonSDK | ### What is the issue?
When attempting to run the examples provided in the dagger module's documentation, I encountered two issues that presumably have the same underlying cause regarding the automatic camelCase conversion performed in the Python SDK.
## First issue
Take the following example (taken from [here... | https://github.com/dagger/dagger/issues/6286 | https://github.com/dagger/dagger/pull/6287 | 1502402c4c028f15165a14ea8f05260057c8141e | 62e02912129760bc86c309e5107dd7eb463ac2bf | 2023-12-16T16:19:10Z | go | 2023-12-20T11:15:41Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,285 | ["sdk/nodejs/package.json", "sdk/nodejs/yarn.lock"] | 🐞 Test linear integration | ### What is the issue?
New issue to test linear integration.
### Dagger version
v0.9.4
### Steps to reproduce
_No response_
### Log output
_No response_ | https://github.com/dagger/dagger/issues/6285 | https://github.com/dagger/dagger/pull/4314 | 6dbef118931766411a10c8f06124be7b455bc7b9 | 57c4819807f4f2e0da741fe20c8cb8ccd3332fb3 | 2023-12-15T21:18:11Z | go | 2023-01-09T08:20:52Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,252 | ["core/integration/module_test.go", "core/schema/coremod.go", "core/schema/usermod.go"] | 🐞 Module constructor returns pointer for empty object instead of returning nil for *Directory type | ### What is the issue?
When I created a module constructor with `// +optional=true` missing flag returned a pointer of the empty object instead of nil.
Example Code:
```go
package main
func New(
// +optional=true
src *Directory,
) *A {
return &A{Src: src}
}
type A struct {
Src *Directory
}
... | https://github.com/dagger/dagger/issues/6252 | https://github.com/dagger/dagger/pull/6257 | fd8922f8b964be83bd3fed1490fda114641ac480 | 3b82755058493c63d399bf095b1c3c4b4eba2834 | 2023-12-11T16:59:25Z | go | 2023-12-13T11:16:00Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,163 | ["core/integration/remotecache_test.go", "engine/buildkit/filesync.go", "engine/sources/blob/blobsource.go"] | 🐞 WithMountedDirectory invalidating remote cache | ### What is the issue?
Given the following pipeline:
```go
func main() {
// initialize Dagger client
ctx := context.Background()
client, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stderr))
if err != nil {
panic(err)
}
defer client.Close()
src := client.Host().Directory(".", dagger.Hos... | https://github.com/dagger/dagger/issues/6163 | https://github.com/dagger/dagger/pull/6211 | 099f2aebb0b486b6f584de1074f4ff1521541b07 | a789dbe3747ad3cef142102447194d3e59f9ed7f | 2023-11-27T18:54:01Z | go | 2023-12-06T17:02:45Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,162 | ["cmd/codegen/generator/go/templates/modules.go", "cmd/codegen/generator/go/templates/modules_test.go", "core/integration/module_test.go", "core/integration/testdata/modules/go/minimal/main.go"] | Go SDK Modules: enable general type annotation support via comments | Discord discussion: https://discord.com/channels/707636530424053791/1177373379255349248
As we need to add more support in Go for things like marking a field as private, setting default values, etc.
The most obvious option was to require use of structs (including the `Opts` struct idea, the "inline anonymous struc... | https://github.com/dagger/dagger/issues/6162 | https://github.com/dagger/dagger/pull/6179 | e8097f5798af7f8b22f2a1be94a27c9800185053 | a499195df3de436969c4477bb1e9f074aa586eb6 | 2023-11-27T16:51:18Z | go | 2023-12-06T14:29:35Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,096 | ["sdk/python/src/dagger/mod/_utils.py", "sdk/python/tests/modules/test_utils.py"] | 🐞 Python modules: A regular union is documented as a fallback | ### What is the issue?
When not providing documentation with `Annotated[str | None, Doc("foobar")]`, the union itself is annotated:
<pre>
Usage:
dagger call foo [flags]
Flags:
<strong> --bar string Represent a PEP 604 union type
E.g. for int | str</strong>
-h, --help ... | https://github.com/dagger/dagger/issues/6096 | https://github.com/dagger/dagger/pull/6097 | f737550ed8e30b00b510dc07ef2df8a6f14618f3 | 40a445b12e2886d3305a56de4f14803412c158f1 | 2023-11-13T14:18:51Z | go | 2023-11-14T16:27:11Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,094 | ["sdk/python/pyproject.toml", "sdk/python/src/dagger/mod/_converter.py", "sdk/python/src/dagger/mod/_utils.py", "sdk/python/tests/modules/test_utils.py"] | 🐞 Python modules: "unsupported union type" error when using `Optional[str]` in a parameter | ### What is the issue?
Can't use `Optional` in a function parameter (module).
Reported by user in [Discord](https://discord.com/channels/707636530424053791/1172173031007862835).
### Log output
```
TypeError: Unsupported union type: typing.Optional[str]
```
### Steps to reproduce
With this module:
```python
... | https://github.com/dagger/dagger/issues/6094 | https://github.com/dagger/dagger/pull/6095 | 40a445b12e2886d3305a56de4f14803412c158f1 | 86ea539f8a91914981f1be9593d6005c63b7aa7c | 2023-11-13T13:57:03Z | go | 2023-11-14T16:52:07Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,091 | ["sdk/elixir/.changes/unreleased/Fixed-20231113-215135.yaml", "sdk/elixir/lib/dagger/codegen/elixir/function.ex", "sdk/elixir/lib/dagger/codegen/elixir/module.ex", "sdk/elixir/lib/dagger/codegen/elixir/templates/object_tmpl.ex", "sdk/elixir/lib/dagger/gen/client.ex", "sdk/elixir/lib/dagger/gen/container.ex", "sdk/elixi... | 🐞 Service bindings don't work with Elixir SDK | ### What is the issue?
I've tried converting the NodeJS docker with postgres example into Elixir, but the `.with_service_binding` doesn't seem to work properly - an error is always thrown. If I remove the service binding the workflow completes ok (although the tests fail, because they need the database). My workflow i... | https://github.com/dagger/dagger/issues/6091 | https://github.com/dagger/dagger/pull/6099 | a6ba9e8016145ff3d19c25fba9247b4678ed3504 | 5989170918a9c365699bf020acc733445e3a7330 | 2023-11-10T12:20:50Z | go | 2023-11-22T07:51:17Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,090 | ["sdk/python/.changes/unreleased/Fixed-20231113-164527.yaml", "sdk/python/src/dagger/_codegen/generator.py", "sdk/python/tests/client/test_codegen.py"] | Python SDK: module dependency w/ doc string that ends in `"` causes error | Repro:
```
mkdir -p test/submod
cd test/submod
dagger mod init --sdk=go --name=submod
cd ..
dagger mod init --sdk=python --name=test
dagger mod install ./submod
dagger functions
```
Error:
```
✘ exec /runtime ERROR [0.49s]
┃ Traceback (most recent call last): ... | https://github.com/dagger/dagger/issues/6090 | https://github.com/dagger/dagger/pull/6104 | 758604428f70ac78df9106017e2dfa2f62436ecf | 0def6c777bbd4f7b284f9bee68d8f3f58e16c0b6 | 2023-11-08T16:55:48Z | go | 2023-11-14T19:25:49Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 6,066 | ["cmd/dagger/module.go"] | dagger mod publish should switch to `PUT /crawl` instead of `GET /crawl` | There has been a recent change - 7pm GMT on Nov. 5, 2023 - in the <https://daggerverse.dev> route that publishes a module.
It used to be `GET /crawl`. It is not `PUT /crawl`. This private PR has more details: https://github.com/dagger/dagger.io/pull/3058#issuecomment-1793819422
This is a reminder that we need to ... | https://github.com/dagger/dagger/issues/6066 | https://github.com/dagger/dagger/pull/6274 | 4d96689943afb13c23f5984dbe19e7967c912a7d | d63f3fb2f14314206d748a25a95abf8e9731bd52 | 2023-11-06T11:07:55Z | go | 2023-12-15T21:29:50Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,991 | ["cmd/codegen/generator/go/templates/modules.go", "core/integration/module_test.go"] | Zenith: allow private fields in types | Creating an issue based on @shykes's comment here: https://discord.com/channels/707636530424053791/1120503349599543376/1166880734741549176
Today, an example type in Go might look something like:
```go
type X struct {
Foo string `json:"foo"`
}
```
In this example, `Foo` is exported and persisted betwee... | https://github.com/dagger/dagger/issues/5991 | https://github.com/dagger/dagger/pull/6224 | 9a0f81a7367a675b13854f0be82694d4ebc44dd3 | 69da5d811ce20d7abc1d4af3a9912bb63ce93baf | 2023-10-27T14:51:01Z | go | 2023-12-11T13:49:57Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,975 | ["cmd/codegen/generator/go/generator.go", "core/integration/module_test.go"] | Zenith: error creating module named "Go" | ```
~/G/g/F/P/go ❯❯❯ dagger mod init --name Go --sdk go bugfix/prevent-stack-smashing ✱ ◼
✘ asModule(sourceSubpath: ".") ERROR [0.92s]
✘ .....
✘ generating go module: Go ERROR [0.09s]
├ [0.02s] go mod tidy
┃ wr... | https://github.com/dagger/dagger/issues/5975 | https://github.com/dagger/dagger/pull/5983 | dfdb520e16167d2629fb005bfedb20522270e580 | 77600801b2a6bc4552cfc4fc5ae4307826e29334 | 2023-10-26T19:25:12Z | go | 2023-10-27T09:22:51Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,971 | ["cmd/codegen/generator/go/templates/modules.go", "core/integration/module_test.go"] | 🐞 `runtime error: index out of range` error when generating `go` modules | ### What is the issue?
Using common parameter types like following code block causing `runtime error: index out of range` while generating module code.
```go
func (ar *ActionRun) WithInput(name, value string) *ActionRun {
ar.Config.With = append(ar.Config.With, fmt.Sprintf("%s=%s", name, value))
return... | https://github.com/dagger/dagger/issues/5971 | https://github.com/dagger/dagger/pull/5972 | c8990707600e665638707f19c12d4ecb80ef3e3a | 35442c542873fd260cddbcbed2ece93ce4b5a79f | 2023-10-26T15:48:07Z | go | 2023-10-26T17:53:44Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,953 | ["cmd/dagger/module.go", "core/module.go", "core/modules/resolver.go"] | 🐞 `dagger call -m <git-module>` fails if remote module contains dependencies with local path | ### What is the issue?
When we call a module with local dependency using `git-ref`, cli isn't able to find dependencies.
`dagger.json` for following error log https://github.com/aweris/gale/blob/0fcf43c126b03fc4296f05970328aaca085c18af/daggerverse/gale/dagger.json#L1-L9
### Log output
```shell
dagger cal... | https://github.com/dagger/dagger/issues/5953 | https://github.com/dagger/dagger/pull/5955 | 0b52104f252de11914914520948bf83c94d2068c | 51baf38f1c59be4d4935a2d2ca5af4b642f21a2e | 2023-10-23T16:39:21Z | go | 2023-10-24T16:05:15Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,930 | ["core/secret.go", "core/secret_test.go"] | 🐞 Can't hide secrets in Git Clones | ### What is the issue?
Discord here -> https://discord.com/channels/707636530424053791/1164639553865383947
I must use HTTPS / GH Token, can't use SSH for git clones.
There is no way for me to hide credentials that are in the git https url. The below snippet will print my `please-dont-print` password all over ... | https://github.com/dagger/dagger/issues/5930 | https://github.com/dagger/dagger/pull/5951 | 752f324037801df10c9598c50eee0577d22a7f24 | 69bd45f6f777c6e8a949176e2d6014fd6388b812 | 2023-10-19T20:20:00Z | go | 2023-10-24T09:59:36Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,927 | ["sdk/python/pyproject.toml", "sdk/python/src/dagger/client/_core.py", "sdk/python/src/dagger/client/_guards.py", "sdk/python/tests/client/test_codegen.py", "sdk/python/tests/client/test_default_client.py", "sdk/python/tests/client/test_integration.py", "sdk/python/tests/modules/test_registration.py"] | Services v2: Python null types on PortForward | The optional types on PortForward, `frontend` and `protocol` are being sent as `null` to the API when they are not set in the Python SDK.
```
gql.transport.exceptions.TransportQueryError: {'message': 'Syntax Error GraphQL request (3:41) Unexpected Name "null"\n\n2: host {\n3: service: service(ports: [{fronten... | https://github.com/dagger/dagger/issues/5927 | https://github.com/dagger/dagger/pull/6087 | ae77f7e930cb917df48850dd5a05b4b3023a9cf4 | 93fd238a29c2ddde605b9c3a2d9fafa3cf33d989 | 2023-10-19T16:07:22Z | go | 2023-11-08T14:01:14Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,917 | ["internal/mage/sdk/python.go"] | ci: use separate cache mounts for different python versions | We are getting flaky pip cache errors like https://github.com/dagger/dagger/actions/runs/6552195369/job/17794987073#step:4:1007
@helderco suggested it may be due to separate python versions being used in parallel on the same cache mount: https://github.com/dagger/dagger/pull/5906#issuecomment-1767391090
(I'll sq... | https://github.com/dagger/dagger/issues/5917 | https://github.com/dagger/dagger/pull/5919 | d6b3585f481dba441b77f521fd2b094e483b31c7 | 7560f6ec3e061c94adcb75740124c670cd4d07c7 | 2023-10-18T21:04:46Z | go | 2023-10-19T02:21:32Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,911 | ["engine/client/client.go"] | POST http://dagger/query rpc error | Every Dagger run has something like:
```
[0.08s] Failed to connect; retrying... name:"error" value:"make request: Post \"http://dagger/query\": rpc error: code = Unknown desc = server \"wu4a6pa0asl96zq39iaijneaq\" not found"
```
It seems like it can be safely ignored, but the error message is concerning. | https://github.com/dagger/dagger/issues/5911 | https://github.com/dagger/dagger/pull/5918 | 70609dd344b7703de9ea52e2162ea574358e3fda | 572bd3de9340dea4121627163f4f7b58c818beb4 | 2023-10-18T17:09:08Z | go | 2023-10-19T17:12:45Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,871 | ["cmd/codegen/generator/go/templates/modules.go", "core/integration/module_test.go"] | Zenith: custom return types require at least one method defined | Custom function return types require at least one empty method defined on them to be detected by codegen (note the JSON tags are currently required, #5860).
```go
// This is for a module "foo"
package main
import (
"context"
)
type Foo struct{}
type X struct {
Message string `json:"message"`
}
... | https://github.com/dagger/dagger/issues/5871 | https://github.com/dagger/dagger/pull/5893 | c847458d6df1e184487e3a29f6d00a86ef67e661 | b74df2479214020502fcb917d77325f00bd4d4e1 | 2023-10-11T10:50:42Z | go | 2023-10-18T12:22:03Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,864 | [".changes/unreleased/Breaking-20231024-152415.yaml", "cmd/codegen/generator/go/templates/modules.go", "cmd/codegen/generator/go/templates/src/header.go.tmpl", "core/integration/module_test.go", "core/integration/testdata/modules/go/minimal/main.go", "docs/current/labs/project-zenith.md", "go.mod", "go.sum", "sdk/go/da... | Zenith: Fix `Opts` types in Go SDK | From @jedevc:
---
Looks like `Opt` types can't be pointers, e.g. something like this doesn't work:
```go
type EchoOpts struct {
Suffix string `doc:"String to append to the echoed message." default:"..."`
Times int `doc:"Number of times to repeat the message." default:"3"`
}
func (m *Minimal) EchoO... | https://github.com/dagger/dagger/issues/5864 | https://github.com/dagger/dagger/pull/5907 | db901c8fe4c70cc32336e304492ca37f12b8f389 | e8ad5c62275172e3d54ae46447e741ff5d603450 | 2023-10-10T22:55:05Z | go | 2023-10-25T19:38:59Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,860 | ["cmd/codegen/generator/go/templates/modules.go", "core/function.go", "core/integration/module_test.go", "core/schema/module.go"] | Zenith: fix Go struct field json serialization | https://github.com/dagger/dagger/pull/5757#issuecomment-1744739721
Right now if you have something like:
```go
type Foo struct {
Bar `json:"blahblah"`
}
```
The graphql schema for `Foo` will be populated with a field called `Bar`, but when we do json serialization we use `blahblah`, which means that if you... | https://github.com/dagger/dagger/issues/5860 | https://github.com/dagger/dagger/pull/6057 | 2c554b2ac26c4c6863893bac94d85108cecb48d9 | e1d69edbfd0f94c93489edac4d9d6050c36fc3b7 | 2023-10-10T22:50:32Z | go | 2023-11-14T23:56:25Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,791 | ["cmd/shim/secret_scrub.go", "cmd/shim/secret_scrub_test.go"] | 🐞 secrets scrubbing implementation causes excessive log output latency | ### What is the issue?
# Context
We have a dagger pipeline which, at some point, [mounts secrets](https://github.com/airbytehq/airbyte/blob/327d3c9ae8e14b28bf2bdf7528b22f86f510d629/airbyte-ci/connectors/pipelines/pipelines/actions/environments.py#L1053) to a container which is then runs [integration tests](https:... | https://github.com/dagger/dagger/issues/5791 | https://github.com/dagger/dagger/pull/6034 | b28daae7531cdb2ed7c2ced9da2c69fd3b080ee7 | 80180aaaed1e1e91a13dbf7df7e0411a9a54c7d3 | 2023-09-18T13:41:28Z | go | 2023-11-20T14:49:50Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,763 | ["core/docs/d7yxc-operator_manual.md", "docs/current/faq.md"] | Explain rootless limitations and why it's not possible for now | ### What is the issue?
Currently, Dagger runs using a Buildkit daemon with root privileged through `--privileged` option.
It's been more than a year that the subject of Dagger rootless in on the pipe and I would like to use this issue to gather all information we got so far and suggest a solution so we can close th... | https://github.com/dagger/dagger/issues/5763 | https://github.com/dagger/dagger/pull/5809 | 8f6c3125f14a31e39e251492897c86768147fe26 | e63200db6dd4da2ceff56447d99b01056140b482 | 2023-09-05T17:22:22Z | go | 2023-10-12T22:04:22Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,666 | ["cmd/dagger/exec_unix.go"] | 🐞 Elixir SDK always hang when running with dagger run | ### What is the issue?
Found on Dagger 0.8.4. When using `dagger run elixir test.exs` (the script provided in steps to reproduce section). Instead of finish execution, it still hang.
<img width="1287" alt="Screenshot 2566-08-18 at 23 44 25" src="https://github.com/dagger/dagger/assets/484530/0259f47c-0310-4c12-83... | https://github.com/dagger/dagger/issues/5666 | https://github.com/dagger/dagger/pull/5712 | 28e09abe14bc4b27ed7515d22d59191c42194229 | 41634f3ad3f64c02cedc18c77fda1d4ca36c798a | 2023-08-18T16:14:17Z | go | 2023-10-10T14:22:53Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,664 | ["sdk/elixir/.changes/unreleased/Fixed-20230818-231100.yaml", "sdk/elixir/lib/dagger/engine_conn.ex"] | 🐞 Dagger.connect!/1 always return :error when connect with stable engine | ### What is the issue?
When try executing elixir script with set any experimental env. It crash instead of download stable engine.
### Log output
_No response_
### Steps to reproduce
Consider snippet:
```elixir
Mix.install([{:dagger, "0.8.4"}])
client = Dagger.connect!()
client
|> Dagger.Client.containe... | https://github.com/dagger/dagger/issues/5664 | https://github.com/dagger/dagger/pull/5665 | 8dafad024042b9cca548247a8c33dcf64dc97274 | 6423278953f02d53519a84a461ada285fadd02a7 | 2023-08-18T16:05:50Z | go | 2023-08-24T10:27:47Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,651 | ["sdk/elixir/.changes/unreleased/Fixed-20230817-221054.yaml", "sdk/elixir/lib/dagger/engine_conn.ex"] | 🐞 Elixir SDK fallback to stable cli when local cli session timeout | ### What is the issue?
Currently, when any error happens in local cli mode, the engine will be fallback to stable cli.
It should fallback only no local cli available. Otherwise, returns an error
### Log output
_No response_
### Steps to reproduce
_No response_
### SDK version
Elixir SDK 0.8.2
### OS version... | https://github.com/dagger/dagger/issues/5651 | https://github.com/dagger/dagger/pull/5654 | 75cb4a9fc7a4596fad23ac0656044b157b853800 | a150dc6992cdcfc5e5e77105ee5e5ece4788038d | 2023-08-17T06:07:51Z | go | 2023-08-17T16:20:51Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,642 | [".github/workflows/sdk-elixir.yml", "sdk/elixir/.changes/unreleased/Fixed-20230816-235838.yaml", "sdk/elixir/lib/dagger/session.ex"] | 🐞 Test flaky on sdk/elixir | ### What is the issue?
Found on:
* https://github.com/dagger/dagger/actions/runs/5868523844/job/15912901044?pr=5628
* https://github.com/dagger/dagger/actions/runs/5877596164/job/15939249914
* https://github.com/dagger/dagger/actions/runs/5877596164/job/15939953049
Some tests spend to much time, causing test f... | https://github.com/dagger/dagger/issues/5642 | https://github.com/dagger/dagger/pull/5646 | 5d2e2f14b623f6afb5c5710a42a4bb52980aa37c | f3dc810f2e730c982bf1cb7192c4d9b56c944199 | 2023-08-16T15:03:21Z | go | 2023-08-16T17:44:35Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,575 | ["codegen/generator/nodejs/templates/functions.go", "codegen/generator/nodejs/templates/src/header.ts.gtpl", "codegen/generator/nodejs/templates/src/types.ts.gtpl", "sdk/nodejs/.changes/unreleased/Fixed-20230809-184725.yaml", "sdk/nodejs/api/client.gen.ts", "sdk/nodejs/api/test/api.spec.ts", "sdk/nodejs/api/utils.ts"] | 🐞 Node.js SDK - Enum wrongly interpreted | ### What is the issue?
There appears to be an issue with the interpretation of the Enum in the Node.js SDK.
In the example bellow ImageMediaTypes.Dockermediatypes should return `DockerMediaTypes` but instead it returns 0.
```ts
await client
.container()
.publish(gitLabImageRepo, {
platformVariants: seededP... | https://github.com/dagger/dagger/issues/5575 | https://github.com/dagger/dagger/pull/5594 | 2ce7f970373569b476956b8a0d5c37b3a384ff49 | 6e4ba34afd975beef1e8cadb7b17003f810b1207 | 2023-08-04T13:28:35Z | go | 2023-08-09T18:42:54Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,572 | [".changes/unreleased/Fixed-20230804-083720.yaml", ".changes/unreleased/Fixed-20230804-085622.yaml", "core/schema/query.go", "engine/client/client.go", "internal/mage/engine.go", "internal/mage/util/engine.go"] | 🐞 `dagger run` is reporting an incorrect Engine version | ### What is the issue?
When running `dagger run` with `v0.8.0`, the Engine version is reported incorrectly:
<img width="607" alt="image" src="https://github.com/dagger/dagger/assets/3342/4c6fcc9e-985b-4032-95e7-ebeed03f94b2">
For comparison, this is what the output looks like for `v0.6.4`:
<img width="509" al... | https://github.com/dagger/dagger/issues/5572 | https://github.com/dagger/dagger/pull/5578 | 0a46ff767287dfadaa403c0882d24983eb2c8713 | 1d802ce9b96ccac30bd179eae86c50d1a92698d6 | 2023-08-03T19:23:31Z | go | 2023-08-04T16:07:38Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,507 | ["docs/current/162770-faq.md", "docs/current/sdk/python/866944-install.md", "website/static/img/current/faq/release-notes.png"] | How to upgrade | ### What is the issue?
We don't have clear documentation on how to upgrade to a new Dagger version
| https://github.com/dagger/dagger/issues/5507 | https://github.com/dagger/dagger/pull/5515 | 4a4ea2423baaaf3d1991b361305f219ccb44a0b4 | d649f2d277ae3610da7c5c22929795694b3d1f19 | 2023-07-25T23:00:31Z | go | 2023-08-03T13:24:58Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,437 | ["core/directory.go", "core/integration/directory_test.go"] | 🐞 MergeOp corner case results in wrong contents | Noticed this while working on Zenith, just filing issue atm so as it not get distracted but will fix before next release.
If you use `WithDirectory` where the dest path of the source dir is the same as the internal selector of the source dir, then direct merge is incorrectly triggered, which can result in contents f... | https://github.com/dagger/dagger/issues/5437 | https://github.com/dagger/dagger/pull/5448 | 736927938824e8c35d28aec7287e79c1f89ff3fd | 4842448132758a07be75491d73548ca9ec1edd5e | 2023-07-11T17:07:41Z | go | 2023-07-14T15:21:49Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,434 | ["codegen/generator/nodejs/templates/src/object.ts.gtpl", "sdk/nodejs/.changes/unreleased/Breaking-20230727-235539.yaml", "sdk/nodejs/api/client.gen.ts", "sdk/nodejs/api/test/api.spec.ts", "sdk/nodejs/connect.ts", "sdk/nodejs/index.ts", "sdk/nodejs/provisioning/bin.ts", "sdk/nodejs/provisioning/engineconn.ts"] | Node.js: Export ´Client´ as a named export, instead of default | Import `Client` like the rest of codegen types:
```diff
-import Client, { connect, Container } from "@dagger.io/dagger"
+import { connect, Client, Container } from "@dagger.io/dagger"
```
Discussed in:
- https://github.com/dagger/dagger/pull/5141#discussion_r1196161481
Mentioned by users as well. Example i... | https://github.com/dagger/dagger/issues/5434 | https://github.com/dagger/dagger/pull/5517 | f81011d16a0a0a188e4eef94f924146e6ff6a69d | c7a2ec341ddc61e07fb69f4eae52d9fb41a520d5 | 2023-07-11T11:38:05Z | go | 2023-07-31T12:28:39Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,433 | ["core/container.go", "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"] | 🐞 Engine 0.6.3 breaks docker publish for non OCI supporting registry | ### What is the issue?
We are on Artifactory and since the dagger engine v0.6.3 upgrade we can't push images to Artifactory. We are on Artifactory v6.x. Artifactory v7+ is supposed to support OCI images but I don't have a way to test. We don't have an upgrade planned in the near future so we won't be able to use new... | https://github.com/dagger/dagger/issues/5433 | https://github.com/dagger/dagger/pull/5467 | 13aea3dbfb15226f9b8ffede05e98c805cc2fe53 | e9d557a7ed6e8b6dd3cc8cae79df6f4f9bbff517 | 2023-07-10T19:05:44Z | go | 2023-07-15T18:39:14Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,417 | ["go.mod", "go.sum"] | ✨ Incorporation of a Configurable Parameter to Specify Address, Name, and Password of the Registry from which the Dagger Engine Image is Downloaded | ### What are you trying to do?
In the context of our project, we are attempting to set up Dagger, a task runner and workflow orchestrator, in an environment where all services and resources are exclusively accessible through our intranet. To this end, we need to download the Dagger engine image from a private Docker o... | https://github.com/dagger/dagger/issues/5417 | https://github.com/dagger/dagger/pull/2793 | 31b0522dfa8fe7b41c43c63babb4285092421c81 | be8a77d02e956f5bb808f158d1d8d60ddd3c0338 | 2023-07-06T15:21:47Z | go | 2022-07-13T23:30:23Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,412 | ["sdk/elixir/lib/dagger/codegen/elixir/templates/object_tmpl.ex", "sdk/elixir/lib/dagger/gen/container.ex", "sdk/elixir/lib/dagger/gen/directory.ex", "sdk/elixir/lib/dagger/gen/project.ex", "sdk/elixir/lib/dagger/gen/query.ex"] | 🐞 sdk(elixir): Adding a directory fails | ### What is the issue?
The following code fails with an error:
```elixir
Mix.install([{:dagger, github: "dagger/dagger", sparse: "sdk/elixir"}])
client = Dagger.connect!()
src =
client
|> Dagger.Query.git("https://github.com/hexpm/hexpm")
|> Dagger.GitRepository.branch("main")
|> Dagger.GitRef.... | https://github.com/dagger/dagger/issues/5412 | https://github.com/dagger/dagger/pull/5413 | 34f76deefbaf594bd7cc17af1be14bbeee65a7c3 | 169c79059217b16f910432d4dde4d53284597c63 | 2023-07-05T21:39:29Z | go | 2023-07-14T16:10:05Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,368 | ["sdk/elixir/README.md"] | 🐞 sdk(elixir): Running basic example fails | ### What is the issue?
Example from the [readme](https://github.com/dagger/dagger/tree/main/sdk/elixir#running) fails with what appears to be a generic issue:
```elixir
Mix.install([{:dagger, github: "dagger/dagger", sparse: "sdk/elixir"}])
client = Dagger.connect!()
client
|> Dagger.Query.container([])
... | https://github.com/dagger/dagger/issues/5368 | https://github.com/dagger/dagger/pull/5369 | 00f952aaeb456c232f9d1059223d3f0ec1da402b | 1cf71a5dcdc8251565b5f49b2f4c7eea18b002ae | 2023-06-25T19:48:29Z | go | 2023-06-26T18:22:41Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,342 | ["sdk/elixir/lib/dagger/query_builder.ex"] | 🐞 sdk(elixir): with_env_variables return error rather than returning the list of env variables | ### What is the issue?
From example:
```elixir
Mix.install([
{:dagger, path: "."}
])
client = Dagger.connect!()
client
|> Dagger.Query.container()
|> Dagger.Container.from("alpine")
|> Dagger.Container.env_variables()
|> IO.inspect()
```
The API will return an error:
```elixir
{:error,
%D... | https://github.com/dagger/dagger/issues/5342 | https://github.com/dagger/dagger/pull/5361 | f799e778fc786947075603bee83490c4e26aca74 | 61419451653e6ac2a6a4de72fcf1ce3bb7a99419 | 2023-06-20T17:16:32Z | go | 2023-06-23T17:52:23Z |
closed | dagger/dagger | https://github.com/dagger/dagger | 5,331 | ["go.mod", "go.sum"] | 🐞 sdk(elixir): any graphql api that accept id field is display the wrong type | ### What is the issue?
The codegen is convert any id field type into a proper type, for example, `FileID` is convert to `File`. But it doesn't cover in function argument and documentation. Here is screenshot example (borrow from `dagger_ex`)
 does not work when run within a `dagger run` context.
### Log output
Example. I have a simple application in a gradle module called playground. I can run the app easily with the following
```
$ ./gradlew playground:run -q --console=plain
hi
```
... | https://github.com/dagger/dagger/issues/5287 | https://github.com/dagger/dagger/pull/5712 | 28e09abe14bc4b27ed7515d22d59191c42194229 | 41634f3ad3f64c02cedc18c77fda1d4ca36c798a | 2023-06-04T18:03:09Z | go | 2023-10-10T14:22:53Z |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.