Skip to content

tap namespace list omits non-default/local hubs and does not identify hub source #73

Description

@jlrickert

Summary

tap namespace list appears to list memberships only from the selected/default hub. It omits namespaces represented by other configured remote and local hubs, and its output does not identify which hub supplied each row.

Reproduction

Tapper version:

tap version 0.32.0

Configured hubs:

$ tap hub list
* atlas remote  https://atlas.foldwise.ai                 user
  homelab remote  https://jlrickert.int.foldwise.ai       user
  topos-local local                                        user

Observed output:

$ tap namespace list
@foldwise       org     owner
@jlrickert      user    owner

Actual behavior

Only the memberships returned from the selected atlas hub are shown. There is no hub/source column, so rows cannot be attributed when multiple hubs are configured.

Expected behavior

tap namespace list should aggregate every namespace the current user belongs to across all configured usable hubs. It should also represent local namespaces that own or contain locally available KEGs, even though a local hub does not have remote membership records.

Each row should identify its source hub so identical namespace names on different hubs remain distinguishable.

A useful output shape would include at least:

NAMESPACE   KIND   ROLE   HUB

Acceptance criteria

  • Query all configured usable hubs, not only the selected/default hub.
  • Include remote namespace memberships from atlas and homelab.
  • Include local namespaces represented by KEGs on local hubs such as topos-local.
  • Include the source hub in every row.
  • Keep same-named namespaces from different hubs distinguishable.
  • If one hub is unreachable, preserve results from other hubs and report the failure with that hub name.

Activity

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions