Skip to content

Follow up CodeRabbit remarks from computation API extraction #1040

Description

@coderabbitai

Summary

Track the CodeRabbit review remarks that are intentionally out of scope for pull request #1028. This pull request only moves code into dedicated controllers and services.

Requested by: @basseche

Required changes

  1. Delegate sensitivity-analysis factor-count handling from SensitivityAnalysisController to SensitivityAnalysisService. Move network UUID and variant ID resolution into the service.

  2. Add download response headers to the short-circuit CSV export endpoint.

  3. Preserve the documented response behavior for state-estimation parameter reset. Confirm the service return type and map the reset-with-user-profile result to HTTP 204 where applicable.

  4. Prevent local and remote load-flow result state divergence when transactional updates fail.

  5. Replace the PCC-min-specific parameter create/update flow with the shared AbstractComputationService.setComputationParameters flow, while preserving invalidation and notifications.

  6. Correct the voltage-init stop endpoint OpenAPI summary.

  7. Add the resultUuid header to the sensitivity-analysis failure-message test fixture, matching the production message contract.

Acceptance criteria

Source pull request

#1028

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions