Skip to content
This repository has been archived by the owner on Jun 13, 2024. It is now read-only.

Bug: Orb components with no parameters are missing from editor #296

Open
2 of 4 tasks
Xavientois opened this issue Nov 9, 2022 · 0 comments
Open
2 of 4 tasks

Bug: Orb components with no parameters are missing from editor #296

Xavientois opened this issue Nov 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Xavientois
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

The json returned from https://orb-indexer-proxy.herokuapp.com/orbs omits any jobs that don't specify input parameters.

This behaviour can be observed in the Visual Config Editor when trying to use a job from an external orb that doesn't specify job input parameters (ex. voiceflow/[email protected] job dummy_job).

Minimum reproduction code

https://circleci-public.github.io/visual-config-editor/

Steps to reproduce

  1. Access the Visual Config Editor through any browser
  2. Search for an orb containing a job that takes no parameters
  3. Observe that the given job is missing from the orbs components

Alternatively:

  1. Navigate to https://circleci.com/developer/orbs/orb/polycosm/example#jobs-build and see that the build job exists
  2. Run curl https://orb-indexer-proxy.herokuapp.com/orbs\?orb\=polycosm/[email protected] and observe that all the components are missing

Expected behavior

Components with no parameters are still included in the response body for https://orb-indexer-proxy.herokuapp.com/orbs

CircleCI Config SDK version

No response

Node.js version

No response

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

@Xavientois Xavientois added the bug Something isn't working label Nov 9, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant