Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions docs/features/troubleshooting_failures.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,14 @@ You can display urls in other CI providers using the `WEAVER_SOURCE_URL` environ
export WEAVER_SOURCE_URL=https://gitlab.com/my-org/my-repo/-/tree/my-branch/
```

Here are some common provider formats:

| Provider | `WEAVER_SOURCE_URL` value |
|----------|----------------------------------------------------------------------------------|
| GitHub | `${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}/tree/${GITHUB_SHA}/` (set by default) |
| GitLab | `${CI_PROJECT_URL}/-/tree/${CI_COMMIT_SHA}/` |


## Displaying a trace

If you have a test codebase with many nested helper functions, you may want to display a trace of source locations. You can do this with the `traced(here)` function.
Expand Down
Loading