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

feat(j-s): Block create subpoena on staging and production #16297

Merged
merged 5 commits into from
Oct 8, 2024

Conversation

unakb
Copy link
Member

@unakb unakb commented Oct 7, 2024

What

Block calling the police API for subpoena creation on staging and production.

Why

Because we don't want to send these requests in those environments yet. We want to be able to control when this starts working, espeically on production, but want to be able to test it on dev so it has been deployed.
Also to stop spamming our logs with pointless errors.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • Formatting passes locally with my changes
  • I have rebased against main before asking for a review

Summary by CodeRabbit

  • New Features

    • Added support for the "CREATE_SUBPOENA" API integration in both staging and production environments.
    • Introduced a configuration property to check the availability of the "CREATE_SUBPOENA" API.
  • Bug Fixes

    • Enhanced error handling in the subpoena delivery process to improve reporting and response consistency.
  • Chores

    • Updated configuration files to reflect new resource limits and scaling metrics for improved performance and reliability across services.

Copy link
Contributor

coderabbitai bot commented Oct 7, 2024

Walkthrough

The changes in this pull request involve updates to the BLOCKED_API_INTEGRATION configuration for the CREATE_SUBPOENA API in both staging and production environments. The police.config.ts file adds a new property to track the availability of this API. Additionally, the NotImplementedException is introduced to handle cases where the API is not available in the createSubpoena method of the PoliceService. The SubpoenaService also incorporates this exception for error handling during subpoena delivery. Configuration files for both production and staging environments are updated to reflect these changes.

Changes

File Path Change Summary
apps/judicial-system/backend/infra/judicial-system-backend.ts Updated BLOCKED_API_INTEGRATION for staging and prod to include CREATE_SUBPOENA.
apps/judicial-system/backend/src/app/modules/police/police.config.ts Added policeCreateSubpoenaApiAvailable field to policeModuleConfig to track CREATE_SUBPOENA availability.
apps/judicial-system/backend/src/app/modules/police/police.service.ts Introduced NotImplementedException for createSubpoena method; updated exception handling logic.
apps/judicial-system/backend/src/app/modules/subpoena/subpoena.service.ts Added NotImplementedException for error handling in deliverSubpoenaToPolice method.
charts/judicial-system/values.prod.yaml Updated BLOCKED_API_INTEGRATION, scaling metrics, resource limits, and added new environment variables.
charts/judicial-system/values.staging.yaml Updated BLOCKED_API_INTEGRATION to include CREATE_SUBPOENA for the judicial-system-backend service.

Possibly related PRs

Suggested labels

automerge


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@unakb unakb marked this pull request as ready for review October 7, 2024 14:10
@unakb unakb requested review from a team as code owners October 7, 2024 14:10
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 0

🧹 Outside diff range and nitpick comments (2)
apps/judicial-system/backend/src/app/modules/subpoena/subpoena.service.ts (1)

183-192: Approve with suggestions: Improve error handling and return values

The new error handling logic aligns with the PR objectives. However, consider the following improvements:

  1. Returning { delivered: true } for NotImplementedException might be misleading. Consider introducing a new status to indicate that the operation was blocked intentionally.

  2. Add environment-specific checks to explicitly block subpoena creation in staging and production environments.

Here's a suggested improvement:

import { ConfigService } from '@nestjs/config';

// In the constructor
constructor(
  // ... other dependencies
  private configService: ConfigService,
) {}

// In the deliverSubpoenaToPolice method
async deliverSubpoenaToPolice(
  // ... existing parameters
): Promise<DeliverResponse> {
  const environment = this.configService.get<string>('NODE_ENV');
  
  if (environment === 'staging' || environment === 'production') {
    this.logger.info('Subpoena creation blocked in staging/production environment');
    return { delivered: false, blocked: true };
  }

  try {
    // ... existing try block
  } catch (error) {
    if (error instanceof NotImplementedException) {
      this.logger.info('Subpoena creation not implemented in this environment', error);
      return { delivered: false, notImplemented: true };
    } else {
      this.logger.error('Error delivering subpoena to police', error);
      return { delivered: false, error: true };
    }
  }
}

This approach provides more granular status information and explicitly blocks subpoena creation in staging and production environments.

apps/judicial-system/backend/src/app/modules/police/police.service.ts (1)

620-624: LGTM! Consider enhancing the error message.

The addition of this check aligns well with the PR objectives to block subpoena creation in certain environments. The use of a configuration flag (policeCreateSubpoenaApiAvailable) provides flexibility in controlling this feature across different environments.

Consider enhancing the error message to include more context:

-        'Police create subpoena API not available in current environment',
+        `Police create subpoena API not available in ${process.env.NODE_ENV} environment`,

This change would provide more specific information about which environment the API is unavailable in, potentially aiding in debugging and clarity.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between b1623cc and 207b61c.

📒 Files selected for processing (6)
  • apps/judicial-system/backend/infra/judicial-system-backend.ts (1 hunks)
  • apps/judicial-system/backend/src/app/modules/police/police.config.ts (1 hunks)
  • apps/judicial-system/backend/src/app/modules/police/police.service.ts (2 hunks)
  • apps/judicial-system/backend/src/app/modules/subpoena/subpoena.service.ts (2 hunks)
  • charts/judicial-system/values.prod.yaml (1 hunks)
  • charts/judicial-system/values.staging.yaml (1 hunks)
🧰 Additional context used
📓 Path-based instructions (4)
apps/judicial-system/backend/infra/judicial-system-backend.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/judicial-system/backend/src/app/modules/police/police.config.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/judicial-system/backend/src/app/modules/police/police.service.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
apps/judicial-system/backend/src/app/modules/subpoena/subpoena.service.ts (1)

Pattern apps/**/*: "Confirm that the code adheres to the following:

  • NextJS best practices, including file structure, API routes, and static generation methods.
  • Efficient state management and server-side rendering techniques.
  • Optimal use of TypeScript for component and utility type safety."
🔇 Additional comments (10)
apps/judicial-system/backend/src/app/modules/police/police.config.ts (1)

17-21: Implementation looks good and aligns with PR objectives.

The addition of policeCreateSubpoenaApiAvailable property is well-implemented and consistent with the existing pattern in the file. It correctly checks the BLOCKED_API_INTEGRATION environment variable to determine if the CREATE_SUBPOENA API should be blocked, which aligns with the PR objective of preventing subpoena creation requests in staging and production environments.

A few observations:

  1. The implementation follows NextJS best practices for backend configuration.
  2. It maintains type safety by using TypeScript.
  3. The logic is consistent with the existing policeCaseApiAvailable property.

To ensure this change is properly utilized, let's verify its usage in the codebase:

✅ Verification successful

Verification Successful

The policeCreateSubpoenaApiAvailable property is correctly utilized in police.service.ts, and all references to CREATE_SUBPOENA are appropriately managed through environment configurations. No issues were found with the implementation.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage of policeCreateSubpoenaApiAvailable in the codebase

# Test: Search for usage of policeCreateSubpoenaApiAvailable
rg --type typescript -A 5 'policeCreateSubpoenaApiAvailable'

# Test: Check for any hardcoded references to CREATE_SUBPOENA that might need updating
rg --type typescript 'CREATE_SUBPOENA'

Length of output: 169


Script:

#!/bin/bash
# Description: Verify the usage of policeCreateSubpoenaApiAvailable in the codebase

# Test: Search for usage of policeCreateSubpoenaApiAvailable
rg --type ts -A 5 'policeCreateSubpoenaApiAvailable'

# Test: Check for any hardcoded references to CREATE_SUBPOENA that might need updating
rg --type ts 'CREATE_SUBPOENA'

Length of output: 1583

apps/judicial-system/backend/infra/judicial-system-backend.ts (1)

43-44: LGTM! Verify the impact on subpoena creation.

The changes correctly implement the blocking of the CREATE_SUBPOENA API integration in both staging and production environments, aligning with the PR objectives. This implementation should effectively prevent subpoena creation requests from being sent in these environments.

To ensure the changes have the intended effect, please verify that subpoena creation is indeed blocked in the staging and production environments. Consider adding a test or manual verification step to confirm this behavior.

apps/judicial-system/backend/src/app/modules/subpoena/subpoena.service.ts (1)

11-11: LGTM: Import of NotImplementedException

The addition of NotImplementedException is in line with the PR objectives and will be used to handle cases where the subpoena creation API is not available in certain environments.

charts/judicial-system/values.staging.yaml (1)

108-108: LGTM! Verify the feature in staging.

The addition of CREATE_SUBPOENA to the BLOCKED_API_INTEGRATION environment variable aligns with the PR objective to block subpoena creation API calls in the staging environment. This change effectively prevents the system from creating subpoenas in staging, as intended.

To ensure the feature is working as expected, please verify in the staging environment that attempts to create subpoenas are indeed blocked. You can run the following command to check the environment variable:

The output should include CREATE_SUBPOENA along with COURT and POLICE_CASE.

charts/judicial-system/values.prod.yaml (6)

Line range hint 237-237: Verify the need for increased CPU request

The CPU request for judicial-system-web has been significantly increased from 15m to 100m. This change will affect resource allocation and potentially impact pod scheduling. Please confirm:

  1. The reason for this substantial increase in CPU request.
  2. Whether this change has been tested in a staging environment to ensure it doesn't cause any issues with pod scheduling or resource contention.
  3. If this increase is based on observed resource usage patterns.

To help verify the appropriateness of this change, you can run the following script to check the current CPU usage:

#!/bin/bash
# This script assumes you have kubectl configured to access your cluster
# and the necessary permissions to view resource usage

# Get the current CPU usage for the judicial-system-web pods
kubectl top pods -n judicial-system -l app=judicial-system-web

Line range hint 508-508: Clarify the purpose of the new TIME_TO_LIVE_MINUTES variable

A new environment variable TIME_TO_LIVE_MINUTES: '30' has been added to the judicial-system-scheduler configuration. Please provide information on:

  1. The specific purpose of this variable and what it controls.
  2. Any potential impacts on data retention or task execution.
  3. Whether this value has been tested and verified to be appropriate for the production environment.

To help understand the usage of this new variable, you can run the following script:

#!/bin/bash
# Search for usage of TIME_TO_LIVE_MINUTES in the codebase
rg "TIME_TO_LIVE_MINUTES" --type ts --type js

Line range hint 314-316: Verify audit trail configuration changes

Audit trail configuration has been added or updated for multiple services (judicial-system-digital-mailbox-api, judicial-system-robot-api). The changes include:

  • AUDIT_TRAIL_GROUP_NAME: 'k8s/judicial-system/audit-log'
  • AUDIT_TRAIL_REGION: 'eu-west-1'
  • AUDIT_TRAIL_USE_GENERIC_LOGGER: 'false'

Please confirm:

  1. The purpose of these audit trail changes and their expected impact on logging and monitoring.
  2. Whether these settings are consistent across all services that require audit logging.
  3. If any additional configuration or infrastructure changes are needed to support these audit trail updates.

To help verify the consistency of audit trail configuration across services, you can run the following script:

#!/bin/bash
# Search for audit trail configuration in the values file
grep -n "AUDIT_TRAIL" charts/judicial-system/values.prod.yaml

Also applies to: 602-604


Line range hint 242-244: Review standardization of replica count settings

The replica count settings have been standardized across multiple services (judicial-system-backend, judicial-system-digital-mailbox-api, judicial-system-message-handler, judicial-system-robot-api, judicial-system-web, judicial-system-xrd-api) to:

  • default: 3
  • max: 10
  • min: 3

Please confirm:

  1. The rationale behind this standardization.
  2. Whether these settings are appropriate for each individual service based on their specific load patterns and resource requirements.
  3. If these changes have been tested in a staging environment to ensure they don't negatively impact service availability or performance.

To help verify the current deployment status and HPA configurations, you can run the following script:

#!/bin/bash
# This script assumes you have kubectl configured to access your cluster
# and the necessary permissions to view deployments and HPAs

# Get the current deployment and HPA status for the affected services
services=(
  "judicial-system-backend"
  "judicial-system-digital-mailbox-api"
  "judicial-system-message-handler"
  "judicial-system-robot-api"
  "judicial-system-web"
  "judicial-system-xrd-api"
)

for service in "${services[@]}"; do
  echo "Checking deployment for $service"
  kubectl get deployment -n judicial-system $service
  echo "Checking HPA for $service"
  kubectl get hpa -n judicial-system $service
  echo "---"
done

Also applies to: 336-338, 430-432, 524-526, 618-620, 712-714


108-108: Confirm the impact of blocking subpoena creation

The new environment variable BLOCKED_API_INTEGRATION: 'CREATE_SUBPOENA' aligns with the PR objective to block subpoena creation in production. However, ensure that this change doesn't negatively impact any dependent systems or user workflows.

To verify the impact, you can run the following script:

✅ Verification successful

Impact of Blocking CREATE_SUBPOENA Confirmed

The environment variable BLOCKED_API_INTEGRATION: 'CREATE_SUBPOENA' is defined in both staging and production configurations. Its usage in police.config.ts ensures that subpoena creation is appropriately blocked without affecting other functionalities.

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Search for any code that might be affected by the blocked CREATE_SUBPOENA integration
rg -i "CREATE_SUBPOENA" --type ts --type js

Length of output: 359


108-108: Review resource allocation and scaling changes

The following changes have been made to the judicial-system-backend configuration:

  1. CPU limit increased from 350m to 400m
  2. Memory limit increased from 512Mi to 1024Mi
  3. nginxRequestsIrate in HPA scaling increased from 5 to 8

These changes will affect the performance and scaling behavior of the service. Please ensure that:

  1. The new resource limits are sufficient for the expected load.
  2. The increased nginxRequestsIrate value is appropriate for the service's traffic patterns.
  3. These changes have been tested in a staging environment to verify their impact.

To help verify these changes, you can run the following script to check the current resource usage:

Also applies to: 237-240, 242-245

@datadog-island-is
Copy link

datadog-island-is bot commented Oct 7, 2024

Datadog Report

All test runs de5a70f 🔗

79 Total Test Services: 0 Failed, 77 Passed
🔻 Test Sessions change in coverage: 5 decreased, 3 increased, 192 no change

Test Services
This report shows up to 10 services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Code Coverage Change Test Service View
air-discount-scheme-backend 0 0 0 81 0 31.47s N/A Link
air-discount-scheme-web 0 0 0 2 0 9.02s 1 no change Link
api 0 0 0 4 0 2.76s N/A Link
api-domains-air-discount-scheme 0 0 0 6 0 18.55s N/A Link
api-domains-assets 0 0 0 3 0 11.61s 1 no change Link
api-domains-auth-admin 0 0 0 18 0 15.44s N/A Link
api-domains-communications 0 0 0 5 0 33.59s 1 no change Link
api-domains-criminal-record 0 0 0 5 0 10.59s 1 no change Link
api-domains-driving-license 0 0 0 23 0 34.19s 1 no change Link
api-domains-education 0 0 0 8 0 23.27s 1 no change Link

🔻 Code Coverage Decreases vs Default Branch (5)

  • clients-middlewares - jest 75.32% (-0.41%) - Details
  • services-auth-ids-api - jest 45% (-0.07%) - Details
  • judicial-system-backend - jest 58.6% (-0.04%) - Details
  • services-auth-personal-representative - jest 43.98% (-0.02%) - Details
  • services-auth-personal-representative-public - jest 40.69% (-0.02%) - Details

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 8 lines in your changes missing coverage. Please review.

Project coverage is 36.87%. Comparing base (6ce1b55) to head (38b8230).

Files with missing lines Patch % Lines
...ckend/src/app/modules/subpoena/subpoena.service.ts 0.00% 6 Missing ⚠️
...m/backend/src/app/modules/police/police.service.ts 0.00% 2 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #16297      +/-   ##
==========================================
+ Coverage   36.84%   36.87%   +0.03%     
==========================================
  Files        6801     6799       -2     
  Lines      140594   140608      +14     
  Branches    39968    39975       +7     
==========================================
+ Hits        51802    51851      +49     
+ Misses      88792    88757      -35     
Flag Coverage Δ
air-discount-scheme-backend 54.04% <ø> (ø)
air-discount-scheme-web 0.00% <ø> (ø)
api 3.37% <ø> (ø)
api-domains-air-discount-scheme 36.90% <ø> (ø)
api-domains-assets 26.71% <ø> (ø)
api-domains-auth-admin 48.77% <ø> (ø)
api-domains-communications 39.90% <ø> (ø)
api-domains-criminal-record 47.96% <ø> (ø)
api-domains-driving-license 44.39% <ø> (ø)
api-domains-education 31.48% <ø> (ø)
api-domains-health-insurance 34.83% <ø> (ø)
api-domains-mortgage-certificate 35.67% <ø> (ø)
api-domains-payment-schedule 41.13% <ø> (ø)
application-api-files 57.97% <ø> (ø)
application-core 71.62% <ø> (+0.08%) ⬆️
application-system-api 41.66% <ø> (+<0.01%) ⬆️
application-template-api-modules 24.29% <ø> (ø)
application-templates-accident-notification 29.44% <ø> (ø)
application-templates-car-recycling 3.12% <ø> (ø)
application-templates-criminal-record 26.63% <ø> (ø)
application-templates-driving-license 18.40% <ø> (ø)
application-templates-estate 12.32% <ø> (ø)
application-templates-example-payment 25.41% <ø> (ø)
application-templates-financial-aid 14.34% <ø> (ø)
application-templates-general-petition 23.68% <ø> (ø)
application-templates-health-insurance 26.62% <ø> (ø)
application-templates-inheritance-report 6.45% <ø> (ø)
application-templates-marriage-conditions 15.23% <ø> (ø)
application-templates-mortgage-certificate 43.96% <ø> (ø)
application-templates-parental-leave 30.03% <ø> (ø)
application-types 6.71% <ø> (ø)
application-ui-components 1.28% <ø> (ø)
application-ui-shell 21.27% <ø> (ø)
auth-nest-tools 29.84% <ø> (ø)
auth-react 22.77% <ø> (ø)
clients-charge-fjs-v2 24.11% <ø> (ø)
clients-driving-license 40.63% <ø> (ø)
clients-driving-license-book 43.77% <ø> (ø)
clients-financial-statements-inao 49.29% <ø> (ø)
clients-license-client 1.83% <ø> (ø)
clients-middlewares 72.45% <ø> (-0.68%) ⬇️
clients-regulations 42.76% <ø> (ø)
clients-rsk-company-registry 29.76% <ø> (ø)
clients-syslumenn 49.49% <ø> (ø)
cms 0.43% <ø> (ø)
cms-translations 39.03% <ø> (ø)
contentful-apps 5.57% <ø> (ø)
download-service 44.01% <ø> (ø)
financial-aid-backend 56.39% <ø> (ø)
financial-aid-shared 19.03% <ø> (ø)
icelandic-names-registry-backend 53.97% <ø> (ø)
infra-nest-server 48.17% <ø> (ø)
island-ui-core 28.44% <ø> (ø)
judicial-system-api 18.29% <ø> (ø)
judicial-system-backend 55.15% <0.00%> (-0.05%) ⬇️
judicial-system-web 27.96% <ø> (ø)
license-api 42.51% <ø> (-0.02%) ⬇️
nest-audit 68.20% <ø> (ø)
nest-feature-flags 51.46% <ø> (ø)
nest-problem 45.85% <ø> (ø)
nest-swagger 51.71% <ø> (ø)
portals-admin-regulations-admin 1.88% <ø> (ø)
portals-core 16.15% <ø> (ø)
reference-backend 49.79% <ø> (ø)
services-auth-admin-api 52.12% <ø> (+0.19%) ⬆️
services-auth-delegation-api 57.66% <ø> (ø)
services-auth-ids-api 51.71% <ø> (-0.25%) ⬇️
services-auth-personal-representative 45.38% <ø> (-0.04%) ⬇️
services-auth-personal-representative-public 41.48% <ø> (-0.05%) ⬇️
services-auth-public-api 49.21% <ø> (ø)
services-documents 60.58% <ø> (ø)
services-endorsements-api 55.03% <ø> (ø)
services-sessions 65.31% <ø> (ø)
services-university-gateway 48.38% <ø> (+0.02%) ⬆️
services-user-notification 47.04% <ø> (+0.02%) ⬆️
services-user-profile 62.17% <ø> (+0.07%) ⬆️
shared-components 27.65% <ø> (ø)
shared-form-fields 31.59% <ø> (ø)
shared-utils 27.90% <ø> (ø)
skilavottord-ws 24.24% <ø> (ø)
testing-e2e ?
web 1.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
...m/backend/src/app/modules/police/police.service.ts 64.25% <0.00%> (-0.59%) ⬇️
...ckend/src/app/modules/subpoena/subpoena.service.ts 30.64% <0.00%> (-2.12%) ⬇️

... and 12 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6ce1b55...38b8230. Read the comment docs.

Copy link
Member

@oddsson oddsson left a comment

Choose a reason for hiding this comment

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

Nice 👍

@unakb unakb changed the title feat(j-s): Block create subpoena on staging and dev feat(j-s): Block create subpoena on staging and production Oct 8, 2024
@unakb unakb added the automerge Merge this PR as soon as all checks pass label Oct 8, 2024
@kodiakhq kodiakhq bot merged commit 1c660fe into main Oct 8, 2024
29 of 30 checks passed
@kodiakhq kodiakhq bot deleted the j-s/block-create-subpoena branch October 8, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this PR as soon as all checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants