getappmap / getappmap/appmap-js

PNG output command for sequence diagram is broken

Open
#1,597 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
TypeScript
Stars
53
Forks
18
Avg merge
3d 18h
Merged PRs (30d)
8

Description

➜  api-service git:(feat/local-service) ✗ appmap sequence-diagram --format png tmp/appmap/jest/AIGateway/exception_handling/when_an_HTTP_exception_occurs/reports_status_code_and_message_via_\'exception\'_event.sequence.json
Opening sequenceDiagram.html
node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

Error: File sequenceDiagram.html does not exist
    at serveAndOpen (/snapshot/appmap-js/packages/cli/built/lib/serveAndOpen.js)

Node.js v18.5.0

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Reproduce the failure with the appmap sequence-diagram --format png command and the sequence JSON path shown in the issue. Start by reading packages/cli/built/lib/serveAndOpen.js and check why sequenceDiagram.html is missing. Done means the PNG output command completes successfully instead of reporting that file does not exist.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.