Skip to content

Conversation

@andrewnicols
Copy link
Contributor

This prevent issues when passing a large number of changes files to the amos script.

Previously the git commands were run in the shell script and values passed to the php script, but where there are large numbers of files this breaks because PHP hits ARG limits.

This issue has come about because I'm hitting these limits in MDL-83424

@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 33.01%. Comparing base (6cdb6d2) to head (82df354).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #339      +/-   ##
==========================================
+ Coverage   30.90%   33.01%   +2.10%     
==========================================
  Files          71       71              
  Lines        3229     3229              
==========================================
+ Hits          998     1066      +68     
+ Misses       2231     2163      -68     
Flag Coverage Δ
check_upgrade_savepoints 0.46% <ø> (ø)
checkstyle_manipulations 0.00% <ø> (ø)
compare_databases 2.38% <ø> (ø)
continuous_manage_queues_validation 0.71% <ø> (ø)
define_excluded 1.11% <ø> (ø)
detect_conflicts 1.48% <ø> (ø)
diff_extract_changes 0.00% <ø> (ø)
git_sync_two_branches 2.04% <ø> (?)
grunt_process 3.00% <ø> (ø)
illegal_whitespace 2.63% <ø> (ø)
list_valid_components 0.00% <ø> (ø)
mustache_lint 2.84% <ø> (ø)
mustache_lint_plugins 1.33% <ø> (ø)
php_lint 1.23% <ø> (ø)
prepare_npm_stuff 1.51% <ø> (ø)
remote_branch_checker 17.43% <ø> (+0.06%) ⬆️
remote_branch_reporter 0.00% <ø> (ø)
setup 0.00% <ø> (ø)
thirdparty_check 1.48% <ø> (ø)
travis-branch-checker 0.00% <ø> (ø)
upgrade_external_backup 1.64% <ø> (ø)
verifications 0.00% <ø> (ø)
verify_commit_messages 2.63% <ø> (ø)
verify_phpunit_xml 1.23% <ø> (ø)
versions_check_set 5.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrewnicols andrewnicols force-pushed the gitinamos branch 4 times, most recently from bb355bd to a9019cc Compare April 17, 2025 02:02
This prevent issues when passing a large number of changes files to the
amos script.

Previously the git commands were run in the shell script and values
passed to the php script, but where there are large numbers of files
this breaks because PHP hits ARG limits.
@andrewnicols andrewnicols merged commit 74df639 into moodlehq:main Apr 17, 2025
100 of 102 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants