feat: canonicalize renamed/transferred repos via GITHUB_REPO_ALIASES - #143
Merged
Conversation
Repository transfers (e.g. ericlitman/mastra-pilot -> mobilyze-llc/ mastra-pilot) leave stale owner/name references in old Linear dispatch comments and operator muscle memory. GITHUB_REPO_ALIASES holds comma-separated old=new pairs; the Linear webhook canonicalizes the resolved repo before the allowlist check and thread persistence, so stale directives keep working instead of bouncing. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Merge Queue Status
This pull request spent 11 seconds in the queue, including 2 seconds running CI. Required conditions to merge
|
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.
The mastra-pilot transfer to mobilyze-llc left
ericlitman/mastra-pilotin old Linear dispatch comments, and any future re-dispatch that copies a stalerepo owner/namedirective bounces off the allowlist. Rather than everyone remembering the new path:GITHUB_REPO_ALIASES— comma-separatedold-owner/name=new-owner/namepairsUnit tests cover parsing (including malformed entries) and canonicalization;
make lintandmake format-checkpass.Deployment note: set
GITHUB_REPO_ALIASES='ericlitman/mastra-pilot=mobilyze-llc/mastra-pilot'in the studio2 master env when this rides a release.🤖 Generated with Claude Code