Repository navigation
fix: various cross-module secret sharing issues - #8149
Conversation
|
I may have found another repro: https://github.com/sagikazarmark/daggerverse/pull/155/files#diff-2598c9fcbe43a9002d7558bf5ca98f0336b6eddbc7da5f699e0f59780e35c8fdR74-R82 When getting secrets from a different module through an interface, it fails with the following error: Reproduce: Unfortunately, I can't verify if it's working on 0.12.0, because interfaces in a constructor were broken on that version. But I haven't seen this issue (secret not found) on 0.12.0. |
Until dagger/dagger#8149 is fixed Signed-off-by: Mark Sagi-Kazar <[email protected]>
|
(Sorry about the long radio-silence, unexpected IRL events followed by other fires to put out once back) The problem around For the repro here: #8149 (comment) I think it may be due to the same thing rather than a separate interface bug? Specifically because of this line: https://github.com/sagikazarmark/daggerverse/pull/155/files#diff-2598c9fcbe43a9002d7558bf5ca98f0336b6eddbc7da5f699e0f59780e35c8fdR17-R18
|
|
Thanks @sipsma! I won't pretend to understand the problem or the solution, but I look forward to the latter. Currently, I'm stuck on 0.12.0 where this problem doesn't occur. I've tried to work around the problem, but since some of the private fields are types from other modules (that I can't make non-private), I can't. |
|
Hm, it seems to me there are multiple errors regarding the svix module: Removing |
7c8cebf to
ac70e08
Compare
4c0f28b to
35236e4
Compare
Previously, users could put any type in a |
|
Hm, this really feels like opening pandora's box. Getting all the SDKs to report private fields feels like a big change, and also starts to reveal issues where users might previously have smuggled JSON-marshallable, but not typedefed fields into a I'm going to move some of this into a new PR, since at least with @sipsma's work this can be worked-around by removing the |
b5ce62a to
05877b0
Compare
|
LGTM with just @sipsma's commits in here, but can't approve and merge since I opened the original PR. |
gerhard
left a comment
There was a problem hiding this comment.
Approving optimistically.
Before merging, please add a release notes fragment. Otherwise LGTM 👍
The failing test is a known test flake, re-triggering: https://dagger.cloud/dagger/traces/43980045647d866aa3c76a95e62392ea?span=ec87e879b8f96072#ec87e879b8f96072:L5
552d399 to
18c8712
Compare
Signed-off-by: Erik Sipsma <[email protected]>
There was a conditional in the code to skip collecting resource IDs (secrets, sockets, etc.) when the function had no name. I believe this was originally meant to skip doing this for the call to get the module typedefs. However, it ended up also skipping that codepath for constructors, which is wrong. Secrets and other resources can be made during constructor calls that should be collected, otherwise you will get errors about missing client resources if they are made in that call. As far as I can tell, that check can just be removed entirely without any harm, so that's the fix here. Signed-off-by: Erik Sipsma <[email protected]>
Signed-off-by: Justin Chadwell <[email protected]>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/dots). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/containers). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Update | Change | |---|---|---| | [dagger/dagger](https://redirect.github.com/dagger/dagger) | minor | `v0.12.7` -> `v0.13.0` | --- ### Release Notes <details> <summary>dagger/dagger (dagger/dagger)</summary> ### [`v0.13.0`](https://redirect.github.com/dagger/dagger/blob/HEAD/CHANGELOG.md#v0130---2024-09-11) [Compare Source](https://redirect.github.com/dagger/dagger/compare/v0.12.7...v0.13.0) ##### 🔥 Breaking Changes - Remove deprecated fields and arguments by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8065](https://redirect.github.com/dagger/dagger/pull/8065) - Remove `Container.withExec`'s `skipEntrypoint` argument - this is now the default (see `useEntrypoint`) - Remove `pipeline`, `Container.pipeline` and `Directory.pipeline` - Remove `GitModuleSource.cloneURL` (see `GitModuleSource.cloneRef`) ##### Added - Added new `Directory.digest` and `ModuleSource.digest` fields by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8282](https://redirect.github.com/dagger/dagger/pull/8282) \ These fields mirror the behavior of the `File.digest` field, computing a unique cryptographic digest over the contents of the object. - TUI: add `--no-exit`/`-E` so you can poke around after the call completes by [@​vito](https://redirect.github.com/vito) in [https://github.com/dagger/dagger/pull/8389](https://redirect.github.com/dagger/dagger/pull/8389) ##### Changed - The trace url is printed just before the final output to make it easy to find by [@​rajatjindal](https://redirect.github.com/rajatjindal) in [https://github.com/dagger/dagger/pull/8366](https://redirect.github.com/dagger/dagger/pull/8366) \ Also, the url will be printed only for a subset of dagger commands to reduce noise. - Increase the minimum connect timeout from 1s to 3s by [@​neutronth](https://redirect.github.com/neutronth) in [https://github.com/dagger/dagger/pull/8328](https://redirect.github.com/dagger/dagger/pull/8328) \ Connecting to a distant remote engine could otherwise fail if it was not reachable in 1s. ##### Fixed - Fixed void types from core incorrectly being seen as named scalars by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8336](https://redirect.github.com/dagger/dagger/pull/8336) - Fix setting secrets on module object in constructor by [@​sipsma](https://redirect.github.com/sipsma) in [https://github.com/dagger/dagger/pull/8149](https://redirect.github.com/dagger/dagger/pull/8149) - Allow top-level field access with no constructor by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8331](https://redirect.github.com/dagger/dagger/pull/8331) \ Previously, if a field access was made immediately after the default constructor was called, then the access would fail. - Plain progress correctly displays carriage returns by [@​jedevc](https://redirect.github.com/jedevc) in [https://github.com/dagger/dagger/pull/8347](https://redirect.github.com/dagger/dagger/pull/8347) \ Carriage returns could previously render weirdly in the output, displaying empty lines, and similar visual glitches. - cli: Fix default value on `Platform` flag by [@​helderco](https://redirect.github.com/helderco) in [https://github.com/dagger/dagger/pull/8360](https://redirect.github.com/dagger/dagger/pull/8360) ##### What to do next? - Read the [documentation](https://docs.dagger.io) - Join our [Discord server](https://discord.gg/dagger-io) - Follow us on [Twitter](https://twitter.com/dagger_io) </details> --- ### Configuration 📅 **Schedule**: Branch creation - "after 4pm on thursday" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/scottames/daggerverse). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC43NC4xIiwidXBkYXRlZEluVmVyIjoiMzguNzQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: scottames-github-bot[bot] <162828115+scottames-github-bot[bot]@users.noreply.github.com> Co-authored-by: Scott Ames <[email protected]>
Thanks @sagikazarmark for the original bug report 🎉 (I think this is the same issue? it does have a slightly different error message).
The issue appears to be that the
SecretMount.Secretis marked as// +private- if this is removed, the test appears to pass with no issues. I'm guessing that what's happening is that because the field is marked as private, it's not appearing as a field in the typedef.Then, when we iterate to
CollectCoreIDs, we don't manage to see this field:dagger/core/object.go
Line 103 in 3c52de5
I think that makes rough sense - note
PBDefinitionshas this same issue - potentially this could cause bugs inlinkDependencyBlobs? Maybe, but I'm not sure what the symptoms of that would even look like.There are a couple things that I think probably need fixing:
linkDependencyBlobsthing from above as well.cc @sipsma