Repository navigation
refactor(manifest): delete socket-cli's build-tool scripts and facts assembly - #1727
Jeppe Fredsgaard Blaabjerg (jfblaa) wants to merge 5 commits into
Conversation
abac071 to
9ba71a7
Compare
9ba71a7 to
c830b3c
Compare
PR SummaryMedium Risk Overview Build and release no longer compile or copy those assets:
Reviewed by Cursor Bugbot for commit c830b3c. Configure here. |
c830b3c to
3123f22
Compare
3123f22 to
f6605a6
Compare
f6605a6 to
5e83c5e
Compare
5e83c5e to
4a70f92
Compare
00fbbb2 to
e8cdc9b
Compare
50cd280 to
eb06eb8
Compare
eb06eb8 to
5002db2
Compare
Martin Torp (mtorp)
left a comment
There was a problem hiding this comment.
One release metadata issue from the build-tool cleanup. The published native manifest still needs to tell users when the host .NET SDK is required.
| 'A .NET SDK compatible with the selected project; the Socket facts helper DLL is embedded, but the SDK/runtime is user-provided.', | ||
| }, | ||
| ], | ||
| runtimeRequirements: [], |
There was a problem hiding this comment.
POLA-03 An empty list drops a prerequisite from the published native artifact manifest. On targets that provide manifest dotnet through embedded Coana, the command still runs the host’s dotnet and needs an SDK compatible with the project. A CI runner provisioned from this metadata can now be missing that SDK.
Could we keep the .NET facts capability and host SDK requirement on targets that ship the facts tools? The entry can describe --bin and PATH as the ways to find the executable. Native smoke test
Coana generates Socket facts now, so socket-cli's own machinery for it goes: the Gradle init scripts, the sbt plugins, the Maven extension, the .NET tool, the records parser, the facts assembler and sidecar, the exclude-path glob compiler, the resolution report renderer, the compat suites, and the steps that built and bundled them for npm, the package matrix, CI and the standalone build.
Code scanning still lists C# among the repository's languages, and its analysis fails when no C# source file exists. Delete the placeholder once C# is removed from those languages.
CodeQL's C# extractor skips hidden directories, so the placeholder under .github left its analysis with no source files. With no C# left, C# comes out of the code scanning languages instead.
The standalone build's manifest dropped `manifest-dotnet-facts` and its host .NET SDK requirement with socket-cli's own facts helper. Coana's facts tool generates .NET facts instead and runs on the host's `dotnet`, so a build that embeds Coana lists the capability again, with the SDK it needs: 6 or later, the one the project's directory selects.
The lock kept concurrent standalone builds from building socket-cli's .NET facts helper in the checkout at the same time. The build no longer builds that helper, and the output directory keeps its own lock.
5002db2 to
9041f3a
Compare
Heads up, reviewer
Removing build scripts from Socket CLI.
LLM Description written by Claude Code:claude-opus-5-5
Deletion only: Coana generates Socket facts as of #1726, so socket-cli's Gradle init scripts, sbt plugins, Maven extension and .NET tool go, with the records parser, facts assembler, their compat suites, fixtures, CI jobs and packaging steps. Users see no change beyond #1726's, apart from a smaller package.
Merges with the stack. The Coana release it needs is pinned on v1.x since #1762.
This removes the repository's last C#. Code scanning (default setup) still analyses C# and fails without a C# source file, so
.github/codeql/Placeholder.csstands in until C# is removed from the repository's code scanning languages; delete it then.Stack
Changelog
No entry: internal.
🤖 Generated with Claude Code