Exclude *.test.cjs files from sync and runtime file copy#30
Merged
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
pelikhan
March 19, 2026 00:21
View session
Contributor
There was a problem hiding this comment.
Pull request overview
This PR reduces repo noise by preventing *.test.cjs files from being synced in from gh-aw and deletes previously committed synced test files that were already skipped at runtime.
Changes:
- Update the
rsynccommand insync-actions.ymlto exclude*.test.cjs. - Remove the previously synced
setup/js/*.test.cjsfiles from the repository.
Reviewed changes
Copilot reviewed 49 out of 221 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/sync-actions.yml | Excludes *.test.cjs during rsync to prevent future sync churn |
| setup/js/create_discussion_fallback.test.cjs | Removes previously synced test file |
| setup/js/create_discussion_category_normalization.test.cjs | Removes previously synced test file |
| setup/js/create_code_scanning_alert.test.cjs | Removes previously synced test file |
| setup/js/create_agent_session.test.cjs | Removes previously synced test file |
| setup/js/constants.test.cjs | Removes previously synced test file |
| setup/js/comment_limit_helpers.test.cjs | Removes previously synced test file |
| setup/js/close_pull_request.test.cjs | Removes previously synced test file |
| setup/js/close_older_entities.test.cjs | Removes previously synced test file |
| setup/js/close_expired_pull_requests.test.cjs | Removes previously synced test file |
| setup/js/close_expired_issues.test.cjs | Removes previously synced test file |
| setup/js/close_expired_discussions.test.cjs | Removes previously synced test file |
| setup/js/close_entity_helpers.test.cjs | Removes previously synced test file |
| setup/js/close_discussion.test.cjs | Removes previously synced test file |
| setup/js/check_workflow_timestamp.test.cjs | Removes previously synced test file |
| setup/js/check_workflow_recompile_needed.test.cjs | Removes previously synced test file |
| setup/js/check_team_member.test.cjs | Removes previously synced test file |
| setup/js/check_stop_time.test.cjs | Removes previously synced test file |
| setup/js/check_skip_roles.test.cjs | Removes previously synced test file |
| setup/js/check_skip_if_no_match.test.cjs | Removes previously synced test file |
| setup/js/check_skip_if_match.test.cjs | Removes previously synced test file |
| setup/js/check_skip_bots.test.cjs | Removes previously synced test file |
| setup/js/check_permissions.test.cjs | Removes previously synced test file |
| setup/js/check_command_position.test.cjs | Removes previously synced test file |
| setup/js/check_admin_permissions.test.cjs | Removes previously synced test file |
| setup/js/call_workflow.test.cjs | Removes previously synced test file |
| setup/js/autofix_code_scanning_alert.test.cjs | Removes previously synced test file |
| setup/js/assign_milestone.test.cjs | Removes previously synced test file |
| setup/js/assign_issue.test.cjs | Removes previously synced test file |
| setup/js/assign_copilot_to_created_issues.test.cjs | Removes previously synced test file |
| setup/js/add_workflow_run_comment.test.cjs | Removes previously synced test file |
| setup/js/add_reviewer.test.cjs | Removes previously synced test file |
| setup/js/add_reaction.test.cjs | Removes previously synced test file |
| setup/js/add_copilot_reviewer.test.cjs | Removes previously synced test file |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
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.
220 JavaScript test files were being synced from
gh-awinto this repo and then skipped at runtime — unnecessary noise committed to the repo.Changes
sync-actions.yml: Added--exclude='*.test.cjs'to thersynccommand so future syncs don't pull test files into the reposetup/js/: Removed all 220 existing*.test.cjsfiles that had been committed via previous syncsNote:
setup.shalready had runtime skip logic for*.test.cjs(lines 105–109); the gap was upstream at the sync step.