Repository navigation
A GitHub or Jira source cannot be saved without the repository or project its sync needs - #1328
Merged
WaylandYang merged 2 commits intoOct 21, 2026
Conversation
…ject its sync needs Signed-off-by: Quintin Botes <quintinbotes@outlook.com>
gedaiu
added a commit
to re-cinq/utopia
that referenced
this pull request
Oct 21, 2026
Sync upstream dev into re-dev (2026-10-21): deeplethe#1349, deeplethe#1280, deeplethe#1331, deeplethe#1326, deeplethe#1328
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.
Why
The create dialog let a GitHub issues, GitHub repository or Jira source be saved with its repository, site or project left empty: its validity check ended in
: truefor those kinds. The source was created and scheduled, and every sync then failed with an error such asgithub_repo source is missing config.repo (owner/name)orjira_issues source is missing config.project. A full GitHub URL pasted into the repository field got through as well, and the server rejects that on every sync for the same reason (config.repo should look like owner/name).What changes
hasSyncFields(kind, fields)inweb/src/sourceKinds.ts.github_issuesandgithub_repo, the repository must beowner/name, the shapesync_github_issues_with_clientandsync_github_repo_with_clientaccept.jira_issues, both the site and the project must be filled in.: true.How it was checked
On an M1 Max (macOS), at the PR head on top of
devd62e880:pnpm build(style guard,tsc --noEmit, vite) andpnpm testinweb/: build passes, 314 tests pass.sourceKinds.test.tscovers seven cases:owner/namewith surrounding spaces;Without the check, four of them fail.
Before review
git commit -s)web/:pnpm buildandpnpm testpass