fix: route feedback submissions through Issues API to resolve timeout errors#1
Open
Sriram2272 wants to merge 1 commit into
Open
fix: route feedback submissions through Issues API to resolve timeout errors#1Sriram2272 wants to merge 1 commit into
Sriram2272 wants to merge 1 commit into
Conversation
… errors The feedback command was configured with `surfaces: [discussion]`, which routes submissions to the GitHub Discussions API. This endpoint is slower and more prone to connection timeouts, causing users to see "Submission timed out" errors when submitting in-app feedback (reported in github#52). Switching the surface to `issue` uses the Issues API, which is faster and more reliable for this type of user-submitted content. This aligns with the intent described in the v0.2.3 changelog, where the feedback form was updated to post submissions as public GitHub issues. The template is also tightened — the previous version included several paragraphs of instructional preamble that added unnecessary payload size and referenced discussion-specific conventions (video threads, multi-day cadence) that no longer apply in an issue context. Fixes github#52
There was a problem hiding this comment.
Pull request overview
Switches the in-app feedback command from the Discussions surface to the Issues surface to resolve submission timeouts reported in v0.2.2, and trims the feedback template's discussion-specific preamble while preserving the six core questions.
Changes:
- Change
surfacesfromdiscussiontoissuein.github/commands/feedback.yml. - Remove discussion-specific instructional preamble (first-session video, multi-day cadence) from the template.
- Preserve the six structured feedback questions and add brief HTML comment hints.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Reported by @jav099 in github#52 — users on v0.2.2 (macOS) receive a "Submission timed out" error when clicking the Submit feedback button in the bottom-left of the UI.
Root cause
.github/commands/feedback.ymlhadsurfaces: [discussion], which routes in-app feedback submissions to the GitHub Discussions API. The Discussions endpoint is significantly slower than the Issues API and more susceptible to connection timeouts, especially on slower or high-latency networks.Fix
Switch the
surfacesfield fromdiscussiontoissue:This aligns with what was described in the v0.2.3 release notes:
The Issues API is faster, more reliable, and the right target for this type of structured user feedback.
Template cleanup
The previous template body included several paragraphs of instructional preamble that were discussion-specific (references to first-session video recordings, multi-day onboarding cadence, etc.). These no longer apply in an issue context and added unnecessary payload to each submission. The six core feedback questions are preserved — only the surrounding prose is trimmed.
Testing
Closes github#52