Lotta Supply

Development Log

Back to all entries

Enhanced Reporting and Integration Stability

We've significantly improved the upstream reporting experience by introducing shareable URLs. Users can now share specific report configurations, including customer and year selections, ensuring that refreshed or shared links accurately restore the viewed report.

In parallel, the core calculation engine has been enhanced with the addition of a new transport loader for DEFRA condensed-set emission factors. This update also includes a laden percentage calculation and an exact-key resolver, providing more comprehensive and accurate supply chain insights. These additions support more detailed sustainability analysis.

Furthermore, we've made substantial improvements to the stability and reliability of our integration testing process. The integration runner is now more resilient, allowing tests to continue even if some fail, and features a configurable timeout to prevent failures due to temporary performance dips. This ensures a more robust development cycle and quicker identification of critical issues. Additionally, authentication-related types have been refined for better security and type safety.

View source activity

Commits (2)

  • fix(api): make integration runner timeout configurable, continue past failures (#276)
  • fix(api): type Better Auth organization exports (#273)

Pull Requests (5)

  • #275: feat(calc-core): DEFRA condensed-set transport loader + laden_pct + exact-key resolver (LOT-191)
  • #276: fix(api): make integration runner timeout configurable, continue past failures
  • #274: feat(web): shareable upstream report URL (LOT-190)
  • #273: fix(api): type Better Auth organization exports
  • #272: fix(upstream): report card titles as h2 for document outline