chore: use single header row for post merge spreadsheet#242
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c8657b9b3e
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| valueInputOption: 'USER_ENTERED', | ||
| requestBody: { values: [[platformLabelFor(platformType)]] }, | ||
| }); |
There was a problem hiding this comment.
Preserve headers when creating a non-template sheet
In createSheetFromTemplateOrBlank, the fallback path (when no template tab exists) now only writes A1 and skips writing any column headers. This is a regression from the previous behavior, where A2:H2 was populated via headerRowFor(platformType). If template lookup fails (the exact case this branch handles), the generated tab has unlabeled validation columns, which makes the tracker hard to use and can lead to incorrect manual validation updates.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 933fa29. Configure here.

The post validation tracker excel template was updated to use a single header row.
Note
Medium Risk
Updates the Google Sheets write/read ranges and row insert/delete indices, which can misalign headers vs appended PR data if the spreadsheet template differs from expectations. Changes are isolated to the post-merge tracking script and don’t affect production runtime code.
Overview
Aligns the post-merge validation tracker spreadsheet format to a single header row by writing all headers (including the platform label) into row 1 and shifting data to start on row 3.
Updates sheet creation from template/blank to insert/delete the correct spacer row, and adjusts
readRows/appendRowsranges accordingly so deduping and new PR inserts operate on the new row layout.Reviewed by Cursor Bugbot for commit 6e2f229. Bugbot is set up for automated code reviews on this repo. Configure here.