fix: resolve all CI quality gate failures #341
No reviewers
Labels
No labels
Blocked
Duplicate
MoSCoW/Could Have
MoSCoW/Must Have
MoSCoW/Should Have
Points/1
Points/13
Points/2
Points/21
Points/3
Points/5
Points/8
Priority/Backlog
Priority/Critical
Priority/High
Priority/Low
Priority/Medium
State/Completed
State/In progress
State/In review
State/Paused
State/Unverified
State/Verified
State/Wont Do
Type/Bug
Type/Epic
Type/Feature
Type/Legendary
Type/Task
Type/Testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: aethyr/Aethyr#341
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/ci-quality-gates"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
This PR fixes all shared CI quality gate failures that affect master and every open PR.
Changes
Fix CI lint command - Changed
bundle exec rubocop --paralleltobundle exec standardrbin.forgejo/workflows/ci.yml. The project uses StandardRB for linting, not raw RuboCop.Fix 527+ StandardRB lint offenses - Auto-fixed indentation, spacing, and layout issues across ~93 files. Manually fixed 10 remaining offenses (duplicate method definitions, nested method definitions, useless assignments, semicolons).
Fix Sorbet type check error - Changed
T.unsafe(super(nil, nil))toT.unsafe(super(nil))inlib/aethyr/core/objects/exit.rb:25. The second nil argument was unnecessary and conflicted with test stub definitions.Add gary_steps.rb to Sorbet ignore - The test stub in
gary_steps.rbredefinesGameObject#initializewith fewer parameters than the real class. Added to Sorbet ignore list to prevent false conflicts.Verification
bundle exec standardrbexits with 0 (0 offenses)bundle exec srb tcreports "No errors! Great job."Impact
Once merged, all 10 open feature PRs should be rebased onto master to inherit these fixes. Each PR will then only need its branch-specific Sorbet and coverage fixes.
a6407469e4toa7efa635afa7efa635aftoccb96f836eccb96f836eto3a0a47e7983a0a47e798to1c56c5d2a71c56c5d2a7tob1f00ea9e0b1f00ea9e0to088af8239a088af8239atodcf2dc449d