Skip to content

Conversation

@jdetter
Copy link
Collaborator

@jdetter jdetter commented Nov 12, 2025

Description of Changes

This adds the new "skeleton" directory that we use for cargo release.

API and ABI breaking changes

None

Expected complexity level and risk

1 - this is just a release change

Testing

  • We used exactly this for the 1.8.0 and 1.9.0 release and we'll also be using it for the 1.10.0 release.

@jdetter jdetter force-pushed the jdetter/csharp-release-changes branch from 13dd2c8 to f514b08 Compare November 12, 2025 18:38
@github-actions
Copy link
Contributor

Some missing or dangling .meta found. Fix commits are needed.

Status File
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs/SpacetimeDB.BSATN.Codegen.dll.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1/SpacetimeDB.BSATN.Runtime.dll.meta

@jdetter jdetter force-pushed the jdetter/csharp-release-changes branch from f514b08 to 909a8fc Compare November 21, 2025 19:34
@github-actions
Copy link
Contributor

Some missing or dangling .meta found. Fix commits are needed.

Status File
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs/SpacetimeDB.BSATN.Codegen.dll.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1/SpacetimeDB.BSATN.Runtime.dll.meta

@jdetter jdetter force-pushed the jdetter/csharp-release-changes branch from 2bebcd4 to 0e8c87a Compare November 26, 2025 04:52
@github-actions
Copy link
Contributor

Some missing or dangling .meta found. Fix commits are needed.

Status File
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs/SpacetimeDB.BSATN.Codegen.dll.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1/SpacetimeDB.BSATN.Runtime.dll.meta

@github-actions
Copy link
Contributor

Some missing or dangling .meta found. Fix commits are needed.

Status File
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/analyzers/dotnet/cs/SpacetimeDB.BSATN.Codegen.dll.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1.meta
Not removed release~/spacetimedb.bsatn.runtime/unversioned/lib/netstandard2.1/SpacetimeDB.BSATN.Runtime.dll.meta

@jdetter jdetter marked this pull request as ready for review November 26, 2025 18:47
@jdetter jdetter requested a review from bfops November 26, 2025 18:47
…tignore

Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Signed-off-by: John Detter <4099508+jdetter@users.noreply.github.com>
Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you also remove the files from sdks/csharp/packages? They are stale since we're no longer updating them, and then I believe many of these files will show up as moved.

Also, I think we should probably gitignore them, so that devs iterating locally on sdks/csharp will not constantly have dirty working directories.

logo.png
spacetimedb.bsatn.runtime.*.nupkg*
spacetimedb.bsatn.runtime.nuspec
*.xml
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as an aside.. to we expect any of these files to actually appear down here?

Copy link
Collaborator Author

@jdetter jdetter Nov 26, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

they do appear due to dotnet restore. Essentially these files end up in the packages/spacetimedb.bsatn.runtime/vX.Y.Z directory. During the csharp release we copy the unversioned directory on top of the directory that contains these files.

Right now when we do the C# release we are just doing a git add on the packages directory, we could manually git add each individual file instead but I think it's possible that might be more fragile? I'm not sure, I'm not highly invested into either approach here.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah that makes sense. Can we add something like this as a comment?

(that said, I'm surprised that things like LICENSE, logo.png, and README.md show up.. but it also doesn't matter too much)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the LICENSE, logo.png and README.md files show up because of how dotnet pack works, for some reason those files are included when packing 🤷 .

jdetter and others added 3 commits November 26, 2025 13:23
Co-authored-by: Zeke Foppa <196249+bfops@users.noreply.github.com>
Signed-off-by: John Detter <4099508+jdetter@users.noreply.github.com>
…ckworklabs/SpacetimeDB into jdetter/csharp-release-changes
@jdetter
Copy link
Collaborator Author

jdetter commented Nov 26, 2025

@bfops I removed everything under sdks/csharp/packages/* but I left the packages directory itself so that the .meta file can be maintained there. I could move the packages directory under release~ so that it's release~/packages/spacetimedb.bsatn... what do you think?

@github-actions
Copy link
Contributor

Some missing or dangling .meta found. Fix commits are needed.

Status File
Not removed packages.meta

@bfops bfops added the release-any To be landed in any release window label Dec 1, 2025
# Description of Changes

<!-- Please describe your change, mention any related tickets, and so on
here. -->

Updated package sizes from a failed release dry-run:
https://github.com/clockworklabs/SpacetimeDBPrivate/actions/runs/20045893743/job/57491806595

# API and ABI breaking changes

<!-- If this is an API or ABI breaking change, please apply the
corresponding GitHub label. -->

None

# Expected complexity level and risk

1 - this is just a release fix

<!--
How complicated do you think these changes are? Grade on a scale from 1
to 5,
where 1 is a trivial change, and 5 is a deep-reaching and complex
change.

This complexity rating applies not only to the complexity apparent in
the diff,
but also to its interactions with existing and future code.

If you answered more than a 2, explain what is complex about the PR,
and what other components it interacts with in potentially concerning
ways. -->

# Testing

<!-- Describe any testing you've done, and any testing you'd like your
reviewers to do,
so that you're confident that all the changes work as expected! -->

I have not tested this, it is a trivial change.
"name": "sdk esm min (uncompressed)",
"path": "dist/min/sdk/index.browser.mjs",
"limit": "14 kB"
"limit": "30 kB"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated? maybe a merge of master will fix this?

Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM, minus my two comments

Copy link
Collaborator

@bfops bfops left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, one other question - have you thought about the flow for devs making modifications to the Unity SDK? Does it still work smoothly?

My assumption would be that they end up with a version directly that keeps wanting to be added to git, so maybe we should gitignore any versioned directories, and temporarily remove that .gitignore file when we're doing the release?

I do want to make sure we don't make a bad flow for devs doing Unity SDK things, even if we don't do all of it in this PR. We may want an extra README and/or script to help facilitate the meta file copying.

Signed-off-by: John Detter <4099508+jdetter@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release-any To be landed in any release window

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants