Skip to content
CCPEDIAby Unity Nodes
Declined#368 Pull request

Proposal: Daml Upgrade Compatibility Linter

Opened 22-05-2026 by ayushsingh82, last activity 4mo ago

  1. Incoming0 days22-05-2026
  2. Declinedsince 22-05-2026
Funding request
450,000 CC
Champion named in file
need Champion
Discussion
2 messages
1 person

Development Fund Proposal Submission

Proposal file: /proposals/daml-upgrade-compatibility-linter.md


Summary

An open-source static analysis tool that compares two compiled Daml package versions and reports whether the new version is a safe smart contract upgrade of the old one, pointing to the exact template, field, or choice and the source location of any breaking change. It runs locally and in CI so teams catch upgrade problems before they deploy, and is released under Apache-2.0.


Checklist

  • Proposal file added under /proposals/
  • Milestones and funding amounts defined
  • Acceptance criteria included
  • Alignment with Canton priorities described

Notes for Reviewers

This follows the design of the already approved Daml Package Analyzer (#130): it reads the compiled artifact and reports source-level findings, but it compares two versions of one package for upgrade safety rather than analyzing cross-package authority. Suggested SIG label: daml-tooling. Seeking a champion from the Daml Language & Developer Tooling SIG. cc @hrischuk-da

Milestones 3

  1. Core comparison engine6 weeks from start
  2. Full rule coverage and CI mode12 weeks from start
  3. Dependency-tree analysis and adoption18 weeks from start