[quickfix] Re-enable gdlint disabled rules + split autoload singletons #4
Labels
No labels
blocked:needs-attention
blocked:needs-decision
blocked:needs-decompose
blocked:needs-design
blocked:needs-triage
blocked:unclassified
bug
documentation
enhancement
gsd-spec
in-progress
needs-decompose
priority:high
priority:low
priority:medium
quickfix
test
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/veilwalkers#4
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Four gdlint rules are currently disabled in
.gdlintrcto keep the preflight gate green. Disabling happened at commit2696977. The tech-debt should be addressed properly so the rules can come back.What to do
1.
class-definitions-order(16 violations)Same fix as cybertactics — reorder globals to canonical order. Run
gdlinton each file inscripts/,scenes/,tests/to track progress. Affected (sample):scripts/core/entity_base.gd,scripts/autoload/network_manager.gd,tests/e2e.gd.2.
max-line-length(still some stragglers; 3 in net/protocol.gd, 1 in autoload/game_state.gd)Long regex patterns and type-shape dict comments exceed 100. Wrap them manually.
3.
max-public-methods(1 hit,scripts/autoload/network_manager.gd)NetworkManager has >20 public methods. Split into focused surfaces (e.g.
network_session.gd,network_message_router.gd,network_state.gd); keep NetworkManager as the public-facing facade.4.
unused-argument(2 hits)scripts/core/entity_base.gd:81(paramfrom_peer) andscripts/autoload/network_manager.gd:375(paramscript_src) are signal-handler shim signatures. Prefix with_per Godot convention:_from_peer,_script_src.Acceptance
After all four fixes,
.gdlintrconly contains project-specific carve-outs that are documented one-per-line, andbash .gsd/gates/lint.shexits 0.Labels
bug, quickfix, triage-approved
Closed: implementation already shipped on
mainas816c834— fix: re-enable all gdlint rules per Mark/veilwalkers#4. Acceptance verified locally:.gdlintrchas emptydisable: [];bash .gsd/gates/lint.shexits 0;bash .gsd/gates/verify.shexits 0. NetworkManager split landed (facade 23 lines + NetSession 218 lines).