Bug: Not all features from a collection are picked by the index

Open
#493 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
docker, github

Research direction

Start by tracing the build process that produces the ghcr.io/devcontainers/index image and its devcontainer-index.json file. Compare the current and previous image contents, then inspect how the duplicated homebrew-package entry is handled for the devcontainers-extra collection. Done means the index contains the normal set of features and the containers.dev/features page lists them.

Written by the indexing model from the issue text.

Description

Today I noticed that there's only a single devcontainers-extra feature listed on https://containers.dev/features page (which is odd because all of them were listed previously)

I decided to check if it's reflected in ghcr.io/devcontainers/index container, and indeed I spotted that the latest image (sha256:67c13a273e686aee435df0ae312d367608716ed1a1c30fdc34bf18203733ac83) contains only one feature for devcontainer-extra entry:

Pasted image 20241104203322

While the previous image (sha256:5bbca131daff58a0ad98af37d527a0bd7c0c4e0c99bca4e9cb0b78fa34e3aa7e) contains the normal number of devcontainer-extra features:

Pasted image 20241104203227

The currently available feature is ghcr.io/devcontainers-extra/features/homebrew-package

Pasted image 20241104203453

On the devcontainers-extra container registry I can see that that feature is kind of doubled:

image

That's probably something I messed up, and as the result it messed up the process that is producing the index image with devcontainer-index.json file (so it only contains that single feature for devcontainers-extra collection)

Nevertheless, I don't know how that build process works, so I cannot check what exactly causes the issue and try to fix it (it was also mentioned in #480)

My only assumption is that it may be fixed when I remove doubled homebrew-package feature. Although the 1st image is namespaced with ghcr.io/devcontainers-extra, while the second is namespaced with ghcr.io/devcontainers-extra/features, so it still could be something else

@bamurtaugh is it possible to get more information about the build process of ghcr.io/devcontainers/index image? It may help to clarify what causes the issue, and maybe with fixing it

Dominant language
HTML
Stars
207
Forks
435
Avg merge
2d 7h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devcontainers/devcontainers.github.io

All issues in devcontainers/devcontainers.github.io

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.