#github-feed

1 messages · Page 5 of 1

vivid lintelBOT
#

@vikram-dagger tried to use a new version of secrets in the registry authentication and it failed:

Here is a repro

package main

import (
	"context"
	"fmt"
	"os"

	"dagger.io/dagger"
)

func main() {
	ctx := context.Background()
	c, err := dagger.Connect(ctx, dagger.WithLogOutput(os.Stderr))
	if err != nil {
		panic(err)
	}

	sec := c.SetSecret("my-secret-id", "yolo")
	stdout, err := c.Container().WithRegistryAuth("localhost:8888", "YOLO", sec).Publish(ctx, "local...
vivid lintelBOT
vivid lintelBOT
#

Bumps prettier from 2.8.4 to 2.8.6.

Release notes
Sourced from prettier's releases.

2.8.6

Allow decorators on private members and class expressions

🔗 Changelog
2.8.5

Support TypeScript 5.0

🔗 Changelog

Changelog
Sourced from prettier's changelog.

2.8.6
diff
Allow decorators on private members and class expressions (#14548 by @​fisker)

// Input
class A {
@decorator()
#privateMethod () {}
}
// Prettier 2.8.5
SyntaxError: Decorators are not v...

#

Bumps node-fetch from 3.3.0 to 3.3.1.

Release notes
Sourced from node-fetch's releases.

v3.3.1
3.3.1 (2023-03-11)
Bug Fixes

release "Allow URL class object as an argument for fetch()" #1696 (#1716) (7b86e94)

Commits

7b86e94 fix: release "Allow URL class object as an argument for fetch()" #1696 (#1716)
8ced5b9 docs: readme - non ESM example (#1707)
71e376b ci(release): use latest Node LTS (#1697)
e093030 Allow URL class ob...

#

Bumps @typescript-eslint/eslint-plugin from 5.54.1 to 5.56.0.

Release notes
Sourced from @​typescript-eslint/eslint-plugin's releases.

v5.56.0
5.56.0 (2023-03-20)
Bug Fixes

eslint-plugin: [member-ordering] check order when optionalityOrder is present with no optional members (#6619) (6aff431)
eslint-plugin: [no-misused-promises] avoid unnecessary calls to getContextualType (#6193) (745cfe4)
eslint-pl...

#

Bumps ruff from 0.0.255 to 0.0.257.

Release notes
Sourced from ruff's releases.

v0.0.257

What's Changed
Rules

[ruff] Prefer itertools.pairwise() over zip() for successive pairs (RUF007) by @​evanrittenhouse in charliermarsh/ruff#3501
[flake8-bugbear] Add no-explicit-stacklevel (B028) by @​johnor in charliermarsh/ruff#3550
[pylint] invalid-characters-* by @​r3m0t in charliermarsh/ruff#3552
[pylint] Implement useless-return (R1711) by @​tomecki in ch...

vivid lintelBOT
#

What are you trying to do?

We recently made a change to where we store dnsmasq related paths because a user reported issues that ended up being caused by AppArmor. We would ilke to test this so it doesn't regress again.

Testing this change within our suite is pretty painful and awkward because AppArmor must be installed and configured at the kernel level. It would probably be easier to just try running Dagger tests on a machine already set up in this way.

Why is this important ...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps google.golang.org/grpc from 1.52.3 to 1.54.0.

Release notes
Sourced from google.golang.org/grpc's releases.

Release 1.54.0
Behavior Changes

xds: remove support for xDS v2 transport API (#6013)

New Features

server: expose SetSendCompressor API to set send compressor name (#5744)

Special Thanks: @​jronak

xdsclient: include Node proto only in the first discovery request message, to improve performance (#6078)

Bug Fixes

metadata: fix validation l...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Before this, a session with a particularly enormous number of refs being solved could create a CombinedResult that would be greater than the grpc default message size of 16MB. This would cause builds to fail at the very end while trying to return the result to buildkit.

This was in part due to the fact that by just combining every individual ref from each vertex of the dag we were duplicating a ton of LLB.

The new approach instead uses MergeOp to combine all the solved refs together. A ...

vivid lintelBOT
#

As time has gone on some of our terminology has slowly morphed, but it's now reached the point where there's significant inconsistencies/vagueness in our docs and especially in our codebase, e.g.

  1. It's not clear what the runner is vs. the engine
  2. In our code, engine/engine.go is what starts a session with the remote engine. However cmd/engine/main.go is the implementation of the engine that executes on the runner. And internal/engine/client.go has the code the session created by `...
vivid lintelBOT
#

Bumps @docusaurus/theme-mermaid from 2.3.1 to 2.4.0.

Release notes
Sourced from @​docusaurus/theme-mermaid's releases.

2.4.0 (2023-03-23)
Blog post: https://docusaurus.io/blog/releases/2.4/
:rocket: New Feature

docusaurus-plugin-content-docs, docusaurus-theme-classic

#8236 feat(content-docs): add support for sidebar item category/link descriptions in generated index page (@​ZarakiKanzaki)

docusaurus-th...

#

Bumps @docusaurus/preset-classic from 2.3.1 to 2.4.0.

Release notes
Sourced from @​docusaurus/preset-classic's releases.

2.4.0 (2023-03-23)
Blog post: https://docusaurus.io/blog/releases/2.4/
:rocket: New Feature

docusaurus-plugin-content-docs, docusaurus-theme-classic

#8236 feat(content-docs): add support for sidebar item category/link descriptions in generated index page (@​ZarakiKanzaki)

docusaurus...

#

Bumps @docusaurus/core from 2.3.1 to 2.4.0.

Release notes
Sourced from @​docusaurus/core's releases.

2.4.0 (2023-03-23)
Blog post: https://docusaurus.io/blog/releases/2.4/
:rocket: New Feature

docusaurus-plugin-content-docs, docusaurus-theme-classic

#8236 feat(content-docs): add support for sidebar item category/link descriptions in generated index page (@​ZarakiKanzaki)

docusaurus-theme-classic

#8708 feat(theme): ...

#

Bumps ruff from 0.0.255 to 0.0.259.

Release notes
Sourced from ruff's releases.

v0.0.259

Summary
Follow-up release to v0.0.258 to fix an issue related to rule resolution via select and ignore.
What's Changed
Bug Fixes

Fix RuleSet.remove by @​MichaReiser in charliermarsh/ruff#3685
Respect all rule-exemption sources when suppressing parser errors by @​charliermarsh in charliermarsh/ruff#3665
Avoid nested loops in missing_whitespace by @​charliermarsh...

#

Bumps poethepoet from 0.18.1 to 0.19.0.

Release notes
Sourced from poethepoet's releases.

v0.19.0
Enhancements

Display the default value of args in help #126
Append additional arguments after the first -- to the end of a cmd task #69
Make script tasks work with async functions (#6d9fed4)
Add support for envfile paths relative to the user home dir #125

Fixes

Improve logic to locate poetry executable #121
Make ref task pass extra arguments from the de...

#

Problem

Sometimes, querying certain fields of Container will return an error, but they shouldn't. Specifically any of these fields:

  • stdout
  • stderr
  • exitCode
  • Any other field that requires executing a command in the container

The error occurs when no command has been explicitly defined for this container: in other words, there is no withExec step in the current pipeline.

The typical workaround is to add an explicit withExec(nil), which is very confusing.

...

vivid lintelBOT
vivid lintelBOT
#

What are you trying to do?

This came out of a convo on Discord.

I would like to Dagger to support a withEnvVariables call. The syntax would like like this

withEnvVariables({
    ENV_VAR_1: "VALUE",
    ENV_VAR_2: "VALUE"
    ENV_VAR_3: "VALUE"
    ...
})

[I might try and put a pull request in for this one, but I've raised in case I don't get around to it. cc @jpadams @kpenfound]

Why is this important to you?

Complex pipelines can require nume...

vivid lintelBOT
#

Bumps prettier from 2.8.4 to 2.8.7.

Release notes
Sourced from prettier's releases.

2.8.7

Allow multiple decorators on same getter/setter

🔗 Changelog
2.8.6

Allow decorators on private members and class expressions

🔗 Changelog
2.8.5

Support TypeScript 5.0

🔗 Changelog

Changelog
Sourced from prettier's changelog.

2.8.7
diff
Allow multiple decorators on same getter/setter (#14584 by @​fisker)

// Input
class A {
@decorator()
get foo () {}
@​...

ornate vigilBOT
vivid lintelBOT
#

Bumps typescript from 4.9.5 to 5.0.2.

Release notes
Sourced from typescript's releases.

TypeScript 5.0
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript v5.0.0 (Beta).
fixed issues query for Typescript v5.0.1 (RC).
fixed issues query for Typescript v5.0.2 (Stable).

Downloads are available on:

npm
NuGet package

TypeScript 5.0 RC
For release notes, check o...

#

Bumps eslint-config-prettier from 8.7.0 to 8.8.0.

Changelog
Sourced from eslint-config-prettier's changelog.

Version 8.8.0 (2023-03-20)

Added: [@​typescript-eslint/lines-around-comment]. Thanks to @​ttionya!

Commits

88ba724 eslint-config-prettier v8.8.0
1a7be70 add rule @typescript/lines-around-comment (#246)
130bf88 Move removed rules to deprecated section (#245)
See full diff in compare view

[![Dependabot compatibility score...

#

Bumps eslint from 8.35.0 to 8.36.0.

Release notes
Sourced from eslint's releases.

v8.36.0
Features

c89a485 feat: Add checkJSDoc option to multiline-comment-style (#16807) (Laurent Cozic)
f5f5e11 feat: Serialize parsers/processors in flat config (#16944) (Nicholas C. Zakas)
4799297 feat: use @​eslint-community dependencies (#16784) (Michaël De Boey)

Bug Fixes

92c1943 fix: correctly iterate files matched by glob patterns (#16831) (Nitin Kumar)

Documenta...

#

Bumps @svgr/webpack from 6.5.1 to 7.0.0.

Release notes
Sourced from @​svgr/webpack's releases.

v7.0.0
Features

allow specifying jsxRuntimeImport in config (86bb86f), closes #801 #801
remove @​svgr/plugin-jsx from core (a0f078d)
upgrade to svgo v3 (#798) (21b6209)

BREAKING CHANGES

plugin-jsx is no longer included by default in core
svgr now requires Node.js v14+

Changelog
Sourced from @​svgr/webpack's changelog.

7.0.0 (2023-03-24)
Features

allow ...

#

Bumps typedoc from 0.23.26 to 0.23.28.

Release notes
Sourced from typedoc's releases.

v0.23.28
Features

Added support for TypeScript 5.0, #2201.

const type parameters.
JSDoc @overload tag.
JSDoc @satisfies tag.

v0.23.27
Features

Added --treatValidationWarningsAsErrors to treat only validation warnings as errors without treating all warnings as errors, #2199.

Bug Fixes

Fixed a bug where optional properties were not appropriately marked as opti...

#

Bumps sass from 1.59.3 to 1.60.0.

Release notes
Sourced from sass's releases.

Dart Sass 1.60.0
To install Sass 1.60.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

Add support for the pi, e, infinity, -infinity, and NaN constants in calculations. These will be interpreted as the corresponding numbers.

Add support for unknown constants in calculations. These will be int...

#

Bumps platformdirs from 3.1.1 to 3.2.0.

Release notes
Sourced from platformdirs's releases.

3.2.0
What's Changed

Add pyproject-fmt by @​gaborbernat in platformdirs/platformdirs#150
Bump deps and tools by @​gaborbernat in platformdirs/platformdirs#149
Bump pypa/gh-action-pypi-publish from 1.6.4 to 1.7.1 by @​dependabot in platformdirs/platformdirs#151
Bump pypa/gh-action-pypi-publish from 1.7.1 to 1.8.1 by @​dependabot in platformdirs/platform...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/opencontainers/runc from 1.1.4 to 1.1.5.

Release notes
Sourced from github.com/opencontainers/runc's releases.

runc 1.1.5 -- "囚われた屈辱は 反撃の嚆矢だ"
This is the fifth patch release in the 1.1.z series of runc, which fixes
three CVEs found in runc.

CVE-2023-25809 is a vulnerability involving rootless containers where
(under specific configurations), the container would have write access
to the /sys/fs/cgroup/user.slice/... cgrou...

#

What are you trying to do?

API fields that are marked as deprecated only get codegen'ed into the docblock. That shows in reference docs, and maybe the IDE helps make it more visible as well (depending on language), but we should log a warning when these calls are being used.

Why is this important to you?

Logging a warning makes it more visible whenever you're actually running a pipeline, no matter if you use a smart IDE or consult the reference docs during development. Removing the...

vivid lintelBOT
#

What are you trying to do?

The Python reference documentation doesn't clearly show a method as being a coroutine.

Why is this important to you?

We used to have a note in the description clarifying that it needs to be awaited, but it was removed for simplicity. Making it clearer again can be helpful to users.

How are you currently working around this?

The IDE's autocomplete should show the return type as being a coroutine:

In the reference you can notice that if it rais...

vivid lintelBOT
#

We lint the code snippets in the SDK guides, but the new Guides section uses a different path for the snippets that isn't being included in that linting. This is creating some inconsistency in code formatting.

With the playground embeds though, it's no longer a direct reference between the snippet file and what you see on the page. I assume the playground embeds are created from the snippets, @vikram-dagger please correct me if I'm wrong.

#

There's a lot of inconsistencies in the documentation when choosing either stdout or stderr on streaming the engine logs. In NodeJS it's almost always stdout, while in Go it's sometimes one or the other. I've always pushed for stderr in Python.

All SDKs should standardize to using stderr for that. It's not just for errors, it's for logs, keeping stdout for the script's own output.

Reference: CLI Guidelines

Send output to stdout. T...

#

What are you trying to do?

Making codegen types (from API) hashable would allow them to be used in some interesting use cases.

Why is this important to you?

As an example, one user could benefit from using an LRU cache in a function that receives a (lazy) pipeline, does something dynamic with it and returns it.

Assuming that such function is a dependency used more than once in the same project, and that the result will be the same if the input pipeline is the same, you can bene...

vivid lintelBOT
#

Bumps black from 23.1.0 to 23.3.0.

Release notes
Sourced from black's releases.

23.3.0
Highlights
This release fixes a longstanding confusing behavior in Black's GitHub action, where the
version of the action did not determine the version of Black being run (issue #3382). In
addition, there is a small bug fix around imports and a number of improvements to the
preview style.
Please try out the
preview style
with black --preview and tell us your feedback. All c...

#

Bumps eslint from 8.35.0 to 8.37.0.

Release notes
Sourced from eslint's releases.

v8.37.0
Features

b6ab8b2 feat: require-unicode-regexp add suggestions (#17007) (Josh Goldberg)
10022b1 feat: Copy getScope() to SourceCode (#17004) (Nicholas C. Zakas)
1665c02 feat: Use plugin metadata for flat config serialization (#16992) (Nicholas C. Zakas)
b3634f6 feat: docs license (#17010) (Samuel Roldan)
892e6e5 feat: languageOptions.parser must be an object. (#16985...

vivid lintelBOT
#

Bumps @typescript-eslint/eslint-plugin from 5.54.1 to 5.57.0.

Release notes
Sourced from @​typescript-eslint/eslint-plugin's releases.

v5.57.0
5.57.0 (2023-03-27)
Bug Fixes

eslint-plugin: [no-unnecessary-boolean-literal-compare] simplify fixer and add support for double negation (#6620) (81c8519)
eslint-plugin: correct crashes with getTypeArguments for ts < 3.7 (#6767) (59eab58)

Features

eslint-...

vivid lintelBOT
#

if a secret is written to the log/file in more than 1 writes, it risks not being scrubbed as our logic does work for full values.
It shouldn't be a usual behavior, but it could happen, therefore we need to handle it.

Implementation idea

Concourse implementation for reference: https://github.com/dagger/dagger/pull/4518#discussion_r1105195391

Alternate implementation: better streaming capabilities, might allow some timing attack to discover some part of secrets

Regarding this...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps ruff from 0.0.255 to 0.0.260.

Release notes
Sourced from ruff's releases.

v0.0.260

What's Changed
Rules

[flake8-bugbear] Add more immutable functions for B008 by @​rouge8 in charliermarsh/ruff#3764
[flake8-bugbear] Allow pathlib.Path() in B008 by @​rouge8 in charliermarsh/ruff#3794
[flake8-bugbear] Expand the scope of useless-expression (B018) by @​charliermarsh in charliermarsh/ruff#3455
[flake8-bugbear]: Implement rule B031 by @​dhruvmanila...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

A lot of places in our docs use with_mounted_directory (because that's all that existed at the time). Now that we have with_directory, I think we should update our documentation to use that instead in all places.

For most use cases, users will want to use with_directory, with the mount being more of an edge case. Guiding them towards mounted directory by default causes them to trip over the concept of mounts very early on.

vivid lintelBOT
vivid lintelBOT
#

Overview

There should be a way for a software project to declare its artifacts and how to build them with Dagger, in such a way that the artifacts can be discovered and produced on-demand via the Dagger API.

This is related to #4414, but focuses on a one narrow possible application of a project entrypoint: specifically artifacts.

Design

I'm not sure how this would work, but here is a rough sketch to stimulate conversation.

Frontend API

API to discover and consum...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

When Pdeathsig is used, the child process will receive the signal whenever the parent thread is killed. In go, an os thread can be killed if it is locked to a goroutine and left locked when the goroutine finishes execution. The go runtime will schedule goroutines to OS threads as it sees fit, so this can result in random unexpected signals being sent to child processes with pdeathsig set.

There's no currently known case where the shim code leaves goroutines locked to a thread, but give...

vivid lintelBOT
#

What is the issue?

Overview

We should have guidelines for our core/schema/*.graphqls files, like we used to in CUE.

This helps with consistency and for following best practices that are not only for the GraphQL API, but also that make it easier to be consumed by the SDKs.

Todo

As a first step we can bring quite a few rules that were discussed during the review of the following PR:

  • #4367

There's also the undoc...

vivid lintelBOT
vivid lintelBOT
#

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","&&","rm", "-rf", "/var/lib/apt/lists/*"}).

The contaner build complains saying that the command "apt-get update" only takes one argument.

I dont fully underestand how t...

vivid lintelBOT
#

Bumps github.com/docker/docker from 23.0.1+incompatible to 23.0.3+incompatible.

Release notes
Sourced from github.com/docker/docker's releases.

v23.0.3
23.0.3

Note
Due to an issue with CentOS 9 Stream's package repositories, packages for
CentOS 9 are currently unavailable. Packages for CentOS 9 may be added later,
or as part of the next (23.0.4) patch release.

Bug fixes and enhancements

Fixed a number of issues that can cause Swarm encrypted overlay ne...

vivid lintelBOT
vivid lintelBOT
#

Bumps ruff from 0.0.255 to 0.0.261.

Release notes
Sourced from ruff's releases.

v0.0.261

What's Changed
Rules

[flake8-simplify] Ignore collapsible-if violations for if False: and if True: by @​JonathanPlasse in charliermarsh/ruff#3732
[flake8-pie] Extend unncessary-generator-any-all to set comprehensions by @​charliermarsh in charliermarsh/ruff#3824
[flake8-simplify] Implement dict-get-with-none-default (SIM910) by @​kyoto7250 in charliermarsh/ruff...

vivid lintelBOT
vivid lintelBOT
#

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:

  • ~/.gnupg/pubring.kbx
  • ~/.gnupg/trustdb.gpg
  • ~/.gnupg/private-keys-v1.d/*

Currently Dagger only permits mounting files as secrets. It's not possible to mount an entire d...

vivid lintelBOT
vivid lintelBOT
#

Bumps mypy from 1.1.1 to 1.2.0.

Commits

4f47dfb Promote version to 1.2.0 and drop +dev from the version
06aa182 [dataclass_transform] support implicit default for "init" parameter in field ...
7beaec2 Support descriptors in dataclass transform (#15006)
a7a995a Multiple inheritance considers callable objects as subtypes of functions (#14...
7f2a5b5 [dataclass_transform] fix deserialization for frozen_default
bfa9eac [mypyc] Be stricter about functi...

vivid lintelBOT
#

Without this you can get a nil pointer exception when trying to use a secret w/ the cache mount synchronization code paths (currently only when running in k8s w/ AWS_WEB_IDENTITY_TOKEN_FILE set)


I'll also send out a followup that refactors the code so session initialization is shared between engine/engine.go and cmd/engine/operatorClient.go which will prevent future problems w/ trying to make sure they are both updated equivalently, but this change is a quick fix in the meantime.

vivid lintelBOT
#

Our "default" codepaths ensure that SDK+CLI+Engine are all compatible with one another, but if you manually deploy an engine and connect a CLI/SDK to it, it's no longer guaranteed to be compatible.

Today, the only way users know about compatibility is by looking at the SDK release notes (example), but that's extremely non-obvious.

There are many possible ways of improving this situation and in the long run our goal s...

vivid lintelBOT
#

Problem

In Dagger Cloud, I can list individual pipeline runs, with various fields giving me information about the run. One field tells me the git branch that the pipeline was run against. But the value of that field is always "HEAD", which is not actually a branch name, but a symbolic reference. If anything, "HEAD" might be a separate field ("this was the value of the HEAD reference at time of run").

Example:

Solution

Change telemetry to actually send the name of the c...

vivid lintelBOT
vivid lintelBOT
#

When working with a lot of engine instances and clients that may end up connecting to any one of them it can be extremely useful to know which engine a given client connected to.

The engine can be configured w/ a name via a DAGGER_ENGINE_NAME env, otherwise it will just default to the hostname. Clients will now log that when they connect to it.


Just submitting as a strawman, I'd like a better solution than just writing the engine name directly to the CLI's stderr, would it be p...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.11.10 to 1.11.61.

Commits

30383d5 Release 2023-04-07
352f89c Regenerated Clients
5042939 Update API model
d40a16e NXDOMAIN errors should not be retried (#2083)
439f88c Add announcement for next release for dlm
e4036a9 Release 2023-04-06
1c455e2 Regenerated Clients
adb09d3 Update endpoints model
3d4ed44 Update API model
296e005 Release 2023-04-05
Additional commits viewable in compare view

...

#

Bumps golang.org/x/tools from 0.1.10 to 0.8.0.

Release notes
Sourced from golang.org/x/tools's releases.

gopls/v0.8.0
Go version support
Support for Go 1.18
Version 0.8.0 of gopls supports features added to Go 1.18, specifically:

Support for multi-module workspaces using go.work files.
Diagnostics for Fuzz tests.
Improved support for generics.

To use these features, gopls must be installed using Go 1.18. See go.dev/dl for the latest status of Go 1.18 -- ...

#

Bumps sass from 1.59.3 to 1.61.0.

Release notes
Sourced from sass's releases.

Dart Sass 1.61.0
To install Sass 1.61.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

Potentially breaking change: Drop support for End-of-Life Node.js 12.

Fix remaining cases for the performance regression introduced in 1.59.0.

Embedded Sass

The JS embedded host now loads files from the w...

vivid lintelBOT
#

What are you trying to do?

PR https://github.com/dagger/dagger/pull/4892 adds some SDK labels that are used for user-agent tagging to understand better our SDK usage. It'd be very valuable if we could also add these labels to the root pipeline here https://github.com/dagger/dagger/blob/4be9d6ee11cb5d3a66ec3e0f846436535009fd5e/core/pipeline/label.go#L33 so we can have visibility of the SDK version at the telemetry level.

cc @grouville @gerhard

Why is this important to you?

To ...

#

Problem

Our chainable API is pretty simple, but it also feels limiting when you want multiple related fields, especially if they’re a part of a simple object like EnvVariable, Port or Label.

For example, if I have an EnvVariable object, and I want both the name and value, I need to make two extra requests:

envVars, err := ctr.EnvVariables(ctx)
if err != nil {
    return nil
}
for _, env := range envVars {
    name, err = env.Name(ctx)
    if err != nil {
        return...
#

Context

We have an outstanding bug when using exitCode, stdout and stderr:

These fields trigger the configured command to execute. Problem is that if the command fails, the common code that they all share returns an error. That isn’t the proper behavior. A proper GraphQL error would be for example that no exec was actually configured, or the network connection was suddenly killed.

This happened initially because we had a techni...

vivid lintelBOT
vivid lintelBOT
#

This replaces the "experimental_dagger_s3" remotecache type with a new
approach that integrates the local cache manager of the engine with a
remote cache service running in the cloud. This will only be enabled
currently if the _EXPERIMENTAL_DAGGER_CACHESERVICE_URL env is set in
the engine, in which case that should point to either a tcp:// or
unix:// endpoint where the service is being provided (currently, eventually this will
just run in the cloud and require an API token). If that i...

vivid lintelBOT
#

Bumps beartype from 0.12.0 to 0.13.0.

Release notes
Sourced from beartype's releases.

Beartype 0.13.0
This minor release delivers pulse-quickening support for pandera (pandas) type hints, PEP 484, PEP 585, PEP 591, PEP 647, PEP 3119, and pseudo-callables. This release resolves 12 issues and merges 2 pull requests. But first: a quiet word from our wondrous sponsors. They are monocled QA wizards who serve justice while crushing bugs for humanity. High f...

#

Bumps pytest from 7.2.2 to 7.3.0.

Release notes
Sourced from pytest's releases.

7.3.0
pytest 7.3.0 (2023-04-08)
Features

#10525: Test methods decorated with @classmethod can now be discovered as tests, following the same rules as normal methods. This fills the gap that static methods were discoverable as tests but not class methods.
#10755: console_output_style{.interpreted-text role="confval"} now supports progress-even-when-capture-no to ...

#

Bumps github.com/aws/aws-sdk-go-v2/feature/s3/manager from 1.11.10 to 1.11.62.

Commits

fcc0f5d Release 2023-04-10
cd750e0 Regenerated Clients
1bc2f05 Update endpoints model
b964f5c Update API model
fd69015 fix APIGW exports nullability exceptions
fae239a Merge pull request #2089 from aws/auditAccessibility
acf33a2 Update aws-sdk-go-v2's comment codegened from Smithy Go's updated document sm...
27360c1 fix APIGW exports nullability exceptions
30383d5 R...

vivid lintelBOT
#

Buildkit internally stores some cache metadata of etags and http checksums using an id based on this name, so setting it to the URL maximizes our chances of following more optimized cache codepaths.

The codepaths in Buildkit are here:

  1. A hash is used to lookup any possible etag/url-hash metadata from previous http sources: https://github.com/sipsma/buildkit/blob/cf2698c0e4b708127c3aa86c49d51532feee6b82/source/http/httpsource.go#L128-L134

  2. That hash is based in part on this getFileN...

vivid lintelBOT
#

Context

This proposal is just extracting Problem 3: Orphaned pipelines from the following, to keep that discussion focused:

Problem

If a synchronous function is not explicitly called, the entire pipeline is orphaned:

lint()

testOutput, err := test().Stdout(ctx)

In the above example, lint is never executed.

Current workaround: Don't forget

- *Originally posted by @aluzzardi in https://github....

vivid lintelBOT
#

Bumps beartype from 0.12.0 to 0.13.1.

Release notes
Sourced from beartype's releases.

Beartype 0.13.1
This patch release brings titillating support for working tests. That's right; the prior minor release broke tests by failing to ship the mypy.ini configuration file in tarballed sdists, thereby breaking the test_pep561_mypy() integration test when run from tarballed sdists. This is why we facepalm.
This patch release resolves 1 issue and merges 1 pul...

#

Bumps typedoc-plugin-markdown from 3.14.0 to 3.15.0.

Release notes
Sourced from typedoc-plugin-markdown's releases.

typedoc-plugin-markdown@3.15.0
Features

TypdeDoc 0.24 compatibility fixes.

Changelog
Sourced from typedoc-plugin-markdown's changelog.

3.15.0 (2023-04-11)
Features

TypdeDoc 0.24 compatibility fixes.

Commits

64995ec typedoc-plugin-markdown@3.15.1
eaf8c7d fix: Expose refl...

vivid lintelBOT
vivid lintelBOT
#

Adds owner: String to the following APIs:

type Container {
  withMountedDirectory(..., owner: String): Container!
  withMountedFile(..., owner: String): Container!
  withDirectory(..., owner: String): Container!
  withFile(..., owner: String): Container!
  withNewFile(..., owner: String): Container!
  withMountedCache(..., owner: String): Container!
  withMountedSecret(..., owner: String): Container!
  withUnixSocket(..., owner: String): Container!
}

The `Str...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

What is the issue?

  1. Selecting a specific language tab in a code snippet is not persistent across pages.

  2. Selecting a specific language tab in the quickstart is not consistent across quickstart pages.

Reproduction for #1:

Reproduction for #2:

#

What is the issue?

The navigation menu for docs is not consistent in how it displays pages and sub-pages:

  • For SDK/CLI/API sections, sub-pages are displayed inline
  • For the quickstart, sub-pages are hidden until the quickstart is selected and then, other sections are hidden. This is also the only section with a Home button to return to the docs index.
  • For the guides, sub-pages are listed in the main content area

![image](https://user-images.githubusercontent.com/112123850/231...

vivid lintelBOT
#

This commit adds a new cookbook page which is intended to aggregate code snippets from multiple sources, including existing documentation, GitHub repositories, Discord and others. Each recipe includes a brief explanation, code sample and optional link to source. Recipes are categorized within the page, although the categorization is currently fluid and may change.

#

Bumps dns-packet from 5.3.1 to 5.5.0.

Changelog
Sourced from dns-packet's changelog.

Version 5.5.0 - 2023-03-27

Feature: Added support for the NAPTR record type.

Version 5.4.0 - 2022-06-14

Feature: Added support for the SSHFP record type.

Version 5.2.0 - 2019-02-21

Feature: Added support for de/encoding certain OPT options.

Version 5.1.0 - 2019-01-22

Feature: Added support for the RP record type.

Version 5.0.0 - 2018-06-01

Breaking: Node.j...

ornate vigilBOT
#

In Dagger v0.5.0 we shipped an experimental new feature: a terminal UI for dagger run. (https://github.com/dagger/dagger/pull/4522)

Terminal UIs are notoriously difficult to implement, so there will be quirks, and there may be times where it gets in your way. But overall it should be much better experience than dagger.WithLogOutput(os.Stderr). If you run into any quirks or bugs, or have any ideas to further improve it, please leave a comment here!

![image](https://user-images.github...

ornate vigilBOT
ornate vigilBOT
#

Oh, yeah these are actually their own special type of logs ("vertex status" :nerd_face:) so they don't end up captured like all the rest. "Open logs" should give you the interleaved stdout/stderr logs that you see in the details pane.

We can capture these logs too, just so it's less confusing. Could maybe even capture them in a more useful format, since filled progress bars don't seem all that useful at that point.

ornate vigilBOT
vivid lintelBOT
#

We need to scrub even if the secret is written in multiple os.Stdout.Write().

Current state

After investigation, our system split big secrets into 32KB chunks.
And our secrets are limited to < 128000 bytes values.
Buildkit seems to handle bigger plaintext values, but we pass our secrets to the shim via os/exec.Cmd which limits the size of passed parameters. (I'll see how to improve that, maybe by passing the secrets as file to the shim command line)

ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/jackpal/gateway from 1.0.7 to 1.0.10.

Commits

c92e8af Update readme.
405795e Merge pull request #36 from jech/master
1d43aca Fix typo in go:build line
ebddb2a Modernize code.
7b6b918 Updated list of supported OSs.
169fd5f Remove unused code.
d68e6e9 Merge pull request #35 from fuskovic/fix-osx-gateway-parsing
fe27879 validate routing table flags
94d4aae Merge pull request #28 from greatroar/parsers
42c566e Merge branch 'master' into par...

#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.242.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.242 (2023-04-12)
Service Client Updates

service/groundstation: Updates service API and documentation
service/managedblockchain: Updates service documentation

Release v1.44.241 (2023-04-11)
Service Client Updates

service/ecr-public: Updates service API and documentation
service/emr-serverless: Updates service API and d...

#

Bumps github.com/go-git/go-git/v5 from 5.5.2 to 5.6.1.

Release notes
Sourced from github.com/go-git/go-git/v5's releases.

v5.6.1
What's Changed

plumbing/transport: don't use the firstErrLine when it is empty by @​ThinkChaos in go-git/go-git#682
plumbing/transport: ssh, unable to pass a custom HostKeyCallback func by @​aymanbagabas in go-git/go-git#655
storage/filesystem: dotgit: fix a filesystem race in Refs/walkReferencesTree by @​MichaelMure in go-git/...

#

Bumps github.com/charmbracelet/lipgloss from 0.6.0 to 0.7.1.

Release notes
Sourced from github.com/charmbracelet/lipgloss's releases.

v0.7.1
This bugfix release fixes a problem introduced in v0.7.0 where applications could freeze or hang on start-up.
What's Changed

fix(renderer): use termenv default renderer by @​aymanbagabas in charmbracelet/lipgloss#179
chore: bump termenv to v0.15.1 by @​muesli in charmbracelet/lipgloss#180

Full Changelog: h...

#

Bumps httpx from 0.23.3 to 0.24.0.

Release notes
Sourced from httpx's releases.

Version 0.24.0
0.24.0 (6th April, 2023)
Changed

The logging behaviour has been change to be more in-line with other standard Python logging usages. We no longer have a custom TRACE log level, and we no longer use the HTTPX_LOG_LEVEL environment variable to auto-configure logging. We now have a significant amount of DEBUG logging available at the network level. Full documentati...

#

Bumps sass from 1.61.0 to 1.62.0.

Release notes
Sourced from sass's releases.

Dart Sass 1.62.0
To install Sass 1.62.0, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

Deprecate the use of multiple !global or !default flags on the same variable. This deprecation is named duplicate-var-flags.

Allow special numbers like var() or calc() in the global functions: grayscale(), i...

vivid lintelBOT
vivid lintelBOT
#

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 around (maybe because that container will be published) should be declared via WithSecretVariable instead. I hit this problem a few weeks ago: https://github.com/thechangelog/change...

#

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 (including our healthcheck) won't be able to connect to it. 0.0.0.0 on the other hand will allow connections to any destination IP, i.e. the container's 10.87.xx.xx IP in the Dag...

ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.243.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.243 (2023-04-13)
Service Client Updates

service/chime-sdk-voice: Updates service API and documentation
service/mediaconnect: Updates service API, documentation, and paginators

Release v1.44.242 (2023-04-12)
Service Client Updates

service/groundstation: Updates service API and documentation
service/managedblockchain: U...

vivid lintelBOT
vivid lintelBOT
#

Fixes #4586
This seems to be caused by multiple calls to defaultHTTPClient on every request.
DisableKeepAlives on the existing code also seemed to fixed the issue but I think it's better to avoid creating the transports over and over.

Test output with the fix:

% go test -run TestLeak -v
=== RUN   TestLeak
2023/04/14 05:11:00 goroutines: 2
2023/04/14 05:11:04 goroutines: 4
2023/04/14 05:11:04 goroutines: 5
2023/04/14 05:11:04 goroutines: 5
STATUS OK
2023/04/14 05:11:05...
ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.244.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.244 (2023-04-14)
Service Client Updates

service/ecs: Updates service documentation

This release supports ephemeral storage for AWS Fargate Windows containers.

service/lambda: Updates service API and documentation

This release adds SnapStart related exceptions to InvokeWithResponseStream API. IAM access related docu...

#

Bumps pytest from 7.3.0 to 7.3.1.

Release notes
Sourced from pytest's releases.

7.3.1
pytest 7.3.1 (2023-04-14)
Improvements

#10875: Python 3.12 support: fixed RuntimeError: TestResult has no addDuration method when running unittest tests.
#10890: Python 3.12 support: fixed shutil.rmtree(onerror=...) deprecation warning when using tmp_path{.interpreted-text role="fixture"}.

Bug Fixes

#10896: Fixed performance regression related to tmp_pat...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.245.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.245 (2023-04-17)
Service Client Updates

service/appflow: Updates service API and documentation
service/drs: Updates service API, documentation, and paginators
service/dynamodb: Updates service API, documentation, waiters, paginators, and examples

Documentation updates for DynamoDB API

service/emr-serverless: Updates ...

#

Bumps attrs from 22.2.0 to 23.1.0.

Release notes
Sourced from attrs's releases.

23.1.0
Highlights
A lot of features and smaller bug fixes! But also with a heavy heart, we're leaving the last dataclass-less Python version (3.6) behind, but don't worry: the old versions aren't going anywhere and thanks to the magic of package metadata, pip install attrs should still work on Python 3.6 as if nothing happened.
Special Thanks
This release would not be pos...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Closes #4821

This PR addresses two issues found in the buildArgs function:

  • Empty string values were not processed: The function was using the if (value) condition, which is falsy for empty strings, causing the code block to be skipped for empty string values. To fix this, the condition has been updated to explicitly check for undefined and null:
if (value !== undefined && value !== null) {
  // ...
}

This chan...

vivid lintelBOT
#

(Based on #4932 just to avoid merge conflicts, will clean up later.)

Currently every schema type has a set of types like this:

type File struct {
  ID FileID `json:"id"`
}

type FileID string

func (id FileID) decode() (*fileIDPayload, error) { ... }

type fileIDPayload struct {
  LLB *pb.Definition `json:"llb"`
  File string `json:"file"`
}

func (*fileIDPayload) ToFile() (*File, error) { ... }

Methods live on *File but they constantly have to convert back...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
#

Some applications detect the presence of a TTY on stdin/stdout/stderr and use that to determine whether to render a TUI of their own. In that case the application will likely just hang.

Also: this was never guaranteed to work as expected anyway, because both the Dagger TUI and the application will be competing for stdin's attention.

vivid lintelBOT
#

What is the issue?

the returned error string from container.Stdout sometimes trim characters from stdout.

Log output

input:1: pipeline.pipeline.container.from.withExec.stdout process "sh -c echo "cccaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\nbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb...

ornate vigilBOT
vivid lintelBOT
ornate vigilBOT
#

I just started using Dagger, and I am very impressed with it so far. I want to build an image and publish it under multiple tags. I am wondering if this is the correct approach currently:

...
images = [client.container.from... for _ in ...]
for _ in [
        "my-image:6.2.0",
        "my-image:6.2",
        "my-image:6",
        "my-image:latest",
    ]:
        await client.container().publish(
            address=_,
            platform_variants=images,
        )
...
ornate vigilBOT
vivid lintelBOT
ornate vigilBOT
#

For a slight performance improvement you can also put that publish in a concurrent task group:

Right, I tried to refactor my script to sth like this:

async with anyio.create_task_group() as tg:
    for _ in [
        "my-image:6.2.0",
        "my-image:6.2",
        "my-image:6",
        "my-image:latest",
    ]:
        tg.start_soon(client.container().publish, _, platform_variants)

The issue with this is that the output of the image build is printed for each tag ...

ornate vigilBOT
#

The issue with this is that the output of the image build is printed for each tag on the console. This makes reading the build log in CI really hard.

Oh, right! I suspect that's related to:

There's an open PR to fix that:

It seems that's stale at the moment, and I haven't seen the feedback on it, but I'm assuming it fixes this specific use case (better to confirm though 🙂).

There's a...

ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
#

We currently run the shim both outside the container (to reconfigure the runc bundle) and inside exec containers, which makes it straightforward to redirect stdout/stderr, serve nested sessions, etc. It's the pid 1 and spawns the actual user process as a subchild.

However, this can cause problems for programs that insist on being pid 1 such as systemd.

We can instead run the shim completely outside the container. This will require at least:

  1. Still handling stdout/stderr file redirect...
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.247.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.247 (2023-04-20)
Service Client Updates

service/chime: Updates service API and documentation

Adds support for Hindi and Thai languages and additional Amazon Transcribe parameters to the StartMeetingTranscription API.

service/chime-sdk-media-pipelines: Updates service API and documentation
service/chime-sdk-meetings: ...

#

Bumps docusaurus-plugin-image-zoom from 0.1.1 to 0.1.4.

Release notes
Sourced from docusaurus-plugin-image-zoom's releases.

Release 0.1.4
:bug: Bug Fix

Fixes publishing to include lib output from prepublishOnly (@​scalvert)

Committers: 1

Steve Calvert (@​scalvert)

Release 0.1.3
:house: Internal

#20 Adds prettier, rewrites all files (@​scalvert)
#19 Converts to TS to ensure functional match with Docusaurus APIs (@​scalvert)...

#

Bumps @typescript-eslint/parser from 5.56.0 to 5.59.0.

Release notes
Sourced from @​typescript-eslint/parser's releases.

v5.59.0
5.59.0 (2023-04-17)
Bug Fixes

eslint-plugin: [no-unnecessary-condition] allow nullish coalescing for naked type parameter (#6910) (3e5f858)

Features

eslint-plugin: [ban-types] add NonNullable suggestion and allow custom suggestions (#6876) (ff65235)

v5.58.0
5.58.0 (2023-04-10)
...

#

Bumps ruff from 0.0.255 to 0.0.262.

Release notes
Sourced from ruff's releases.

v0.0.262

What's Changed
Configuration

Allow users to extend the set of included files via include by @​charliermarsh in charliermarsh/ruff#3914
Implement isort custom sections and ordering (#2419) by @​hackedd in charliermarsh/ruff#3900

Rules

[flake8-simplify] Add autofix for contextlib.suppress (SIM105) by @​leiserfg in charliermarsh/ruff#3915
[flake8-bandit] Ignore ...

ornate vigilBOT
#

I think it would be great if dagger run printed a summary (or full?) logs on exit. Right now when you exit out of the TUI you have nothing in your scrollback, so you can't go back and passively see where you left off, or see output you didn't know you wanted to keep at the time, etc.

Now that I've gone back and forth a bit, I found myself more comfortable with Bass's UI: it doesn't take over the whole screen, instead you stay in the terminal the whole time and just focus on the bottom of...

vivid lintelBOT
#

What happened? What did you expect to happen?

I have the following main.py file and I would like to understand how I utilize the caching functionality in Dagger.

I am using the following version:
dagger-io==0.5.1
Python 3.11.3

import sys
import anyio
import dagger


async def main():
    config = dagger.Config(log_output=sys.stdout)
    async with dagger.Connection(config) as client:
        first = (
            client.container()
            .from_("python:...
vivid lintelBOT
#

This one's pretty straightforward. Previously we would concurrently write to all event readers, but that meant rapid writes to the same reader could be delivered out-of-order. This was especially likely to happen to vertexes that quickly start and finish.

It looks like the goal was to prevent one slow consumer from blocking all the rest, but I think we're fine; the TUI has an infinitely buffered pipe, and the telemetry is also pushed into a queue and sent in batches, so in practice it shou...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Currently, withSecretVariable takes a dagger.Secret. The dx for this looks like:

mysecret := client.SetSecret('my-var', 'secret value')

mycontainer := client.Container().From('alpine').WithSecretVariable('SECRET_ENV', mysecret)

I'm proposing we also have an option to pass a string instead of a dagger.Secret and skip the first step, like:

mycontainer := client.Container().From('alpine').WithSecretVariable('SECRET_ENV', 'secret value')

Thoughts?

ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
ornate vigilBOT
#

I agree; extending $PATH seems like a common use case. it would be nice to have parity with Dockerfile ENV which supports interpolation.

It might be a surprising default, since who knows what values people might try to set in env vars. An expand: true param would be simple enough to implement by using os.Expand and fetching values from the current image config.

container {
  withEnvVariable(name: "PATH", value: "/opt/venv/bin:${PATH}"...
vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.248.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.248 (2023-04-21)
Service Client Updates

service/connect: Updates service API and documentation
service/ecs: Updates service documentation

Documentation update to address various Amazon ECS tickets.

service/fms: Updates service API, documentation, and paginators

Release v1.44.247 (2023-04-20)
Service Client Updates

...

ornate vigilBOT
#

As for doing it by default I'm not worried about the values people may be using, just that we now would have an exception to "we don't expand env vars". Some people try to use it in WithExec() without a shell too, like they can in a Dockerfile. Being explicit makes it clearer. I expect users to ask for it to be included in other places as well when we add this.

I have an inkling of a memory for why we've never done it, from version v0.2, but don't remember the arguments.

vivid lintelBOT
#

In the code for obtaining stdout/stderr of a failed exec, we were passing the context to the deferred Release of the gateway container that is used for all the other calls. This context had a failsafe 30 second timeout so that obtaining stdout/stderr didn't inadvertently block for excessive amounts of time.

If that context ended up cancelled, the Release call would not actually happen, which meant that all the cache refs for the created container would continue to be held open in the engin...

ornate vigilBOT
#

@helderco Here's my thinking re: default behavior:

Dockerfiles can get away with interpolating by default because the only way to pass in a dynamic value is through build args, which also uses interpolation syntax. So either the interpolation is satisfied by an env var, or it is satisfied by a build arg:

FROM golang
ENV PATH=/foo:$PATH
RUN echo $PATH
FROM golang
ARG ARG=/bar
ENV PATH=/foo:$ARG
RUN echo $PATH

If you were to pass `--bui...

vivid lintelBOT
vivid lintelBOT
#

It's a minor improvement to querybuilder performance, given this benchmark:

func BenchmarkBuilder(b *testing.B) {
	for i := 0; i < b.N; i++ {
		var contents string
		root := Query().
			Select("foo").
			Select("bar").Arg("hello", "world").
			Select("field").Arg("test", "test").Bind(&contents)
		root.build(context.Background())
		_, _ = Query().
			Select("a").Arg("arg", "one").
			Select("b").Arg("arg", "two").
			build(context.Background())
	}
}

benchcmp ...

vivid lintelBOT
vivid lintelBOT
#

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 execute any command.

Log output

#1 resolve image config for docker.io/library/docker:23.0.4-dind-rootless
#1 DONE 2.2s

#2 resolve image config for docker.io/hexpm/elixir:1.14.0-erlang-24.3.4-alpine-3.16.0
#2 DONE 0.7s

Steps to reproduce

Create new directory, run go mod init and create go source with content below:

pa...
vivid lintelBOT
#

A bug seems to be leading to a gigantic pb.Definition value which exceeds the gRPC message size.

I tried to investigate why this was happening, and attempted a fix in Buildkit, but my fix broke other things.

Here's a gist for the gigantic pb.Definition and the "fixed" one: https://gist.github.com/vito/be84c33a40f243ad472e63b88cce5658

Basically Buildkit is repeatedly adding the same source information hundreds of times. I think this happens when we propagate mounts from one contai...

#

Currently ContainerID, FileID, and DirectoryID are gigantic strings because they are self-contained values that store the instructions for creating them.

I noticed during testing that a these can be pretty expensive to deal with. Dagger was burning a ton of memory on my laptop and even caused my OS to crash. I think the root cause of this was really #5012 but either way I don't think we necessarily wanted these to be giant values forever.

This PR maintains their content-addressed ...

#

Builds on #5013 to use IDs as cache keys for expensive API requests.

This has by far the largest performance improvement for dagger run ./bass/test -i src=./ because I use OCI archives for images everywhere. Without this, every single call to Container.Import imports the same file every time I run something, spending tens of seconds on redundant I/O that's invisible to the user.

I think it's important for these caches to live on the Dagger side because it frees the API consumer to s...

ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.249.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.249 (2023-04-24)
Service Client Updates

service/appflow: Updates service API
service/ec2: Updates service API and documentation

API changes to AWS Verified Access related to identity providers' information.

service/mediaconvert: Updates service API and documentation

This release introduces a noise reduction pre-filt...

#

Bumps sphinx from 6.1.3 to 6.2.0.

Release notes
Sourced from sphinx's releases.

v6.2.0
Changelog: https://www.sphinx-doc.org/en/master/changes.html

Changelog
Sourced from sphinx's changelog.

Release 6.2.0 (released Apr 23, 2023)
Dependencies

Require Docutils 0.18.1 or greater.

Incompatible changes

LaTeX: removal of some internal TeX \dimen registers (not previously
publicly documented) as per 5.1.0 code comments in sphinx.sty:
\sphinxverbatimse...

#

Bumps @typescript-eslint/parser from 5.56.0 to 5.59.1.

Release notes
Sourced from @​typescript-eslint/parser's releases.

v5.59.1
5.59.1 (2023-04-24)
Bug Fixes

eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#6935) (05ed60e)
eslint-plugin: [unified-signatures] no parameters function (#6940) (2970861)

v5.59.0
5.59.0 (2023-04-17)
Bug Fixes

eslint-plugin: [no-unnecessary-condition] allow nullish c...

vivid lintelBOT
#

Noticed during some load tests that the engine was accumulating tons of RSS that was never released. Then noticed that buildkit's cache was full of refs that were not prunable even after all clients disconnected. This fixes one source of the leak. There's another leak happening due to an issue upstream: https://github.com/moby/buildkit/pull/3815

With this plus the upstream fix all cache refs are prunable and the engine's RSS stays much lower and a consistent value between runs.

ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
#

Those signals were resulting in graceful shutdown before but the engine still exited non-zero because some errors were set to context canceled.

This also adds a test case and some associated plumbing so that the tests that spin up an additional engine work with ./hack/dev too.


cc @jlongtine was able to make good use of all the new setup from your recent refactorization here, also tweaked it to make the nested engine tests work with ./hack/dev

vivid lintelBOT
#

Proposal to add withEnvVariables on Go SDK: as it is a strongly typed language, this is the most important DX impacted API.

⚠️ Prior reviewing / merging, please read context: here.

When finished, closes https://github.com/dagger/dagger/issues/4835.

Follow-up with Node and Python after confirmation that this is the desired DX.

Repro:

package main

import (
	"context"
	"fmt"

	"dagger.io/dagger"
...
ornate vigilBOT
#

I use a CI tool in a cloud, each jobs in a CI flow runs on a container. So, there is no docker for each jobs.
How to support dagger in this type CI tool?
When I test https://github.com/dagger/examples/tree/main/nodejs/react-build, I got an error:

[13:00:30] ✔ All packages installed (1251 packages installed from npm registry, used 18s(network 18s), speed 3.85MB/s, json 1106(26.91MB), tarball 42.35MB, manifests cache hit 0, etag hit 0 / miss 0)
[13:00:30] [User Command] + node ./...
ornate vigilBOT
#

docker is used to automatically provision the Dagger Engine: https://github.com/dagger/dagger/blob/fc43cfd3133f6497622fb41d1f1d4e3a00743f7e/internal/engine/docker.go#L88-L107

You can skip this auto provisioning by setting the _EXPERIMENTAL_DAGGER_RUNNER_HOST environment variable. See https://github.com/dagger/dagger/blob/v0.5.0/core/docs/d7yxc-operator_manual.md#connection-interface for the available options.

If you go down this path, you will need to manually provision Dagger Engin...

vivid lintelBOT
#

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/sdk/python/628797/get-started. I've installed dagger-io and copied the test.py script into the fastapi dir, verbatim. When i run py test.py, i get no output and the process just h...

vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.250.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.250 (2023-04-25)
Service Client Updates

service/chime-sdk-messaging: Updates service API and documentation
service/connect: Updates service API, documentation, and paginators
service/datasync: Updates service API, documentation, and paginators
service/ds: Updates service API and documentation

New field added in AWS Man...

vivid lintelBOT
#

Bumps ruff from 0.0.255 to 0.0.263.

Release notes
Sourced from ruff's releases.

v0.0.263

What's Changed
Rules

[flake8-bugbear] Add pytest.raises(Exception) support to B017 by @​alanhdu in charliermarsh/ruff#4052
[flake8-import-conventions] Implement new rule ICN003 to ban from ... import ... for selected modules by @​edgarrmondragon in charliermarsh/ruff#4040
[pylint] Implement PLE0302 unexpected-special-method-signature by @​mccullocht in charlier...

#

Bumps platformdirs from 3.2.0 to 3.3.0.

Release notes
Sourced from platformdirs's releases.

3.3.0

What's Changed

Exclude bots from generated release notes by @​hugovk in platformdirs/platformdirs#157
platformdirs: introduce user_pictures_dir() by @​kemzeb in platformdirs/platformdirs#167

New Contributors

@​kemzeb made their first contribution in platformdirs/platformdirs#167

Full Changelog: https://github.com/platformdirs/platformdirs/com...

#

Bumps sphinx from 6.1.3 to 6.2.1.

Release notes
Sourced from sphinx's releases.

v6.2.1
Changelog: https://www.sphinx-doc.org/en/master/changes.html
v6.2.0
Changelog: https://www.sphinx-doc.org/en/master/changes.html

Changelog
Sourced from sphinx's changelog.

Release 6.2.1 (released Apr 25, 2023)
Bugs fixed

#11355: Revert the default type of :confval:nitpick_ignore and
:confval:nitpick_ignore_regex to list.

Release 6.2.0 (released Apr 23, 2023)
D...

vivid lintelBOT
vivid lintelBOT
#

What are you trying to do?

Would like to get a list of which files were read/opened during a pipeline run.

Context in discord [here](#general message)

Why is this important to you?

Lots of boilerplate code in our repos, significant amounts aren't actually used. Would be good cool to be able to say "xyz files can likely be deprecated"

How are you currently working around this?

If this isn't possible dire...

ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.251.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.251 (2023-04-26)
Service Client Updates

service/osis: Updates service API, documentation, paginators, and examples

Release v1.44.250 (2023-04-25)
Service Client Updates

service/chime-sdk-messaging: Updates service API and documentation
service/connect: Updates service API, documentation, and paginators
service/datasyn...

#

Bumps platformdirs from 3.2.0 to 3.4.0.

Release notes
Sourced from platformdirs's releases.

3.4.0

What's Changed

platformdirs: introduce user_videos_dir() by @​kemzeb in platformdirs/platformdirs#169
Adding platformdirs.PlatformDirs to docs by @​keller00 in platformdirs/platformdirs#170
Fix linter failures by @​gaborbernat in platformdirs/platformdirs#171

New Contributors

@​keller00 made their first contribution in platformdirs/platformdir...

#

Bumps sass from 1.61.0 to 1.62.1.

Release notes
Sourced from sass's releases.

Dart Sass 1.62.1
To install Sass 1.62.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

Fix a bug where :has(+ &) and related constructs would drop the leading combinator.

See the full changelog for changes in earlier releases.
Dart Sass 1.62.0
To install Sass 1.62.0, download one of the pack...

ornate vigilBOT
vivid lintelBOT
ornate vigilBOT
ornate vigilBOT
#

That is helpful, thanks!

Dagger Engine is effectively a container runtime. All operations that it runs are containers running inside the Dagger Engine. Running a container runtime inside another container runtime is how https://github.com/kubernetes-sigs/kind works, as well as https://hub.docker.com/_/docker.

If you run the Dagger Engine as another container, then you need to be able to connect to it. tcp:// might be your safest bet. I would first check that you can connect to the Dag...

vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.252.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.252 (2023-04-27)
Service Client Updates

service/ec2: Updates service API and documentation

This release adds support for AMD SEV-SNP on EC2 instances.

service/emr-containers: Updates service API and documentation
service/guardduty: Updates service API and documentation

Added API support to initiate on-demand malware...

#

Bumps platformdirs from 3.2.0 to 3.5.0.

Release notes
Sourced from platformdirs's releases.

3.5.0

What's Changed

platformdirs: introduce user_music_dir() by @​kemzeb in platformdirs/platformdirs#173

Full Changelog: https://github.com/platformdirs/platformdirs/compare/3.4.0...3.5.0
3.4.0

What's Changed

platformdirs: introduce user_videos_dir() by @​kemzeb in platformdirs/platformdirs#169
Adding platformdirs.PlatformDirs to docs by @​keller...

vivid lintelBOT
#

This replaces the need for the engine to use the S3 API directly and have credentials for accessing the bucket. There's a few benefits:

  1. Engine doesn't need to be setup with cross-account access to Dagger's S3 buckets, which greatly simplifies configuration for users and gives Dagger flexibility to modify buckets without users having to make updates.
  2. It's more secure as the pre-signed URLs are tightly scoped in terms of capabilities and expire after a timeout.
  3. It greatly reduces th...
vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

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 is achieved with the following /etc/buildkit.toml file:

debug = true
[registry."docker.io"]
  mirrors = ["mirror.gcr.io"]

How does one do that for Dagger?

As an example, the following method shou...

vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.253.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.253 (2023-04-28)
Service Client Updates

service/appflow: Updates service API and documentation
service/athena: Updates service API, documentation, and paginators

You can now use capacity reservations on Amazon Athena to run SQL queries on fully-managed compute capacity.

service/directconnect: Updates service document...

#

Bumps prettier from 2.8.7 to 2.8.8.

Release notes
Sourced from prettier's releases.

2.8.8
This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.

Changelog
Sourced from prettier's changelog.

2.8.8
This version is a republished version of v2.8.7.
A bad version was accidentally published and it can't be unpublished, apologies for the churn.

Commits

1b7fad5 Re...

vivid lintelBOT
vivid lintelBOT
#

This is very early, not even done in terms of base POC requirements, but functional enough to send out and get initial feedback. Don't take anything as finalized, lots of the details were optimized for speed and re-using existing code as much as possible.

Right now I've only tested w/ Go. In theory Python either already works or only needs a few tweaks, but haven't tried yet. NodeJS is a TODO.

Demo

There is a demo of current functionali...

vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.254.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.254 (2023-05-01)
Service Client Updates

service/compute-optimizer: Updates service API and documentation
service/kms: Updates service API, documentation, and examples

This release makes the NitroEnclave request parameter Recipient and the response field for CiphertextForRecipient available in AWS SDKs. It also adds the...

#

Bumps typer from 0.7.0 to 0.8.0.

Release notes
Sourced from typer's releases.

0.8.0
Features

✨ Add support for custom types and parsers. Initial PR #583 by @​jpurviance. Based on original PR #443 by @​paulo-raca.

New docs: CLI Parameter Types: Custom Types.

Upgrades

⬆ Upgrade Rich, support 13.x. PR #524 by @​musicinmybrain.

Docs

📝 Tweak docs, Custom Types path, main page and READAME colors, broken links. PR #588 by @​tiangolo.
✏ Fix spelling (shi...

#

Bumps @typescript-eslint/parser from 5.56.0 to 5.59.2.

Release notes
Sourced from @​typescript-eslint/parser's releases.

v5.59.2
5.59.2 (2023-05-01)
Note: Version bump only for package @​typescript-eslint/typescript-eslint
v5.59.1
5.59.1 (2023-04-24)
Bug Fixes

eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#6935) (05ed60e)
eslint-plugin: [unified-signatures] no parameters function (#6940) (2970...

vivid lintelBOT
#

Problem

Developers are often confused by a property of the engine called "laziness": pipelines are executed at the latest possible moment, to maximize performance. Sometimes developers want to selectively disable laziness: they need to know that at a certain point in their code, the pipeline they have defined so far has actually been executed. Today this can only be done with painful workarounds.

Solution

Allow developers to selec...

vivid lintelBOT
#

For certain settings, S3 pre-signed URLs will sign the URL with the setting name and value, but doesn't include it in the URL as a query string. It's expected that the user of the URL include it as a header with the same value when actually making the request.

Previously, this was just Content-Length, which we handled as a special case but it turns out another such header is x-amz-acl, which we currently need to use in order to ensure that uploading to a cross-account bucket will work. T...

vivid lintelBOT
#

Background

While trying to implement examples for issue Allow string parameter for withSecretVariable, 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 secrets, where binary data needs to be handled.

I encountered a problem when attempting to handle GPG files. The goal was to create and GPG-sign a built binary with Dagger by mounting the ~/.gnupg directory into ...

vivid lintelBOT
vivid lintelBOT
#

This is primarily needed to workaround an issue in Buildkit where a series of bugs can result in container stdout/stderr resulting in runc getting blocked trying to write to its output pipes and never exit.

That needs an upstream fix but we can make it much rarer by reducing the amount of output our shim can send in the case where its printing stdout/stderr after an exec failure, which is the main place we hit the bug previously.

We were already truncating that output anyways, but we we...

vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.255.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.255 (2023-05-02)
Service Client Updates

service/appflow: Updates service API and documentation
service/connect: Updates service API
service/ecs: Updates service documentation

Documentation only update to address Amazon ECS tickets.

service/kendra: Updates service API and documentation

AWS Kendra now supports configu...

#

Bumps ruff from 0.0.255 to 0.0.264.

Release notes
Sourced from ruff's releases.

v0.0.264

What's Changed
Rules

Autofix EM101, EM102, EM103 if possible by @​dhruvmanila in charliermarsh/ruff#4123
Add bugbear immutable functions as allowed in dataclasses by @​mosauter in charliermarsh/ruff#4122

Settings

Add support for providing command-line arguments via argfile by @​charliermarsh in charliermarsh/ruff#4087

Bug Fixes

Make D410/D411 autofixes mutu...

#

Bumps beartype from 0.13.1 to 0.14.0.

Release notes
Sourced from beartype's releases.

Beartype 0.14.0
This minor release brings exhilarating support for PEP 673 (i.e., typing.Self) and PEP 675 (i.e., typing.LiteralString) as well as substantially improved compatibility with PyPy.
This minor release resolves 2 issues. But first, a brief word from our tenebrous sponsors. They are gentlemanly alchemists who dispense truth and money while despoiling bugs ...

#

Bumps typer from 0.7.0 to 0.9.0.

Release notes
Sourced from typer's releases.

0.9.0
Features

✨ Add support for PEP-593 Annotated for specifying options and arguments. Initial PR #584 by @​ryangalamb.

New docs: Optional CLI arguments.
It is no longer required to pass a default value of ... to mark a CLI Argument or CLI Option as required.
It is now recommended to use Annotated for typer.Option() and typer.Argument().
All the docs have been updated to re...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.256.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.256 (2023-05-03)
Service Client Updates

service/appsync: Updates service API and documentation
service/ec2: Updates service paginators

Adds an SDK paginator for GetNetworkInsightsAccessScopeAnalysisFindings

service/inspector2: Updates service API and documentation
service/iottwinmaker: Updates service API and documen...

#

Bumps typedoc from 0.23.26 to 0.24.6.

Release notes
Sourced from typedoc's releases.

v0.24.6
Features

Improved error messaging if a provided entry point could not be converted into a documented module reflection, #2242.
API: Added support for g, circle, ellipse, polygon, and polyline svg elements, #2259.
Extended jsDocCompatibility option with inheritDocTag to ignore fully lowercase inheritDoc tags and
ignoreUnescapedBraces to disable warnings about...

ornate vigilBOT
vivid lintelBOT
#

Summary

This proposal suggests adding an SDK helper for efficiently synchronizing multiple pipelines, in an easy to use way.

Background

Depends on:

  • #5065

Based on:

  • #4205

Motivation

Often times, you want to execute multiple pipelines in parallel (e.g. build & test). This is surprisingly tedious to do:

eg, gctx := errgroup.WithContext(ctx)

eg.Go(func() error {
    _, err := test(client).Sync(gctx)
    return err
})

eg.Go(func() error {
    _,...
vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/aws/aws-sdk-go from 1.34.0 to 1.44.257.

Release notes
Sourced from github.com/aws/aws-sdk-go's releases.

Release v1.44.257 (2023-05-04)
Service Client Updates

service/config: Updates service API
service/connect: Updates service API and documentation
service/ecs: Updates service API

Documentation update for new error type NamespaceNotFoundException for CreateCluster and UpdateCluster

service/monitoring: Updates service API and documen...

vivid lintelBOT
#

What are you trying to do?

Get a hash for a directory I've loaded in / invalidating a cache

Why is this important to you?

This could be useful for either packaging, or invalidating a cache_volume.

How are you currently working around this?

doing it the digest using dirhash, not a super great solution though as it will take more or less files into consideration. Or letting dagger handle the invalidation.

vivid lintelBOT
vivid lintelBOT
#

Configure Dependabot to bump dependencies monthly because daily results in too much noise. It makes it more difficult to spot "real" contributions vs. "noisy ones".

With a reduced frequency (monthly instead of daily), this gives us the chance to update the things that we care about ourselves. It is known for some updates to result in breakages further down the pipeline, e.g. https://github.com/dagger/dagger/pull/4850

FTR: https://docs.github.com/en/code-security/dependabot/depen...

vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
#

Bumps graphql-request from 5.1.0 to 6.0.0.

Release notes
Sourced from graphql-request's releases.

6.0.0
BREAKING CHANGES

02a5522 remove file uploads feature (#501)
702ef92 bring TS 5 support (#480)

Features

02a5522 (breaking) remove file uploads feature (#501)
702ef92 (breaking) bring TS 5 support (#480)

Fixes

8a98925 change event handlers registration style (#474)

Improvements

5ce990a refactor: remove default syntax
fee4476 refactor: ...

#

Bumps eslint from 8.37.0 to 8.39.0.

Release notes
Sourced from eslint's releases.

v8.39.0
Features

3f7af9f feat: Implement SourceCode#markVariableAsUsed() (#17086) (Nicholas C. Zakas)

Documentation

6987dc5 docs: Fix formatting in Custom Rules docs (#17097) (Milos Djermanovic)
4ee92e5 docs: Update README (GitHub Actions Bot)
d8e9887 docs: Custom Rules cleanup/expansion (#16906) (Ben Perlmutter)
1fea279 docs: Clarify how to add to tsc agenda (#17084) (Ni...

#

Bumps github.com/google/go-github/v50 from 50.1.0 to 50.2.0.

Release notes
Sourced from github.com/google/go-github/v50's releases.

v50.2.0
This minor release contains the following interesting changes:

Add ListExternalGroupsForTeamBySlug to Teams API (#2674)
Add DicussionCommentEvent Webhook (#2678)
Add head_sha for ListWorkflowRunsOptions (#2703)
Support HTTP Proxy from environment (#2686)
Update custom repo roles URL (#2702)
Move to Protonmail PGP ...

#

Bumps rich from 12.6.0 to 13.3.5.

Release notes
Sourced from rich's releases.

v13.3.5
[13.3.5] - 2023-04-27
Fixed

Fixed italic indent guides in SVG output

Bugfix for is_terminal
[13.3.4] - 2023-04-12
Fixed

Fixed for is_terminal ignoring FORCE_COLOR Textualize/rich#2923

Clear meta and links
Just a new method on the Style class. A helper for Textual, you probable aren't going to need it.
[13.3.3] - 2023-02-27
Added

Added Style.clear_meta_and_links

F...

#

Bumps go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc from 1.14.0 to 1.15.1.

Changelog
Sourced from go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc's changelog.

[1.15.1/0.38.1] 2023-05-02
Fixed

Remove unused imports from sdk/resource/host_id_bsd.go which caused build failures. (#4040, #4041)

[1.15.0/0.38.0] 2023-04-27
Added

The go.opentelemetry.io/otel/metric/embedded package. (#3916)
The Version functi...

#

Bumps @typescript-eslint/eslint-plugin from 5.57.0 to 5.59.2.

Release notes
Sourced from @​typescript-eslint/eslint-plugin's releases.

v5.59.2
5.59.2 (2023-05-01)
Note: Version bump only for package @​typescript-eslint/typescript-eslint
v5.59.1
5.59.1 (2023-04-24)
Bug Fixes

eslint-plugin: [prefer-regexp-exec] skip malformed regexes (#6935) (05ed60e)
eslint-plugin: [unified-signatures] no parameters f...

#

Bumps typescript from 4.9.5 to 5.0.4.

Release notes
Sourced from typescript's releases.

TypeScript 5.0.4
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript v5.0.0 (Beta).
fixed issues query for Typescript v5.0.1 (RC).
fixed issues query for Typescript v5.0.2 (Stable).
fixed issues query for Typescript v5.0.3 (Stable).
fixed issues query for Typescript v5.0.4...

#
#

Bumps poethepoet from 0.19.0 to 0.20.0.

Release notes
Sourced from poethepoet's releases.

v0.20.0
Enhancements

Launch new documentation website

Fixes

win32: Resolve Executable to Absolute Path if not found in venv by @​ameily in nat-n/poethepoet#142

Breaking changes

Drop support for python 3.7

New Contributors

@​ameily made their first contribution in nat-n/poethepoet#142
@​usr-ein made their first contribution in nat-n/poethepoet#139

Full Chan...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

What is the issue?

When performing a diff between a host directory and a directory from a container, the following error is encountered: TODO: cannot diff with different relative paths: "bin" != ""

Example:

hostBin := client.Host().Directory("bin") // bin/ already exists on the host

artifacts := client.Directory()
// ... write files to the bin/ directory in artifacts
artifactsBin := artifacts.Directory("bin")

diff := artifactsBin.Diff(hostBin) // will fail
diffs, er...
vivid lintelBOT
vivid lintelBOT
#

Added a quick test to at least test the most basic functionality in RegistryAuthProvider.

At some point I think it would be good to test the Docker auth provider fallback and cover errors too.

Wandering if exposing dockerAuthProvider (turning it into DockerAuthProvider so that the test can override it) and allowing the test to set a mocked auth provider could work, or perhaps there's an easy way to initialize something like that in memory and cover the functionality.

Other test...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Summary

I’m proposing we deprecate exitCode in favor of sync.

References

If accepted, will resolve:

Depends on:

Not a blocker but makes it simpler:

Motivation

The Container.exitCode field doesn’t make sense because you always get zero on success and you can’t get the non-zero value when the command fails due to a bu...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Bumps github.com/cloudflare/circl from 1.1.0 to 1.3.3.

Release notes
Sourced from github.com/cloudflare/circl's releases.

CIRCL v1.3.3
New Features

ASCON light-weight authenticated encryption.
Hybrid KEM for HPKE based on Kyber and X25519.
CIRCL can be compiled both as static and dynamic linking modes.

Security

Fixes error-handling on rand readers.

What's Changed

Use untyped consts for Kyber params by @​tmthrgd in cloudflare/circl#398
zk/dl: adds ...

#

Bumps github.com/docker/distribution from 2.8.1+incompatible to 2.8.2+incompatible.

Release notes
Sourced from github.com/docker/distribution's releases.

v2.8.2
What's Changed

Revert registry/client: set Accept: identity header when getting layers by @​ndeloof in distribution/distribution#3783
Parse http forbidden as denied by @​vvoland in distribution/distribution#3914
Fix CVE-2022-28391 by bumping alpine from 3.14 to 3.16 by @​thaJeztah (#3650)
F...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

If you run a pipeline that references an image using a tag, the tag needs to be resolved to a SHA, which requires internet access (or, more specifically, network access to the registry).

This means that if you are offline you can't run those pipelines, even if the images are cached locally. This also results in the inability to run pretty much all of our test suite while offline, which is quite annoying if you are working on dagger and only have intermittent internet access.

Workarounds...

ornate vigilBOT
#

Hi @nabsul, the term "ID" can be confusing (we have discussed changing the name in the past, but no consensus on that at the moment). These are not just references, but really a complete export of the pipeline state. This is a fundamental part of the engine's design. See for example #3923 for a discussion of future applications of this.

It looks like you're looking for a more "regular" ID, something that uniquely identifies a pipeline without actually containing its entire state. That is a...

ornate vigilBOT
#

One scenario I'm thinking about: I'm not a fan of the hugely nested GraphQL Syntax.

Instead of:

withExec(command1) {
   withExec(command2) {
      withExec(command3) {
....
}

I would rather be able to do something like (in rough pseudo code):

id1 = .... withExec(command1)
id2 = layer(id1) { withExec(command2) }
id3 = layer(id2) { withExec(command3) }
....

And of course the above flat list of commands could easily be represented in a for-loop.

ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
#

First Step towards Resolving

More detail: Incorrectly configured cache volumes

Step 1: Improving Documentation

To address the mentioned issue, I have made improvements to the documentation. The issue revolves around incorrect configuration of cache volumes. The following changes have been implemented to resolve this problem:

  1. Introducing Caching in Dagger...
vivid lintelBOT
ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

A first take was merged here: https://github.com/dagger/dagger/pull/5060

We need to:

  1. Bikeshed it more
  2. Add support for command invocation

Here's the current graphql schema:

extend type Query {
  "Load a project from ID."
  project(id: ProjectID): Project!

  "Load a project command from ID."
  projectCommand(id: ProjectCommandID): ProjectCommand!
}

"A unique project identifier."
scalar ProjectID

"A unique project command identifier."
scalar ProjectComm...
ornate vigilBOT
#

If I use the code given in the doc :

"""Execute a command."""

import sys
import anyio
import dagger


async def test():
    async with dagger.Connection(dagger.Config(log_output=sys.stderr)) as client:
        python = (
            client.container()
            # pull container
            .from_("ubuntu:22.04")
            # get Python version
            .with_exec(["whoami"])
        )

        # execute
        user = await python.stdout()

    print(f"He...
ornate vigilBOT
vivid lintelBOT
#

This imports https://github.com/kjuulh/dagger-sdk under sdk/rust as an experimental SDK.

@gerhard action items (part of this PR)

  • [x] Open PR with https://github.com/kjuulh/dagger-sdk/ history import
    • [ ] Capture commands used for history import
  • [ ] Give Kasper write permissions to dagger repository
  • [ ] Add @kjuulh to CODEOWNERS (sdk/rust group)
    • If we like this, I propose that we do the same for other SDKs cc @shykes @samalba @aluzzardi
  • [ ] Mention in SDK...
vivid lintelBOT
#

Picking up #4944 with some refactoring:

  • Simplify SecretScrubWriter write logic and only use []byte for matching and replacements. I also explored strings.Replacer and bytes.Replacer but didn't find a good overall performance in this context.
  • Refactored SecretScrubWriter to store secrets as []byte during initialization, also moved empty secret value check to initialization step (it was previously happening on every Write) as part of splitSecretsByLine.
  • Refactored and p...
vivid lintelBOT
#

What is the issue?

Just upgraded to the latest version of dagger 0.5.2 (golang sdk) to use the new pipeline logging features. I see the error output in the regular view, and in the "non interactive view" but I dont see stderr in the "interactive view".

Client initialization looks like this

c, err = dagger.Connect(ctx, dagger.WithLogOutput(os.Stdout), dagger.WithLogOutput(os.Stderr))

Step execution looks like this

_, err := t.plan(client, dir).Stderr(...
vivid lintelBOT
#

This PR extracts the TUI setup from dagger run and implements it for all other commands that start an engine.

It also does a few other things:

  • The inline TUI is now on by default, and the _EXPERIMENTAL_DAGGER_TUI env has been removed.
  • The interactive TUI is now behind a _EXPERIMENTAL_DAGGER_INTERACTIVE_TUI env.
  • The interactive TUI has been converted to read from a Progrock event stream instead of Buildkit.
  • When stdout and stderr are both a non-TTY, the Buildkit console...
ornate vigilBOT
ornate vigilBOT
vivid lintelBOT
#

Follow-up to https://github.com/dagger/dagger/pull/5060

Python had initial support for entrypoints but because of publishing to Conda, since we didn't publish the extensions code, it was easier to just remove the entrypoint executable from the SDK (in https://github.com/dagger/dagger/pull/4399, sdk/python/pyproject.toml):

- [tool.poetry.scripts]
- # FIXME: uncomment when extensions become available
- # dagger-server-py = "dagger.server.cli:app"
- dagger-py = "dagger.cli:ap...
ornate vigilBOT
ornate vigilBOT
#

If you have an external registry that you want to use, then yes.

But I was referring something more like creating a docker registry service within dagger, then publishing to that: https://docs.dagger.io/757394/use-service-containers#bind-services

I think I've seen that kind of thing around but not sure where. Can't find it in our docs or examples.

May I ask your use case for needing to pull the image from local docker engine to dagger?

ornate vigilBOT
#

I'm an MLOps/MLE, we (almost) always have several steps in an ML project: preprocess, training, prediction, postprocess. I've designed them so that each one can be built on a separate container, so that if one fail I can just spin up again this one and not the whole flow, so that's fairly classic up to now.

Before pushing them into a container registry, I wanted to test the end-to-end flow via dagger to check if the container are well configured. I can do this by writing some bash script t...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Context

Now that we have an awesome TUI merged, and soon released (yay!) I think we can finally make progress on an old topic: container output streams (stdout and stderr); pipeline output; and the difference between them.

Problem

The current situation: there is no difference. If your container prints something (anything!), the user will see it in the TUI. If the TUI prints anything about the status of a step, a possible error... It came from the stdout of a container.

In my...

vivid lintelBOT
#

Before this, commands could access the "project dir" since it was their own local working dir in the container, but they could not export anything to the host and, in the case of git:// projects, the project dir isn't even imported from the dagger do caller's host in the first place.

This adds support for dagger do callers to pass local directories to commands and support for those commands to import files from them and export files to them.

It's extremely rough both in terms ...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

In order to properly escape strings, especially binary data on Go SDK, we now follow graphQL's spec around strings escape. Follow-ups will be implemented for other SDKs, if necessary.

This PR enables the copy of exact bytes sequences inside container:
Host -> Container bytes conservation is preserved.

The contrary is not totally true (see context https://github.com/dagger/dagger/issues/5069#issuecomment-1557493307).

Repro:

package main

import (
        "context...
vivid lintelBOT
vivid lintelBOT
#

Bumps requests from 2.28.2 to 2.31.0.

Release notes
Sourced from requests's releases.

v2.31.0
2.31.0 (2023-05-22)
Security

Versions of Requests between v2.3.0 and v2.30.0 are vulnerable to potential
forwarding of Proxy-Authorization headers to destination servers when
following HTTPS redirects.
When proxies are defined with user info (https://user:pass@proxy:8080), Requests
will construct a Proxy-Authorization header that is attached to the request to
au...

vivid lintelBOT
#

Bumps webpack from 5.75.0 to 5.83.1.

Release notes
Sourced from webpack's releases.

v5.83.1
What's Changed

Fix regression in import/export normailization effecting mini-css-extract-plugin by @​alexander-akait in webpack/webpack#17214

Full Changelog: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1
v5.83.0
New Features

Normalize property access for imports and exports by @​bworline in webpack/webpack#17137
Top Level Await is now enabled by...

#

Bumps webpack from 5.75.0 to 5.83.1.

Release notes
Sourced from webpack's releases.

v5.83.1
What's Changed

Fix regression in import/export normailization effecting mini-css-extract-plugin by @​alexander-akait in webpack/webpack#17214

Full Changelog: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1
v5.83.0
New Features

Normalize property access for imports and exports by @​bworline in webpack/webpack#17137
Top Level Await is now enabled by...

#

Bumps webpack from 5.75.0 to 5.83.1.

Release notes
Sourced from webpack's releases.

v5.83.1
What's Changed

Fix regression in import/export normailization effecting mini-css-extract-plugin by @​alexander-akait in webpack/webpack#17214

Full Changelog: https://github.com/webpack/webpack/compare/v5.83.0...v5.83.1
v5.83.0
New Features

Normalize property access for imports and exports by @​bworline in webpack/webpack#17137
Top Level Await is now enabled by...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

What is the issue?

The issue is that Container.Export tries to export to a new directory bin which doesn't exist when starting. It also doesn't create it automatically (bug?). Anyways, manually creating the bin dir works mkdir bin. Next docker load -i ./bin/engine.tar fails because docker load doesn't print anything. docker: 4.17.0 (99724)

Log output

❯ ./hack/dev go test -parallel 4 -v -count=1 ./...
+++ dirname ./hack/dev
++ cd ./hack/..
++ pwd

  • DAGGER_SRC_ROOT=/Users...
vivid lintelBOT
vivid lintelBOT
#

I want to be able to run dagger run sh to run commands against an open session. In this case the command I’m running needs to be interactive so I need control over stdin, stdout and stderr.

This is also related to https://github.com/dagger/dagger/issues/5181 but I’ve wanted to turn it off for some reason multiple times when running our test suites. During tests you get a lot of failed pipelines but it’s okay because we’re making assertions on that, but it adds a lot of noise to the outpu...

vivid lintelBOT
#

Fixes https://github.com/dagger/dagger/issues/5171

Problem before was that we'd serialize all the graphql args and values for every resolver, which included the secret plaintext value.

The fix here is an attempt to give a slightly more general+reusable solution than just putting in a hardcoded if in the progrock related code to check for this fieldname+argname pair. It makes the type of the plaintext in our code to be type SecretPlaintext string and gives that a MarshalText method...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

This is a first stab at internal developer docs for how SDKs should support extensions and project commands.

Prioritized throwing something together here since we now have 3 devs working on 3 SDKs to support project commands. No need to immediately bring every SDK into "compliance" with the requirements here, especially since they will be rapidly changing, but hopefully this can be useful and get us off on the right foot towards keeping the SDKs consistent in terms of functionality and req...

vivid lintelBOT
#

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 export not show in the TUI. I expected to see the step is a failure at least and may show the export step failure, this could spot the problems more easier.

Log output

Auto ...

vivid lintelBOT
#

Summary

Deprecate 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 leading to a higher maintenance burden
  • adds fragmentation to the ecosystem since you can’t share async functions in sync code
  • sync is rarely used from what we can see

But there’s anot...

vivid lintelBOT
#

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?

There's probably a lot of weird cases where one would want your porgram's stdout to be piped to another program or to be written to a file. We are using it to write down the file pat...

vivid lintelBOT
#

Resolves https://github.com/dagger/dagger/issues/5196

Writes the tui Stdout to os.Stdout as well as the cmdVtx.Stdout().

Before this change, a simple workflow like this:

package main

import (
	"context"
	"fmt"
	"os"

	"dagger.io/dagger"
)

func main() {
	client, err := dagger.Connect(context.Background())
	if err != nil {
		panic(err)
	}

	v, err := client.Container().From("alpine").WithExec([]string{"echo", "hello"}).Stdout(context.Background())
	if err != n...
vivid lintelBOT
vivid lintelBOT
#

In practice since the service currently only handles one request per engine in a given pool at a time, it's possible for the 1 minute timeout to get hit under high load.

This timeout should be configurable from the service in the same way the export timeout is, which will be fixed, but bumping the timeout from 1->10 minutes will hold us over in the meantime.

vivid lintelBOT
#

This imports https://github.com/wingyplus/dagger_ex under sdk/elixir as an experimental SDK.

@gerhard action items (part of this PR)

git remote add dagger-sdk-elixir git@github.com:wingyplus/dagger_ex
git fetch dagger-sdk-elixir --no-tags
git checkout -b sdk/elixir dagger-sdk-elixir/maim
mkdir -p sdk/elixir
git ls-tree -z --name-only HEAD | xa...
vivid lintelBOT
vivid lintelBOT
#

What are you trying to do?

I'm downloading the Dagger binaries, but Edge browser is telling me that the zip archive is untrusted.

Why is this important to you?

It would be nice if zip/binary was signed so that Windows could trust it. I'm not sure how much effort this would involve.

How are you currently working around this?

I have to override and ignore the warnings that edge gives me.
![image](https://github.com/dagger/dagger/assets/11143071/ea1b01d9-6320-4b29-8a83-3795305f...

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

It seems it's common in dev environments running in containers for the user runtime dir to not exist and not be creatable w/out sudo, which results in permission denied errors when the tui sets up the progrock socket.

This adds a fallback to use the home cache dir in such cases. This isn't as ideal since that dir isn't a tmpfs, but is better than failing I think. A warning is printed when this happens to let users know.

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

What is the issue?

Since I upgraded the Dagger client (v0.6.0) and the Go SDK (v0.7.0) the Dagger command dagger run go run ci/main.go stopped working.

Log output

progress forwarding: mkdir /run/user/1000: permission denied

Steps to reproduce

Checkout Pipeline from https://github.com/puzzle/goff.git
Run Dagger command dagger run go run ci/main.go

SDK version

Go SDK 0.7.0

OS version

Windows 11 with WSL 2 (Ubuntu)

vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

Summary

Refactor the Go based codegen to make it easier to support all SDKs.

Background

The Go SDK launched with a custom implementation of GraphQL introspection to generate the Dagger client based on the API schema. This is similar to the GraphQL Code Generator project, but uses Go code rather than Javascript.

Python needed to be released shortly after but the Go introspection wasn’t ready yet to be shared with other SDKs. As Python’...

vivid lintelBOT
vivid lintelBOT
#

Fixes root cause surfaced in https://github.com/dagger/dagger/pull/5224

Previously the RPC flow required clients to explicitly send a Close RPC call, which wouldn't be sent for services because they are kill -9'd.

Now the RPC flow uses gRPC under the hood and simply uses a graceful shutdown to wait for any in-flight RPC requests to finish, which accomplishes the same thing while also allowing RPC clients to suddenly disappear.

vivid lintelBOT
#

This recovers including stdout and stderr in exec errors for non ExitErrors, hopefully giving more visibility when tests fail like this:

#11 230.3 === NAME  TestContainerExecError/truncates_output_past_a_maximum_size
#11 230.3     container_test.go:3032: 
#11 230.3         	Error Trace:	/app/core/integration/container_test.go:3032
#11 230.3         	Error:      	Should be in error chain:
#11 230.3         	            	expected: %!q(**dagger.ExecError=0xc001439718)
#11 230....
vivid lintelBOT
vivid lintelBOT
#

fixes #5196

Alternative to #5197.

Tackles the same problem but with a different approach: if either stdout or stderr are redirected, respect the redirect rather than writing output to the TUI. I opted to not use a MultiWriter because that's how redirects normally work, but I don't feel too strongly about it; if someone has a good reason to also print the redirected content to the TUI I'm all ears.

vivid lintelBOT
vivid lintelBOT
#

Attempts to address https://github.com/airbytehq/airbyte/issues/26863 though the fixes here are purely theoretical; there's no smoking gun for where the concurrent write actually happened.

Two areas fixed: overrideProgress and Container.Clone.

overrideProgress

This function gets called when starting a service, and previously was directly mutating the Metadata map that's present in container's underlying *pb.Definition because the map is [carried directly over](https://...

vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
ornate vigilBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
vivid lintelBOT
#

What is the issue?

#1110935342577631253 message

From @ringods

you might want to highlight that the Dagger SDK will do some magic behind the scenes to ensure you have a Dagger Engine running in each of the CI integrations here: https://docs.dagger.io/7442989/cookbook#integrations
I was puzzled that I didn't need to install dagger as part of e.g. my Github Actions workflow.

vivid lintelBOT
#

What happened? What did you expect to happen?

We need to use a locally built image as container for running pipeline, I did not find anything in the documentation on how to achieve this.

Actually, passing a locally built image to client.container().from_() lead to failure with the following error:

dagger.exceptions.QueryError: docker.io/: not found

Thanks,

ornate vigilBOT
#

Hi,

I bumped into the same issue, since our testing CI stages include having local images built by some outer processes.

I cannot figure what prevent dagger to use the local image as the FROM directive from any Dockerfile since it based on the same build engine.

Imho, using an tarball image is more or less an totally inefficient anti-pattern since it require to serialize/deserialize data from and to the same engine.

vivid lintelBOT
#

Bumps github.com/prometheus/procfs from 0.9.0 to 0.10.1.

Release notes
Sourced from github.com/prometheus/procfs's releases.

v0.10.1
What's Changed

fs: Statfs_t{} doesn't have a Type field on Windows (#528) by @​SuperQ in prometheus/procfs#529

Full Changelog: https://github.com/prometheus/procfs/compare/v0.10.0...v0.10.1
v0.10.0
What's Changed

Synchronize common files from prometheus/prometheus by @​prombot in prometheus/procfs#484
Bump golang.org/...

#

Bumps github.com/charmbracelet/bubbletea from 0.23.2 to 0.24.1.

Release notes
Sourced from github.com/charmbracelet/bubbletea's releases.

v0.24.1
You can pipe again
This point release fixes a regression introduced in v0.24.0 in which keyboard and mouse input would be lost when piping and redirecting into a program with default inputs. Special thanks to @​pomdtr for…piping up about the regression.

fix: auto-open a TTY when stdin is not a TTY (re...

#

What happened? What did you expect to happen?

Using private registry with private CA (stored in /etc/docker/certs.d, we store the ip resolution in /etc/hosts.

It appears that Dagger do not take into account the /etc/hosts and fail to resolve the registry fqdn:

dagger.exceptions.QueryError: failed to do request: Head "...": dial tcp: lookup  on 10.87.0.1:53: no such host

Is there a way to tell Dagger to resolve the registry using the /etc/hosts and use the certificats...

#

Bumps golang.org/x/crypto from 0.8.0 to 0.9.0.

Commits

a4e9841 go.mod: update golang.org/x dependencies
3ef8056 ssh/test: enable on solaris
a8cc953 ssh: skip unsupported tests on wasip1
7d6d3f5 ssh/test: skip TestValidTerminalMode on non-Bourne shells
1faeef9 cryptobyte: reject Object Identifiers with leading 0x80
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?depend...

#

Bumps golang.org/x/oauth2 from 0.7.0 to 0.8.0.

Commits

839de22 google: don't check for IsNotExist for well-known file
0690208 go.mod: update golang.org/x dependencies
451d5d6 internal: remove repeated definite articles
cfe200d oauth2: parse RFC 6749 error response
See full diff in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/oauth2&package-manager=go_mo...

#

Bumps github.com/charmbracelet/bubbles from 0.15.0 to 0.16.1.

Release notes
Sourced from github.com/charmbracelet/bubbles's releases.

v0.16.1
File Picker Bubble 📁 🫧
This release introduces a brand new filepicker bubble, new features, and a tonne of bugfixes.
Let us know what you think, ask questions, or just say hello in our Discord.

For a quick start on how to use this bubble, take a look at the Example code.
Getting Started
Create a new file p...

#

Bumps golang.org/x/tools from 0.1.10 to 0.9.3.

Release notes
Sourced from golang.org/x/tools's releases.

gopls/v0.9.3
Move fast and fix things...golang/go#54395
As always, thank you for filing issues!
gopls/v0.9.2
This release contains many bug fixes, particularly related to problems that would require restarting gopls.
Note about network usage: among these fixes was a change to allow network usage when reloading the workspace. Reloading occurs when a go.m...

#

Bumps github.com/Khan/genqlient from 0.5.0 to 0.6.0.

Release notes
Sourced from github.com/Khan/genqlient's releases.

v0.6.0
Version 0.6.0 includes some small features and bugfixes. Note that genqlient now requires Go 1.18 or higher, and is tested through Go 1.20.
What's Changed

Add configuration AutoBindings method by @​NuVivo314 in Khan/genqlient#169
Mention how to update the snapshot tests by @​benjaminjkraft in Khan/genqlient#210
make output determi...

#

Bumps @typescript-eslint/parser from 5.56.0 to 5.59.8.

Release notes
Sourced from @​typescript-eslint/parser's releases.

v5.59.8
5.59.8 (2023-05-29)
Note: Version bump only for package @​typescript-eslint/typescript-eslint
v5.59.7
5.59.7 (2023-05-22)
Note: Version bump only for package @​typescript-eslint/typescript-eslint
v5.59.6
5.59.6 (2023-05-15)
Note: Version bump only for package @​typescript-eslint/ty...

#

Bumps graphql-request from 6.0.0 to 6.1.0.

Release notes
Sourced from graphql-request's releases.

6.1.0
Features

71af6ab restore main field of package.json for environments that do not support exports field (#526)
81c8bb2 export middleware function types

Improvements

5fc0062 improve: fix autocomplete for request function
b98d71b refactor: group exports

Chores

6500e69 regenerate TOC (#531)
ae1d8af update pnpm to v8.5.1 (#527)
da47f4e upda...

#

Bumps eslint from 8.39.0 to 8.41.0.

Release notes
Sourced from eslint's releases.

v8.41.0
Features

880a431 feat: change default ignore pattern to **/node_modules/ in flat config (#17184) (Milos Djermanovic)
8bf5505 feat: expose shouldUseFlatConfig (#17169) (Connor Prussin)

Bug Fixes

4f5440d fix: incorrect warning message for ignored dotfiles (#17196) (Milos Djermanovic)
94da96c fix: unify LintMessage type (#17076) (Brandon Mills)
0c415cd fix: validate ...

#

Bumps rich from 13.3.5 to 13.4.1.

Release notes
Sourced from rich's releases.

Hot fix for typing extension issue
[13.4.1] - 2023-06-31
Fixed

Fixed typing extensions import in markdown Textualize/rich#2979

Added tables to Markdown
[13.4.0] - 2023-06-31
Added

Added support for tables in Markdown Textualize/rich#2977

Changelog
Sourced from rich's changelog.

[13.4.1] - 2023-06-31
Fixed

Fixed typing extensions import in markdown Textualize/rich#297...

#

Bumps anyio from 3.6.2 to 3.7.0.

Changelog
Sourced from anyio's changelog.

Version history
This library adheres to Semantic Versioning 2.0 <http://semver.org/&gt;_.
3.7.0

Dropped support for Python 3.6

Improved type annotations:

Several functions and methods that were previously annotated as accepting
Coroutine[Any, Any, Any] as the return type of the callable have been amended to
accept Awaitable[Any] instead, to allow a slightly broader set o...

#

Bumps github.com/magefile/mage from 1.14.0 to 1.15.0.

Release notes
Sourced from github.com/magefile/mage's releases.

v1.15.0
Changelog

9e91a03 Update CI (#466)
9199872 fix erroneous docstring of sh.Exec() (#452)
02bde0b Update jQuery to 3.5.0 (#458)
1b8774a -d dir contains magefiles stop with "No .go files marked with the mage build tag..." (#447) (#448)
a920604 mage: cancel context on SIGINT (#313)

Commits

9e91a03 Update CI (#466)
919987...

#

Bumps typescript from 5.0.4 to 5.1.3.

Release notes
Sourced from typescript's releases.

TypeScript 5.1.3
For release notes, check out the release announcement.
For the complete list of fixed issues, check out the

fixed issues query for Typescript 5.1.0 (Beta).
fixed issues query for Typescript 5.1.1 (RC).
fixed issues query for Typescript 5.1.3 (Stable).

Downloads are available on:

NuGet package

TypeScript 5.1 RC
For release notes, check out th...