Skip to content

Which release kept 007 in the CSV?

A support ticket says two item IDs, 007 and 7, both export as 7. A recent commit fixed the preview. Check whether the exported file changed before telling the reader to upgrade.

Download the Git practice repository (.bundle)

Requires Git and Node.js. The download contains a fictional Apps Script export, a support worksheet in README.md, and the same test data for both versions. It runs offline.

Replay the support ticket

In a terminal, open the folder containing the download and run these commands. The first replay exits with code 1 when the CSV differs. Continue to the second tag to see whether it fixed the file.

git clone item-export.bundle item-export
cd item-export
git switch --detach v1.4.0
node support/replay.cjs
git switch --detach v1.4.1
node support/replay.cjs

Compare the preview line with the two item IDs in each CSV. The quantity should stay 1000, even though the sample sheet displays it as 1,000. The runner compares the entire output with support/expected.csv, including quoted descriptions.

Trace the fix to a tag

Return to the main branch and inspect the commit history. Which tags contain the preview change, the CSV change and the later help-text change?

git switch main
git log --oneline --decorate --all
git tag --contains de78e4a
git tag --contains 3d6f753
git tag --contains 1b5d6a1
Check the evidence for your reply

Both tags show 007 in the preview. In v1.4.0 the CSV collapses the two IDs. In v1.4.1 it preserves both and matches the expected bytes. Neither tag includes the later help text. You can tell the reader which sample build passed and ask which build produced their file.

The runner calls the bundled export function with the sample range’s raw values and displayed strings. The fixture represents a Sheets range. A check of someone’s installed add-on requires their version and a separate run. Git’s tag reference.