apollographql / apollographql/apollo-tooling

UI: using appolo `server:check` with CircleCI gives multiply outputs of the same message

Open
#817 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

Image worth a thousand words:

![screen shot 2018-12-07 at 10 48 46 am](https://user-images.githubusercontent.com/1277279/49680841-42ce2780-fa4e-11e8-9942-45551564d825.png)

It seems just visual thing from lister though it was bit trippy and took some time to get to the point, npx seems not using animation for that particular command. Verbatim:

```yml
- run:
name: run apollo service:check
command: |
npx apollo@2.1.7 service:check \
--tag="${APOLLO_TAG}" \
--endpoint="http://localhost:${PORT}/graphql" \
--header="Authorization:Bearer ${SERVER_API_APOLLO_ACCESS_TOKEN}"
```

Captured from web interface. All look good if I do ssh into circleci test container and issue command from there.

UPD: Image from ssh session.

screen shot 2018-12-07 at 6 40 36 pm
And it seems in this case npx is not using the small animation that it uses if I run it locally.

¡Muchas gracias!

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the provided `npx apollo@2.1.7 service:check` command in CircleCI and compare its output with the same command in an SSH session. Trace the CLI's output or animation handling; done means the CircleCI interface shows each status message once without duplicated visual output.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.