Skip to content

chore: use single header row for post merge spreadsheet#242

Open
jvbriones wants to merge 1 commit intomainfrom
chore-post-merge-title
Open

chore: use single header row for post merge spreadsheet#242
jvbriones wants to merge 1 commit intomainfrom
chore-post-merge-title

Conversation

@jvbriones
Copy link
Copy Markdown
Contributor

@jvbriones jvbriones commented May 1, 2026

The post validation tracker excel template was updated to use a single header row.


Note

Cursor Bugbot is generating a summary for commit c8657b9. Configure here.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines 186 to 188
valueInputOption: 'USER_ENTERED',
requestBody: { values: [[platformLabelFor(platformType)]] },
});
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge 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 👍 / 👎.

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

❌ 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 c8657b9. Configure here.

range: `${title}!A2:H2`,
valueInputOption: 'USER_ENTERED',
requestBody: { values: [headerRowFor(platformType)] },
});
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fallback path creates sheets without column headers

Medium Severity

When no template is found, the fallback path in createSheetFromTemplateOrBlank now creates a blank sheet with only the platform label in A1 and no column headers. Previously, headerRowFor(platformType) was called to write headers (like "Pull Request", "Merged Time", "Author", etc.) into row 2. That call was removed as part of this change, but unlike the template-duplication path (where the template itself provides headers), the blank-sheet fallback has no other source for column headers, resulting in a headerless spreadsheet.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c8657b9. Configure here.

const t = String(type).toLowerCase();
if (t === 'mobile') return '📱 Mobile';
if (t === 'extension') return '🔌 Extension';
if (t === 'mobile') return '📱 Mobile - Pull requests';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

headerRowFor function is now dead code

Low Severity

The headerRowFor function is defined but no longer called anywhere — the only two call sites were removed in this change. It likely still needs to be used in the blank-sheet fallback path to write column headers, but if it's truly no longer needed, it can be removed to avoid dead code.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit c8657b9. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant