Skip to content

fix(bpmn): rename error/escalation names to avoid invalid-identifier warnings - #25

Merged
emaarco merged 1 commit into
mainfrom
emaarco/fix-build-pipeline-issues
Aug 20, 2026
Merged

fix(bpmn): rename error/escalation names to avoid invalid-identifier warnings#25
emaarco merged 1 commit into
mainfrom
emaarco/fix-build-pipeline-issues

Conversation

@emaarco

@emaarco emaarco commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Renamed name="Application Invalid"name="Application_Invalid" and name="Contract Not Signed"name="Contract_Not_Signed" in bike-leasing.bpmn
  • Regenerated BikeLeasingProcessProcessApi.kt: constants are now APPLICATION_INVALID and CONTRACT_NOT_SIGNED (valid identifiers, no backtick escaping needed)

The bpmn-to-code generator uppercases the name attribute to produce Kotlin constant names. Names with spaces produced backtick-escaped identifiers (e.g. `APPLICATION INVALID`), which bpmnlint's invalid-identifier rule flagged as warnings in the build pipeline.

Test plan

  • npm --prefix tools run lint:bpmn — no invalid-identifier warnings
  • ./gradlew build — BUILD SUCCESSFUL

@emaarco
emaarco enabled auto-merge (squash) August 20, 2026 14:30
@emaarco emaarco self-assigned this Aug 20, 2026
@emaarco
emaarco merged commit 5105ff9 into main Aug 20, 2026
5 checks passed
@emaarco
emaarco deleted the emaarco/fix-build-pipeline-issues branch August 20, 2026 14:33
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