Skip to content

AQI-11668: add ScheduledActivity model used for storing in actor state - #144

Merged
mathitharmalingam-aqi merged 9 commits into
mainfrom
feature/AQI-11668
Sep 30, 2026
Merged

mathitharmalingam-aqi merged 9 commits into
mainfrom
feature/AQI-11668

Conversation

@mathitharmalingam-aqi

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Clean builds omit generated sources, while CI unnecessarily executes generation twice.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 Medium severity

Open (1)
What changed in this PR

Adds support for generating and packaging the new scheduled activity protobuf models.

Changes:

  • Updates package version metadata.
  • Integrates protobuf generation into compilation and improves script error handling.
  • Documents the new models.
File Description
ONE.Models.CSharp.csproj Updates versioning and adds generation target.
BuildSubmodule.bat Improves path and failure handling.
CHANGELOG.md Records scheduled activity models.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +30 to +33
<Target
Name="BuildProtocolBufferSubmodule"
BeforeTargets="CoreCompile"
Condition="'$(BuildingProject)' == 'true'">

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The submodule update is missing, and clean builds will not include sources generated after project evaluation.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 High severity · 1 Medium severity

Open (3)

Comment thread CHANGELOG.md
Comment thread src/ONE.Models.CSharp/ONE.Models.CSharp.csproj Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

Release versioning, undocumented protocol additions, and incomplete generator failure propagation could produce an incorrect package.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
Resolved since last review (2)
Previously missed (1)

In code that hasn't changed since last review

Medium severity Clear VersionSuffix for release version consistency

src/​ONE.Models.CSharp/​ONE.Models.CSharp.csproj:8

The release workflow builds this project without overriding VersionSuffix, so merging this branch will publish 7.35.0-AQI-11668-1 from build-main.yml, while the changelog declares the release as 7.35.0. The project comment also requires the suffix to be removed for release packages; leave it empty so the main-branch publication and release notes agree.

@rem Generate all the C# classes from proto files
cd ..\ONE.Interfaces.ProtocolBuffers\generators
Powershell.exe -executionpolicy Bypass -File gen_all.ps1
Powershell.exe -executionpolicy Bypass -File gen_all.ps1 || exit /b 1
Comment thread CHANGELOG.md

### Added

- Added `ScheduledActivity` and `ScheduledActivities` protos in `Common\Activity` proto.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The configured suffix would publish a prerelease package despite the changelog declaring version 7.35.0.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 High severity · 1 Medium severity · 1 Low severity

Open (4)

Comment thread src/ONE.Models.CSharp/ONE.Models.CSharp.csproj Outdated
AQI-DanG
AQI-DanG previously approved these changes Sep 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

All reviewed changes are consistent, and no unresolved issues were identified.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
Resolved since last review (1)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The 7.35.0 changelog date incorrectly precedes the 7.34.0 release date.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity · 2 Low severity

Open (4)

Comment thread CHANGELOG.md Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🔵 Needs a closer look

The 7.35.0 changelog date conflicts with the established release chronology.

Review effort: Balanced
Findings: 1 High severity · 1 Medium severity · 1 Low severity

Open (3)
Resolved since last review (1)

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The MSBuild target makes non-Windows builds fail by unconditionally invoking a Windows batch command.

Get a fresh assessment by requesting another Copilot review.

Review effort: Balanced
Findings: 2 High severity · 1 Medium severity · 1 Low severity

Open (4)

BeforeTargets="CoreCompile"
Condition="'$(BuildingProject)' == 'true'">
<Exec
Command="call &quot;$(MSBuildProjectDirectory)\BuildSubmodule.bat&quot;"

@mathitharmalingam-aqi mathitharmalingam-aqi Sep 25, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The batch file usage is not new - it was part of the github action.

@mathitharmalingam-aqi
mathitharmalingam-aqi marked this pull request as ready for review September 29, 2026 21:18
@mathitharmalingam-aqi
mathitharmalingam-aqi requested a review from a team September 29, 2026 21:18
@mathitharmalingam-aqi
mathitharmalingam-aqi merged commit e56932b into main Sep 30, 2026
1 check passed
@mathitharmalingam-aqi
mathitharmalingam-aqi deleted the feature/AQI-11668 branch September 30, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants