Skip to content

Add Copilot instructions for site namespacing#469

Merged
leesheppard merged 1 commit into
mainfrom
copilot_instructions_for_sites
May 25, 2026
Merged

Add Copilot instructions for site namespacing#469
leesheppard merged 1 commit into
mainfrom
copilot_instructions_for_sites

Conversation

@HashNotAdam
Copy link
Copy Markdown
Contributor

@HashNotAdam HashNotAdam commented May 25, 2026

The meetup sites under sites/ use a custom Zeitwerk configuration in config/initializers/sites.rb that removes the site-name directory requirement for namespacing. Copilot reviews have been flagging the shorter paths as autoloading violations and suggesting files be moved into a site-named subdirectory.

Add a path-scoped instructions file scoped to sites/** explaining the convention so Copilot stops raising these false positives.

The meetup sites under sites/ use a custom Zeitwerk configuration in
config/initializers/sites.rb that removes the site-name directory
requirement for namespacing. Copilot reviews have been flagging the
shorter paths as autoloading violations and suggesting files be moved
into a site-named subdirectory.

Add a path-scoped instructions file scoped to sites/** explaining the
convention so Copilot stops raising these false positives.
@HashNotAdam HashNotAdam force-pushed the copilot_instructions_for_sites branch from c84079e to 7172fdd Compare May 25, 2026 05:07
@leesheppard leesheppard temporarily deployed to ruby-org-au-copilot-ins-shen2l May 25, 2026 05:07 Inactive
@leesheppard leesheppard temporarily deployed to ruby-org-au-copilot-ins-shen2l May 25, 2026 05:10 Inactive
@HashNotAdam HashNotAdam marked this pull request as ready for review May 25, 2026 05:11
@HashNotAdam HashNotAdam requested a review from a team as a code owner May 25, 2026 05:11
@HashNotAdam HashNotAdam force-pushed the copilot_instructions_for_sites branch from e793dbc to 7172fdd Compare May 25, 2026 05:14
@leesheppard leesheppard temporarily deployed to ruby-org-au-copilot-ins-shen2l May 25, 2026 05:14 Inactive
@leesheppard leesheppard self-requested a review May 25, 2026 05:25
@github-project-automation github-project-automation Bot moved this from Todo to Done in RubyAU Community PM May 25, 2026
@leesheppard leesheppard merged commit a240022 into main May 25, 2026
12 checks passed
@leesheppard leesheppard deleted the copilot_instructions_for_sites branch May 25, 2026 05:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants