Skip to content

AddNodesTests added. - #273

Open
EdibSU wants to merge 12 commits into
mainfrom
migrating_solution_tests_to_dev_pack
Open

AddNodesTests added.#273
EdibSU wants to merge 12 commits into
mainfrom
migrating_solution_tests_to_dev_pack

Conversation

@EdibSU

@EdibSU EdibSU commented Aug 13, 2026

Copy link
Copy Markdown

"Added" resource manager simulation.
@github-actions

github-actions Bot commented Aug 13, 2026

Copy link
Copy Markdown

Skyline Quality Gate: ✅ Passed

Sub-gate Status Summary
Unit Tests All tests passed
SonarCloud Quality gate passed

SonarCloud: new-code dashboard for 273/merge

See the Actions run for full logs.

@EdibSU
EdibSU marked this pull request as ready for review August 13, 2026 12:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This pull request extends the simulated/in-memory Resource Manager behavior used by the unit-testing harness, and updates/expands the integration test suite to validate node graph, tentative job behavior, resource eligibility, and concurrency/quarantine scenarios against both real and simulated connections.

Changes:

  • Implemented in-memory handling for GetEligibleResourcesMessage plus additional reservation conflict/quarantine simulation in ResourceManagerStore.
  • Updated and added workflow/job/node graph tests to create their own data (instead of relying on pre-existing objects) and to cover new edge cases.
  • Expanded RST resource tests to run on simulated connections by leveraging the in-memory Resource Manager store.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
DevPack.UnitTesting/Stores/ResourceManagerStore.cs Adds eligibility resolution and enhances reservation update/quarantine/conflict simulation for the in-memory Resource Manager.
DevPack.Tests/Workflow/Workflows/BasicTests.cs Makes workflow read tests self-contained by creating a workflow before verifying read-by-id/name behavior.
DevPack.Tests/Workflow/Jobs/TentativeStateTests.cs Adds tentative-job update coverage, mandatory settings cases, and a failure case for past timings.
DevPack.Tests/Workflow/Jobs/NodeGraphTests.cs Adds additional node graph scenarios across job states (draft/tentative/confirmed/completed).
DevPack.Tests/Workflow/Jobs/JobDuplicateTests.cs Adds coverage ensuring job duplication does not copy error state.
DevPack.Tests/RST/Resources/ResourceConcurrencyTests.cs Adds a concurrency-downgrade scenario that validates quarantine behavior for overlapping tentative reservations.
DevPack.Tests/RST/Resources/EligibleResourceTests.cs Removes “real DMA only” skipping and adds more assignment/eligibility coverage for simulated connections.

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

Comment thread DevPack.Tests/Workflow/Jobs/TentativeStateTests.cs Outdated
Comment thread DevPack.Tests/Workflow/Jobs/NodeGraphTests.cs Outdated
@EdibSU

EdibSU commented Aug 13, 2026

Copy link
Copy Markdown
Author

AB#45388

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.

2 participants