Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scheduler and plannings management #3255

Merged
merged 17 commits into from
Dec 5, 2024

#3023 startupOrder not supported in Edge Device Model schema

72d53b0
Select commit
Loading
Failed to load commit list.
Merged

Scheduler and plannings management #3255

#3023 startupOrder not supported in Edge Device Model schema
72d53b0
Select commit
Loading
Failed to load commit list.
GitHub Advanced Security / CodeQL succeeded Dec 3, 2024 in 7s

11 new alerts

New alerts in code changed by this pull request

  • 5 warnings
  • 6 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 69 in src/IoTHub.Portal.Client/Dialogs/Planning/DeletePlanningDialog.razor

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Select Note

This foreach loop immediately
maps its iteration variable to another variable
- consider mapping the sequence explicitly using '.Select(...)'.

Check notice on line 87 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 108 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 123 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Generic catch clause Note

Generic catch clause.

Check notice on line 131 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.

Check notice on line 169 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.

Check notice on line 195 in src/IoTHub.Portal.Infrastructure/Jobs/SendPlanningCommandJob.cs

See this annotation in the file changed.

Code scanning / CodeQL

Missed opportunity to use Where Note

This foreach loop
implicitly filters its target sequence
- consider filtering the sequence explicitly using '.Where(...)'.

Check warning on line 566 in src/IoTHub.Portal.Tests.Unit/Client/Components/Planning/EditPlanningTest.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
deviceModels
is useless, since its value is never read.

Check warning on line 572 in src/IoTHub.Portal.Tests.Unit/Client/Components/Planning/EditPlanningTest.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
expectedPaginatedDeviceModels
is useless, since its value is never read.

Check warning on line 36 in src/IoTHub.Portal.Tests.Unit/Client/Dialogs/Layer/LinkDeviceLayerDialogTest.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
searchedDevices
is useless, since its value is never read.

Check warning on line 74 in src/IoTHub.Portal.Tests.Unit/Client/Dialogs/Layer/LinkDeviceLayerDialogTest.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
searchedDevices
is useless, since its value is never read.

Check warning on line 130 in src/IoTHub.Portal.Tests.Unit/Client/Dialogs/Layer/LinkDeviceLayerDialogTest.cs

See this annotation in the file changed.

Code scanning / CodeQL

Useless assignment to local variable Warning

This assignment to
searchedDevices
is useless, since its value is never read.