feat(plc): say when a native CODESYS project is not analysed (#165) #827

Merged
sharang merged 1 commits from feat/codesys-native-project-note into main 2026-11-04 09:13:00 +00:00
1 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 7cfea4dad2 feat(plc): say when a native CODESYS project is not analysed (#165)
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 3m37s
CI / Check (pull_request) Successful in 19m57s
A CODESYS project in its native format (the binary .project, also inside
an uploaded .projectarchive) yields no POUs, and the scan said nothing:
a target with only a native project read as clean control logic.

- plc::native_projects lists a .project that is not a PLCopen XML export
  and a readable .projectarchive (a corrupt one keeps its own
  ArchiveUnreadable note).
- The PLC scan records them as a skipped stage (plc_native_project,
  SkipCode::NativePlcProject, DE/EN) with the way out: export the POUs
  as PLCopen XML and add the export.
- A .project is parsed only when it looks like XML.
- The two CODESYS archive baselines of the nightly gain the stage; docs
  in guide/plc and guide/scanning.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-04 09:52:44 +01:00