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

Add helm chart #19

Merged
merged 15 commits into from
Apr 10, 2024
Merged

Add helm chart #19

merged 15 commits into from
Apr 10, 2024

Conversation

s-vitaliy
Copy link
Contributor

Part of #8

Scope

Implemented:

  • Add Helm chart for Arcane deployments

Additional changes:

  • Refactored appsettings.json: remove obsolete values
  • Remove Parallelism settings from configuration.

Checklist

  • GitHub issue exists for this change.
  • Unit tests added and they pass.
  • Line Coverage is at least 80%.
  • Review requested on latest commit.

@s-vitaliy s-vitaliy requested a review from a team as a code owner April 8, 2024 14:35
Copy link

github-actions bot commented Apr 8, 2024

Coverage after merging add-helm-chart into main will be

44.25%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs0%100%0%0%11, 17, 23, 30
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   BackgroundStreamOperatorService.cs0%0%0%0%22–31, 38–41, 47–51, 54–56, 56, 56–64
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceFactory.cs0%100%0%0%22–32, 36–50
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

github-actions bot commented Apr 8, 2024

Coverage after merging add-helm-chart into main will be

44.25%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs0%100%0%0%11, 17, 23, 30
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   BackgroundStreamOperatorService.cs0%0%0%0%22–31, 38–41, 47–51, 54–56, 56, 56–64
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceFactory.cs0%100%0%0%22–32, 36–50
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

github-actions bot commented Apr 8, 2024

Coverage after merging add-helm-chart into main will be

44.25%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs0%100%0%0%11, 17, 23, 30
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   BackgroundStreamOperatorService.cs0%0%0%0%22–31, 38–41, 47–51, 54–56, 56, 56–64
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceFactory.cs0%100%0%0%22–32, 36–50
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

github-actions bot commented Apr 8, 2024

Coverage after merging add-helm-chart into main will be

44.25%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs0%100%0%0%11, 17, 23, 30
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   BackgroundStreamOperatorService.cs0%0%0%0%22–31, 38–41, 47–51, 54–56, 56, 56–64
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceFactory.cs0%100%0%0%22–32, 36–50
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link
Contributor

@george-zubrienko george-zubrienko left a comment

Choose a reason for hiding this comment

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

Let's discuss values file design a bit. Also I think a values.example.yaml would be great

metadata:
name: streaming-job-templates.streaming.sneaksanddata.com
spec:
group: streaming.sneaksanddata.com
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm curious if we should use our domain here. I'll ask Jakob

shortNames:
- streamclass
- streamcls
- sc
Copy link
Contributor

Choose a reason for hiding this comment

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

scls?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, would be better.

- INITIALIZING
- READY
- FAILED
- STOPPED
Copy link
Contributor

Choose a reason for hiding this comment

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

Indent seems off?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the indentation is correct.

selector:
matchLabels:
{{- include "app.selectorLabels" $ | nindent 6 }}
# For now Arcane Operator supports only single replica
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the todo here? Leader election?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we can implement failover using Kubernetes leases: https://kubernetes.io/docs/concepts/architecture/leases/#custom-workload

# Fullname override
fullnameOverride: ""

# Service account configuration
serviceAccount:
Copy link
Contributor

Choose a reason for hiding this comment

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

Indent off here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, the indentation is correct.

# The name of the service account to use.
# If not set and create is true, a name is generated using the fullname template
name: ""

# Additional labels for the deployment and pods
additionalLabels: {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's do operator.labels, maintainer.labels?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The Operator and Maintainer work in the same process.

additionalLabels: {}

# Additional labels for the deployment and pods
additionalAnnotations: {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here :)

additionalAnnotations: {}

# Extra environment variables to set in the deployment
extraEnv: {}
Copy link
Contributor

Choose a reason for hiding this comment

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

Same here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Same here :)

Copy link

github-actions bot commented Apr 9, 2024

Coverage after merging add-helm-chart into main will be

44.25%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs0%100%0%0%11, 17, 23, 30
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   BackgroundStreamOperatorService.cs0%0%0%0%22–31, 38–41, 47–51, 54–56, 56, 56–64
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceFactory.cs0%100%0%0%22–32, 36–50
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

github-actions bot commented Apr 9, 2024

Coverage after merging add-helm-chart into main will be

54.26%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs25%100%25%25%11, 17, 23
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamClassOperatorService.cs70.30%40%75%73.49%107–110, 116, 121–122, 127–130, 74, 74, 77, 79, 84–86, 86, 86–91, 97–99
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceWorker.cs77.78%50%75%80%47–51, 56, 64
   StreamOperatorServiceWorkerFactory.cs100%100%100%100%
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100, 100, 100, 100, 100, 100, 100, 100, 100–103, 106–113, 23–30, 33–35, 35, 35, 35, 35, 35, 35, 35, 35–38, 41–50, 54–62, 62, 62, 62, 62, 62, 62, 62, 62–65, 68–77, 80–82, 82, 82, 82, 82, 82, 82, 82, 82–85, 88–95, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%18–25, 29–31, 31, 31, 31, 31, 31, 31, 31, 31–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

github-actions bot commented Apr 9, 2024

Coverage after merging add-helm-chart into main will be

53.33%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   JsonElementExtensions.cs0%100%0%0%20
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs20%100%20%20%11, 17, 23, 29
src/Models/StreamClass/Base
   IStreamClass.cs0%100%0%0%44–49
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamClassOperatorService.cs70.30%40%75%73.49%107–110, 116, 121–122, 127–130, 74, 74, 77, 79, 84–86, 86, 86–91, 97–99
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceWorker.cs77.78%50%75%80%47–51, 56, 64
   StreamOperatorServiceWorkerFactory.cs100%100%100%100%
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100–111, 22–29, 32–34, 34, 34–49, 53–55, 55, 55–76, 79–81, 81, 81–93, 96–98, 98, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%20–27, 31–33, 33, 33, 33, 33, 33, 33, 33, 33–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

Coverage after merging add-helm-chart into main will be

53.33%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   JsonElementExtensions.cs0%100%0%0%20
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs20%100%20%20%11, 17, 23, 29
src/Models/StreamClass/Base
   IStreamClass.cs0%100%0%0%44–49
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamClassOperatorService.cs70.30%40%75%73.49%107–110, 116, 121–122, 127–130, 74, 74, 77, 79, 84–86, 86, 86–91, 97–99
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceWorker.cs77.78%50%75%80%47–51, 56, 64
   StreamOperatorServiceWorkerFactory.cs100%100%100%100%
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100–111, 22–29, 32–34, 34, 34–49, 53–55, 55, 55–76, 79–81, 81, 81–93, 96–98, 98, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%20–27, 31–33, 33, 33, 33, 33, 33, 33, 33, 33–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

Copy link

Coverage after merging add-helm-chart into main will be

53.33%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   ArcaneEnvironment.cs0%100%0%0%10, 5, 8–9
src/Extensions
   JsonElementExtensions.cs0%100%0%0%20
   V1JobExtensions.cs85.58%75%90.91%90.16%40, 40, 45, 61–62, 62, 62, 62, 62–65, 83, 83
src/Models/StreamClass
   V1Beta1StreamClassSpec.cs20%100%20%20%11, 17, 23, 29
src/Models/StreamClass/Base
   IStreamClass.cs0%100%0%0%44–49
src/Models/StreamDefinitions/Base
   IStreamDefinition.cs90%83.33%100%100%28
src/Models/StreamStatuses/StreamStatus/V1Beta1
   V1Beta1StreamStatus.cs100%100%100%100%
src/Services
   StreamInteractionService.cs0%100%0%0%16–19, 23–27, 31–35, 39–45
src/Services/Maintenance
   HostedStreamingJobMaintenanceService.cs0%0%0%0%16–24, 27–29, 29, 29–36, 39–42
   StreamingJobMaintenanceService.cs89.84%82.14%100%91.40%104–107, 122, 131–134, 136, 62, 67, 98
src/Services/Operator
   HostedStreamOperatorService.cs82.14%100%66.67%82.61%39–42
   StreamClassOperatorService.cs70.30%40%75%73.49%107–110, 116, 121–122, 127–130, 74, 74, 77, 79, 84–86, 86, 86–91, 97–99
   StreamOperatorService.cs93.47%87.04%100%95.65%107–113, 118, 126, 140, 140, 146, 168
   StreamOperatorServiceWorker.cs77.78%50%75%80%47–51, 56, 64
   StreamOperatorServiceWorkerFactory.cs100%100%100%100%
src/Services/Repositories
   StreamDefinitionRepository.cs0%0%0%0%100–111, 22–29, 32–34, 34, 34–49, 53–55, 55, 55–76, 79–81, 81, 81–93, 96–98, 98, 98–99
   StreamingJobTemplateRepository.cs0%0%0%0%20–27, 31–33, 33, 33, 33, 33, 33, 33, 33, 33–36, 39–47
src/Services/Streams
   StreamingJobOperatorService.cs0%0%0%0%100–107, 110–113, 113, 113–115, 118–121, 121, 121–123, 126–129, 129, 129–131, 134–137, 140–146, 150–152, 152, 152, 152, 152–155, 155, 155, 155, 155–156, 158–161, 163–169, 173, 173, 173, 173, 173–179, 182–188, 191–200, 31–43, 46, 49–56, 59–60, 60, 60–63, 63, 63–70, 70, 70–90, 90, 90, 90, 90–93, 93, 93–99

@s-vitaliy s-vitaliy merged commit e768738 into main Apr 10, 2024
2 checks passed
@s-vitaliy s-vitaliy deleted the add-helm-chart branch April 10, 2024 08:07
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