Remove UdonToolkit dependency; upgrade CI/CD and VPM environment; add udonsharp-lint CI#14
Conversation
…tic-release v25, Actions v4) Agent-Logs-Url: https://github.com/VirtualAviationJapan/Virtual-CNS/sessions/9778e518-40c7-4f63-a428-b099814794b8 Co-authored-by: esnya <2088693+esnya@users.noreply.github.com>
…sory Agent-Logs-Url: https://github.com/VirtualAviationJapan/Virtual-CNS/sessions/9778e518-40c7-4f63-a428-b099814794b8 Co-authored-by: esnya <2088693+esnya@users.noreply.github.com>
Agent-Logs-Url: https://github.com/VirtualAviationJapan/Virtual-CNS/sessions/73a8b469-24ba-4df9-b970-c79f60988a6b Co-authored-by: esnya <2088693+esnya@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR removes the UdonToolkit dependency from the Virtual-CNS packages and upgrades the repository’s CI/release tooling and VPM/Unity/VRChat SDK package environment to current versions.
Changes:
- Removed
sh.orels.udontoolkitfrom package dependencies and stripped UdonToolkit-only attributes/usings from affected UdonSharp scripts. - Upgraded VPM/Unity targeting across packages (Unity
2019.4→2022.3, VRChat Worlds3.1.1→3.10.2, removed explicitcom.vrchat.udonsharp). - Updated GitHub Actions and semantic-release toolchain to newer major versions.
Reviewed changes
Copilot reviewed 18 out of 19 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| Packages/jp.virtualaviation.virtual-flight-data-bus/package.json | Removes UdonToolkit dep; bumps Unity/VRChat VPM versions; drops explicit UdonSharp VPM dep. |
| Packages/jp.virtualaviation.virtual-flight-data-bus.connector-sf/package.json | Bumps Unity/VRChat VPM versions; drops explicit UdonSharp VPM dep. |
| Packages/jp.virtualaviation.virtual-cns/package.json | Removes UdonToolkit dep; bumps Unity/VRChat VPM versions; drops explicit UdonSharp VPM dep. |
| Packages/jp.virtualaviation.virtual-cns/RadioTuner/Scripts/StandbyFrequencySwitcher.cs | Removes UdonToolkit editor hook attribute usage. |
| Packages/jp.virtualaviation.virtual-cns/RadioTuner/Scripts/RadioTunerDemultiplexer.cs | Removes UdonToolkit attributes (ListView, editor hook). |
| Packages/jp.virtualaviation.virtual-cns/RadioTuner/Scripts/RadioTuner.cs | Removes UdonToolkit attributes; replaces inspector buttons with ContextMenu. |
| Packages/jp.virtualaviation.virtual-cns/RadioTuner/Scripts/AudioSelector.cs | Removes UdonToolkit editor hook attribute usage. |
| Packages/jp.virtualaviation.virtual-cns/Navigation/Scripts/MarkerReceiver.cs | Removes UdonToolkit attributes (Popup, MaterialOf). |
| Packages/jp.virtualaviation.virtual-cns/Navigation/Scripts/MarkerBeacon.cs | Removes UdonToolkit using. |
| Packages/jp.virtualaviation.virtual-cns/Instruments/Scripts/CDIAnimationDriver.cs | Removes UdonToolkit Popup attributes. |
| Packages/jp.virtualaviation.virtual-cns/General/Scripts/USharpInjectAttribute.cs | Removes UdonToolkit dependency from inject attribute base. |
| Packages/jp.virtualaviation.virtual-cns/General/Scripts/Attirubtes/UdonSharpComponentInjectAttribute.cs | Removes UdonToolkit dependency from inject attribute base. |
| Packages/jp.virtualaviation.virtual-cns/General/Scripts/Attirubtes/ComponentInjectAttribute.cs | Removes UdonToolkit dependency from inject attribute base. |
| Packages/jp.virtualaviation.virtual-cns/Communication/Scripts/AirbandDatabase.cs | Removes UdonToolkit ListView attributes. |
| Packages/jp.virtualaviation.virtual-cns/ATIS/Scripts/ATISGenerator.cs | Removes UdonToolkit ListView/Popup attributes. |
| Packages/jp.virtualaviation.virtual-cns/AirTrafficControl/Scripts/ATCRadar.cs | Removes UdonToolkit attributes; replaces editor button with ContextMenu. |
| package.json | Upgrades semantic-release and plugin majors; drops explicit UdonSharp VPM dep. |
| .github/workflows/release.yml | Upgrades actions/checkout and actions/setup-node to v4. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
Agent-Logs-Url: https://github.com/VirtualAviationJapan/Virtual-CNS/sessions/c970cec7-4c15-46a9-9ac3-d7b912ec478c Co-authored-by: esnya <2088693+esnya@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 5 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
…terEditor blocks, sync package-lock.json Agent-Logs-Url: https://github.com/VirtualAviationJapan/Virtual-CNS/sessions/832adf64-b4a3-4e4f-aa8c-5ae96403282b Co-authored-by: esnya <2088693+esnya@users.noreply.github.com>
Done in commit
|
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 18 out of 19 changed files in this pull request and generated 7 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@copilot apply changes based on the comments in this thread |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 65ac3dc114
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
|
@codex review |
|
Codex Review: Didn't find any major issues. Hooray! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 9f88cacd93
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d3b87ce28a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c35a100dee
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| TARGET_COMMIT='HEAD' | ||
| mapfile -t CHECK_FILES < <(git diff-tree --no-commit-id --name-only --root -r "$TARGET_COMMIT" -- "${CHECK_PATHS[@]}") | ||
| if [ "${#CHECK_FILES[@]}" -gt 0 ]; then | ||
| git diff-tree --check --no-commit-id --root -r "$TARGET_COMMIT" -- "${CHECK_FILES[@]}" |
There was a problem hiding this comment.
Check whitespace across pushed commit range
In CI pushes where GITHUB_BASE_REF is unset, this fallback sets TARGET_COMMIT='HEAD' (and the sibling branch uses HEAD^2) and then calls git diff-tree --check for that single commit only. Per git diff-tree -h (<tree-ish> [<tree-ish>]), the one-argument form validates one commit, not the full pushed range, so a multi-commit push can still pass even if an earlier commit introduced trailing whitespace. Please diff/check against the push range (for example, before..after or merge-base...HEAD) so all pushed changes are covered.
Useful? React with 👍 / 👎.
Indexsetter against emptytuners; guardtoggledObjectsbounds; remove unusedusing TMPro;previousPositions[i]andpreviousTimes[i]inStart()using TMPro;andusing URC;Time.time - Mathf.EpsilonforpreviousTimes[i]; RadioTunerDemultiplexer.cs: clampIndexagainstMathf.Min(tuners.Length, standbyTuners.Length)Array.CreateInstance(valueType, count)instead ofGetConstructor(...).Invoke(...); RadioTunerDemultiplexer.cs: null-guardSelectedTuner/StandbyTunerand make all callers no-op when tuner is null.config/dotnet-tools.jsonpinningtktco.UdonSharpLinterv0.3.1 and.github/workflows/udonsharp-lint.ymlrunning the linter overPackages/on every push and pull request touching C# files — all 44 scripts currently pass with 0 errors/warnings