Repository navigation
Description
Severity: P3 · Area: Source maps · Found by: QA
Summary
/docs/source-maps and docs/source-maps.md tell users to reference the source-map Action at the moving branch Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@main. That job receives the project API key secret, and main has changed the Action 9 times since 2026-07-07, including:
- a breaking input rename (
session_cookie→api_key,be4b441, 2026-07-09); - an input-to-script injection fix (
fce3f8d, 2026-07-19); - a full rewrite that changed
bundle_urlresolution (0e9158e, 2026-09-25).
Every consumer picks up each change on their next CI run, with no version signal. Pinned refs that work already exist: every tag from v1.17.18 to v1.17.24 contains the Action, byte-identical to main.
Severity reason: P3. Nothing is broken today. It's CI supply-chain and stability hygiene for a step that handles an API key (GitHub's hardening guide recommends pinning third-party actions to a full commit SHA). The mutable ref has already delivered one breaking change.
Affected
- Live https://telemetry-tracker.com/docs/source-maps (checked 2026-09-26 10:45 CEST):
uses: Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@main. - Repo
docs/source-maps.md:204(same@main). Line 235 says "…use the…@mainform above (pin a release tag when you want a frozen copy)" but doesn't name a tag, and doesn't say that tags ≤ v1.17.17 contain the older Action.
Environment and versions
Static check via the GitHub API, 2026-09-26 10:45–10:50 CEST. The Action wasn't run in GitHub.
Steps to reproduce
- Read /docs/source-maps: the only
uses:line is@main. gh api "repos/Telemetry-Tracker/telemetry-tracker/commits?sha=main&path=.github/actions/upload-source-maps" --jq '.[]|.sha[0:7]+" "+.commit.committer.date'lists 9 commits (2026-07-07 … 2026-09-25).- For each tag, compare the Action directory, e.g.
gh api "repos/Telemetry-Tracker/telemetry-tracker/contents/.github/actions/upload-source-maps?ref=v1.17.24" --jq '.[]|.name+" "+.sha'.
Expected
The docs show a pinned ref (full commit SHA with a version comment, or at least a release tag) plus a note on how to update it (e.g. Dependabot github-actions).
Actual
What @main runs today (8d00f9d, identical on develop): a composite action whose single step runs node "$GITHUB_ACTION_PATH/upload.cjs".
- It uses only Node built-ins (
fs,path,http/https). There's nonpm install, nonpx, and no@latestCLI. - The Node version isn't pinned: it's whatever
nodeis on the runner's PATH. The script uses plain CommonJS, so the risk is low. - It follows the last non-inline
sourceMappingURL, falls back to<map>.map→<map>, and exits 1 on the first failed upload.
| Ref | Action files | Same as main |
Notes |
|---|---|---|---|
main, develop, v1.17.18 … v1.17.24 (7 tags) |
action.yml (blob 71e0b548) + upload.cjs (7b195612) |
yes | inputs api_key, project_id, release, app, artifact_path, base_url, base_api_url |
| v1.16.6 … v1.17.17 (20 tags) | action.yml only (be6728fc), inline script |
no | same 7 inputs; no sourceMappingURL support |
| v1.6.2 … v1.16.5 (56 tags) | action.yml (639076c1) |
no | same 7 inputs, but ${{ inputs.* }} is interpolated straight into the inline script (fixed by fce3f8d) |
| v1.6.1 | action.yml (532d8359) |
no | no base_api_url input |
| older (42 tags) | no Action | – | – |
So @v1.17.24 (or its commit 8d00f9d1527783f6365e7c6e2e1f19630920bc6e) is a drop-in, compatible pin today. Tags are repo-wide release tags (several per day), so a SHA pin with a # v1.17.24 comment is the most stable option.
Root cause
Docs only (apps/dashboard /docs/source-maps page and docs/source-maps.md:204,235).
Release coordination
None (docs only). If the team prefers a stable major-style ref, consider a moving upload-source-maps-v1 tag, or a dedicated action repo with semver tags.
Acceptance criteria
- /docs/source-maps and
docs/source-maps.mdshow@<full SHA> # v1.17.x(or@v1.17.x) for a tag ≥ v1.17.18. - The docs say tags before v1.17.18 contain an older Action (no
sourceMappingURLsupport; ≤ v1.16.5 also interpolate inputs into the script) and must not be used, and show how to keep the pin updated. - The pinned ref resolves and contains
upload.cjs.
Fix references
None yet. Related: #704 (TT-005, source-map docs).
History
- 2026-09-26 10:45–10:50 CEST: found (static check).
Filed from the QA regression list on 2026-09-26. Source: QA report 2026-09-26-sdk-qa.md (#tt-021).
Activity
docs(source-maps): pin upload Action to v1.17.24 SHA (TT-021)
unjica commentedon Oct 2, 2026
QA verification — PASS (closed)
When: 2026-10-02 ~08:54 CEST (weekday smoke)
Fix: PR #723; live on production docs (API 1.17.25)
Method: Fetched https://telemetry-tracker.com/docs/source-maps
uses:refs:Telemetry-Tracker/telemetry-tracker/.github/actions/upload-source-maps@8d00f9d1527783f6365e7c6e2e1f19630920bc6e(×2)@mainrefs remaining on the live pageClosing as verified-fixed.