Skip to content

feat(web): disable upstream GitHub star prompt on fork - #36

Merged
e-kotov merged 1 commit into
mainfrom
feat/disable-github-star-prompt
Nov 3, 2026
Merged

e-kotov merged 1 commit into
mainfrom
feat/disable-github-star-prompt

Conversation

@e-kotov

@e-kotov e-kotov commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Disables the upstream GitHub star prompt (pingdotgg#29922, pingdotgg#29987) on the EK fork while preserving test coverage.

@e-kotov
e-kotov merged commit 40b61cb into main Nov 3, 2026
1 of 2 checks passed
@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 4/5

[Low impact] The changes stay within the fork's web prompt and upstream-edit check.

Add the missing footprint budget entries before merging; the default-off test also needs a small improvement.

Findings

  1. P1 Footprint check fails ▶
  2. P2 Default is not tested ▶

Summary

Disables the upstream GitHub star prompt on the fork while retaining tests for the enabled behavior.

  • The fork no longer shows the upstream GitHub star prompt.
  • The fork's ThreadFeed line budget drops to 243.

Reviews (1) · Last reviewed commit: "feat(web): disable upstream GitHub star ..." · Reviewed by Greptile

"apps/mobile/src/features/threads/ThreadComposer.tsx": 11,
"apps/mobile/src/features/threads/ThreadDetailScreen.tsx": 30,
"apps/mobile/src/features/threads/ThreadFeed.tsx": 244,
"apps/mobile/src/features/threads/ThreadFeed.tsx": 243,

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Footprint check fails

The budget omits both changed GitHubStarPrompt files. Against the upstream commit merged into the PR base, GitHubStarPrompt.tsx has 11 changed lines and GitHubStarPrompt.test.ts has 12. The checker gives missing entries a limit of zero and exits with an error.

Changing this budget file triggers the Fork machine groups workflow, so its footprint check fails. Add reviewed entries for both files.

Comment on lines +89 to +91
it("never asks when disabled on the fork by default", async () => {
setup({ sent: 5, enabled: false });
await (await startSession()).send();

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 Default is not tested

The new “disabled on the fork by default” test explicitly sets enabled: false, and startSession() writes that value before calling recordPromptSent(). It therefore passes even if the production default changes back to true.

Leave the setter unused in this case so the test protects the fork's actual default. Keep the override for the existing enabled-path tests.

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

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