Skip to content

[Bug]: talosctl feature fails due to bundles #182

@Benjamin-Etheredge

Description

@Benjamin-Etheredge

Feature id and version

ghcr.io/devcontainers-extra/features/talosctl:1.0.0

Dev Container base Image

mcr.microsoft.com/devcontainers/base:noble

What happened?

Added talosctl feature to my devcontainer and failed to install. The problem appears to be the presence of .bundle files. Filter those out fixes it.

The install script needs to include --option assetRegex='^.*(?<!\.bundle)$'

Relevant log output

6.790 'talosctl-linux-amd64' filtered by '(?i)(debian)' 

6.790 'talosctl-linux-amd64.bundle' filtered by '(?i)(debian)' 

6.803 Traceback (most recent call last):

6.803   File "<string>", line 1, in <module>

6.803   File "nanolayer.__main__", line 50, in main

6.803   File "typer.main", line 328, in __call__

6.803   File "typer.main", line 311, in __call__

6.803   File "click.core", line 1157, in __call__

6.803   File "typer.core", line 778, in main

[2025-12-20T07:08:25.177Z] 6.803   File "typer.core", line 216, in _main

6.803   File "click.core", line 1688, in invoke

6.803   File "click.core", line 1688, in invoke

6.803   File "click.core", line 1434, in invoke

6.803   File "click.core", line 783, in invoke

6.803   File "typer.main", line 683, in wrapper

6.804   File "nanolayer.cli.install", line 156, in install_gh_release_binary

6.804   File "nanolayer.installers.gh_release.gh_release_installer", line 145, in install

6.804   File "nanolayer.installers.gh_release.resolvers.asset_resolver", line 327, in resolve

[2025-12-20T07:08:25.177Z] 6.804 nanolayer.installers.gh_release.resolvers.asset_resolver.AssetResolver.AssetResolverError: Too many matches found: ['talosctl-linux-amd64', 'talosctl-linux-amd64.bundle']

7.017 Traceback (most recent call last):
7.018   File "<string>", line 1, in <module>
7.018   File "nanolayer.__main__", line 50, in main
7.018   File "typer.main", line 328, in __call__
[2025-12-20T07:08:25.177Z] 7.018   File "typer.main", line 311, in __call__
7.018   File "click.core", line 1157, in __call__
7.018   File "typer.core", line 778, in main
7.018   File "typer.core", line 216, in _main
7.018   File "click.core", line 1688, in invoke
7.018   File "click.core", line 1688, in invoke
7.018   File "click.core", line 1434, in invoke
7.018   File "click.core", line 783, in invoke
7.018   File "typer.main", line 683, in wrapper
7.018   File "nanolayer.cli.install", line 66, in install_devcontainer_feature
7.018   File "nanolayer.installers.devcontainer_feature.oci_feature_installer", line 134, in install
7.018   File "nanolayer.utils.invoker", line 59, in invoke
7.018 nanolayer.utils.invoker.Invoker.InvokerException: The command 'cd /tmp/tmptrb5helx && chmod +x -R . && _REMOTE_USER="vscode" _REMOTE_USER_HOME="/home/vscode" REPO="siderolabs/talos" BINARYNAMES="talosctl" VERSION="latest" RELEASETAGREGEX="^(?!.*(alpha|beta)).*$" ASSETREGEX="" BINLOCATION="/usr/local/bin" LIBNAME="" LIBLOCATION="/usr/local/lib" ADDITIONALFLAGS="" NANOLAYER_VERBOSE="" NANOLAYER_FORCE_CLI_INSTALLATION="" NANOLAYER_PROPAGATE_CLI_LOCATION="1" NANOLAYER_CLI_LOCATION="/tmp/nanolayer-cpKuxjXjNq/nanolayer" bash  -i  +H ./install.sh' failed. error: Return Code: 1. see logs for details.
7.114 ERROR: Feature "talosctl (via Github Releases)" (ghcr.io/devcontainers-extra/features/talosctl) failed to install! Look at the documentation at http://github.com/devcontainers-extra/features/tree/main/src/talosctl for help troubleshooting this error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions