Skip to content

Upstream commit tracking, source-reference fixes, project hygiene#14

Merged
MateuszKubuszok merged 5 commits intomasterfrom
re-scale-bump
Apr 30, 2026
Merged

Upstream commit tracking, source-reference fixes, project hygiene#14
MateuszKubuszok merged 5 commits intomasterfrom
re-scale-bump

Conversation

@MateuszKubuszok
Copy link
Copy Markdown
Contributor

@MateuszKubuszok MateuszKubuszok commented Apr 29, 2026

PR: Upstream commit tracking, source-reference fixes, project hygiene

Summary

  • Upstream commit tracking: 1,355 ported files now carry an upstream-commit header field linking to the exact commit hash of the original source file they were ported from. This enables detecting when upstream libraries change.
  • Source-reference corrections: fixed ~140 files with incorrect, abbreviated, or missing source-reference headers (119 auto refs in AI extension, case mismatches, duplicate submodule prefixes, wrong controller paths).
  • Migration DB populated: added ~560 entries to migration.tsv for core and extension files that were missing, renamed column sge_path to port_path for re-scale 0.1.5 compatibility, and achieved zero sync-check mismatches.
  • Source-repos config: new .rescale/source-repos.yaml maps 18 source library entries to their git submodule paths, enabling re-scale fileinfo --then track-commit to resolve upstream commits across all submodules.
  • README: added ported-from version (e.g., LibGDX 1.14.0, gdx-ai 1.8.3) next to each library in the extensions table.
  • Third-party licenses: merged THIRD-PARTY-LICENSES and THIRD_PARTY_LICENSES.md into a single file covering upstream source, ported extensions, vendored native libraries, and build dependencies.
  • Issue triage: closed ISS-457 (physics coverage — all claimed gaps now implemented) and ISS-482 (AssetLoader tests — covered by existing test suites). Zero open issues remain.
  • Skip-policy exemptions: added exemptions for ~110 covenanted files with legitimate shortcut patterns (Java interop null-casts, trait contract throws, math approximation comments, documentation false positives). re-scale enforce shortcuts --covenanted now reports zero hits.
  • Scalafmt: enabled docstrings.style = SpaceAsterisk, docstrings.wrap = yes, docstrings.oneline = keep for future Scaladoc formatting.

Test plan

  • re-scale fileinfo --given . --then sync-check — zero mismatches
  • re-scale enforce shortcuts --covenanted — zero hits
  • re-scale fileinfo --given sge/src/main/scala/sge/Sge.scala --then "select *" — shows upstream-commit field
  • re-scale build compile --jvm --errors-only — no compilation regressions
  • CI passes on all platforms

@MateuszKubuszok MateuszKubuszok merged commit d61a023 into master Apr 30, 2026
31 checks passed
@MateuszKubuszok MateuszKubuszok deleted the re-scale-bump branch April 30, 2026 07:42
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.

1 participant