feat add source st file path to twins#526
Merged
Merged
Conversation
Decorate every generated C# type (twin + POCO) with [AXSharp.Connector.SourceFileAttribute] naming its origin .st file, relative to project src, forward-slash normalized. Origin now travels with the compiled artifact via reflection. - Both Onliner and Plain builders; classes/FBs, structs, interfaces, and Onliner enums + named-value enums - Merged Configuration/TwinController skipped (no single source) - Dedup sample .st FQNs (namespace::type unique per file): the golden tree is validated by both per-file and whole-project tests, so duplicate FQNs leaked wrong source paths - Regenerate unit/consumer goldens; hand-fix Configurations.g.cs Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Add scripts/update-latest-deps.ps1 (latest-stable bumps with cake build-verify + bisection) and scripts/update-vulnerable-deps.ps1 (GitHub Advisory remediation), sharing scripts/_deps-common.ps1. AXSharp/Operon and net10.0-tied framework packages stay frozen. - Pin System.Security.Cryptography.Xml 10.0.6 and NuGet.Protocol 6.11.2 in a managed transitive-vuln ItemGroup - Refresh blazor npm lockfiles (picomatch advisory + name fields) - gitignore scripts/reports/ (transient timestamped run output) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…b.com/Inxton/axsharp into feat-add-source-st-file-path-to-twins
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SourceFileAttributeon transpiled types so generated twin/POCO/Onliner C# carries the originating.stsource file path.SourceFileAttribute+SourceFileAttributeHelperand wires emission through the Onliner and Plain source builders; regenerates all expected unit fixtures (ax/tia/ix) accordingly.update-latest-deps.ps1,update-vulnerable-deps.ps1, shared_deps-common.ps1; pins transitive vulnerabilities and bumps Inxton.Operon / NuGet packages.operon-variables.cssfor consistency.Commits
feat
chore
Other
Diff stat
Test plan
apax buildfrom a workspace succeeds (thesrc/apax/apax-lock.json+Directory.Packages.propschanges resolve)dotnet buildfrom solution root succeedsapax build; affected.stsample sequences transpile with the newSourceFileAttributeSourceFileAttributeTestspass and all regenerated expected fixtures matchGenerated by
/pr-description-update. Last regenerated: 2026-05-30.