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 instance id to socks metrics #2137

Merged
merged 1 commit into from
Aug 22, 2024
Merged

Add instance id to socks metrics #2137

merged 1 commit into from
Aug 22, 2024

Conversation

roy-dydx
Copy link
Contributor

@roy-dydx roy-dydx commented Aug 21, 2024

Changelist

Title

Test Plan

[Describe how this PR was tested (if applicable)]

Author/Reviewer Checklist

  • If this PR has changes that result in a different app state given the same prior state and transaction list, manually add the state-breaking label.
  • If the PR has breaking postgres changes to the indexer add the indexer-postgres-breaking label.
  • If this PR isn't state-breaking but has changes that modify behavior in PrepareProposal or ProcessProposal, manually add the label proposal-breaking.
  • If this PR is one of many that implement a specific feature, manually label them all feature:[feature-name].
  • If you wish to for mergify-bot to automatically create a PR to backport your change to a release branch, manually add the label backport/[branch-name].
  • Manually add any of the following labels: refactor, chore, bug.

Summary by CodeRabbit

  • New Features

    • Introduced instance ID management functionality, improving tracking of specific instances across the application.
    • Enhanced logging and metrics tracking capabilities by incorporating instance identifiers in various components.
  • Bug Fixes

    • Improved error handling related to instance ID retrieval and metadata requests.
  • Documentation

    • Updated configuration schema to ensure default values for certain properties, enhancing initialization behavior.
  • Tests

    • Added a comprehensive suite of unit tests for the instance ID module to validate its functionality and edge cases.
  • Chores

    • Restructured build output and updated development dependencies, including the introduction of Jest for testing.

@roy-dydx roy-dydx requested a review from a team as a code owner August 21, 2024 20:27
Copy link
Contributor

coderabbitai bot commented Aug 21, 2024

Walkthrough

This update enhances the @dydxprotocol-indexer/base package by introducing the instance-id module, which manages instance identifiers effectively. It includes comprehensive unit tests for the setInstanceId function, improves the package structure with updated configurations and dependencies, and enhances logging for better observability of metrics. These modifications collectively contribute to a more organized and maintainable codebase.

Changes

Files Change Summary
indexer/packages/base/__tests__/instance-id.test.ts Introduces unit tests for setInstanceId, covering multiple scenarios including environment checks and error handling.
indexer/packages/base/package.json Updates main entry point, modifies test script for Jest execution, and adds jest and uuid as dependencies.
indexer/packages/base/src/config.ts Modifies default values in baseConfigSchema, adding defaults for SERVICE_NAME and introducing ECS_CONTAINER_METADATA_URI_V4.
indexer/packages/base/src/index.ts Exports the new instance-id module to enhance accessibility within the package.
indexer/packages/base/src/instance-id.ts Implements getInstanceId, setInstanceId, and resetForTests for managing instance identifiers with error handling.
indexer/packages/base/tsconfig.json Expands TypeScript compilation to include the __tests__ directory for better integration of test files.
indexer/services/socks/src/helpers/wss.ts Enhances sendMessageString with instance ID logging for improved tracking of metrics and errors.
indexer/services/socks/src/index.ts Modifies start function to log instance ID retrieval and calls setInstanceId during startup.
indexer/services/socks/src/lib/message-forwarder.ts Updates MessageForwarder to include instance ID in metrics tracking for enhanced observability.
indexer/services/socks/src/lib/subscription.ts Integrates getInstanceId for improved metric logging within the Subscriptions class.
indexer/services/socks/src/websocket/index.ts Enhances Index class metrics tracking by incorporating instance IDs into statistics collection.
indexer/Dockerfile.bazooka.remote Adds command to copy the dev directory into the Docker image, including development resources.

Sequence Diagram(s)

sequenceDiagram
    participant App
    participant InstanceManager as Instance ID Manager
    participant Logger

    App->>InstanceManager: setInstanceId()
    InstanceManager->>Logger: Log start of ID retrieval
    InstanceManager->>InstanceManager: Check environment
    alt Valid Environment
        InstanceManager->>InstanceManager: Fetch task ARN
        InstanceManager->>InstanceManager: Set instance ID
    else Invalid Environment
        InstanceManager->>InstanceManager: Generate UUID
    end
    InstanceManager->>Logger: Log instance ID
Loading

🐇 In the meadow where bunnies bounce,
New changes sprout, as the code did pounce!
With instance IDs now shining bright,
Metrics dance in the soft moonlight.
Tests are hopping, ensuring all's well,
In this coding garden, all is swell! 🌼


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>.
    • 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 generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @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 as 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.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

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.

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: 1

Outside diff range, codebase verification and nitpick comments (2)
indexer/packages/base/package.json (1)

13-13: jest is necessary, but uuid is unused.

  • jest is actively used for testing across the codebase, confirming its necessity.
  • There is no evidence of uuid being used, suggesting it may not be needed.

Consider removing uuid from the dependencies if it is not required.

Analysis chain

Verify the necessity and usage of new dependencies.

The addition of jest and uuid indicates enhancements in testing and unique identifier generation. Ensure these dependencies are necessary and used appropriately in the codebase.

Run the following script to verify the usage of jest and uuid:

Also applies to: 42-42

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the usage of `jest` and `uuid` in the codebase.

# Test: Search for the usage of `jest` and `uuid`. Expect: Occurrences of their usage in the codebase.
rg --type js -A 5 $'jest'
rg --type js -A 5 $'uuid'

Length of output: 4264


Script:

#!/bin/bash
# Search for usage of `jest` in test files
rg --type js -A 5 'jest.' --glob '**/__tests__/**' --glob '**/*.test.js'

# Search for direct imports or usage of `uuid` in the codebase
rg --type js -A 5 'require("uuid")'
rg --type js -A 5 'import uuid'

Length of output: 296146

indexer/packages/base/src/instance-id.ts (1)

44-49: Clarify the purpose of resetForTests.

The resetForTests function is intended for testing environments only. Ensure this is clearly documented and consider using a more descriptive name to avoid accidental misuse in production code.

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 637fa18 and fa11b5f.

Files ignored due to path filters (1)
  • indexer/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (11)
  • indexer/packages/base/tests/instance-id.test.ts (1 hunks)
  • indexer/packages/base/package.json (3 hunks)
  • indexer/packages/base/src/config.ts (1 hunks)
  • indexer/packages/base/src/index.ts (1 hunks)
  • indexer/packages/base/src/instance-id.ts (1 hunks)
  • indexer/packages/base/tsconfig.json (1 hunks)
  • indexer/services/socks/src/helpers/wss.ts (4 hunks)
  • indexer/services/socks/src/index.ts (2 hunks)
  • indexer/services/socks/src/lib/message-forwarder.ts (10 hunks)
  • indexer/services/socks/src/lib/subscription.ts (5 hunks)
  • indexer/services/socks/src/websocket/index.ts (5 hunks)
Files skipped from review due to trivial changes (1)
  • indexer/packages/base/src/index.ts
Additional comments not posted (29)
indexer/packages/base/tsconfig.json (1)

7-8: Good addition to the TypeScript configuration.

Including the __tests__ directory ensures that test files are compiled, enhancing type safety and integration of tests within the project.

indexer/packages/base/src/config.ts (1)

33-33: Default values enhance configuration robustness.

Adding default values for SERVICE_NAME and ECS_CONTAINER_METADATA_URI_V4 ensures they are initialized, preventing potential runtime issues.

Also applies to: 41-41

indexer/packages/base/package.json (2)

5-5: Main entry point update is consistent with potential restructuring.

Changing the main entry point to build/src/index.js suggests a more organized build structure.


22-22: Improved test script using Jest.

The test script now uses Jest, which is a robust testing framework, enhancing the project's testing capabilities.

indexer/packages/base/src/instance-id.ts (1)

6-10: Ensure thread safety for INSTANCE_ID.

The INSTANCE_ID variable is shared across asynchronous operations. Consider using a locking mechanism or atomic operations to ensure thread safety if this code will be run in a multi-threaded environment.

indexer/services/socks/src/index.ts (1)

42-53: Evaluate the impact of async operations on startup time.

The setInstanceId function is called asynchronously during startup. Consider evaluating the impact on the startup time and whether this operation should be made non-blocking or moved to a background task.

indexer/packages/base/__tests__/instance-id.test.ts (1)

12-86: Great test coverage for instance ID scenarios.

The test cases comprehensively cover different scenarios for setting the instance ID, including production, staging, and error handling. Consider adding tests for concurrent calls to setInstanceId to ensure thread safety.

indexer/services/socks/src/helpers/wss.ts (3)

108-110: LGTM! Enhanced observability with instance ID in metrics.

The addition of the instance field to the metrics improves tracking and debugging.


122-125: LGTM! Improved error tracking with instance ID.

Including the instance ID in error metrics enhances the ability to diagnose issues.


155-158: LGTM! Instance ID added to stream destruction error metrics.

The instance ID inclusion in stream destruction error metrics provides better context for troubleshooting.

indexer/services/socks/src/websocket/index.ts (5)

111-116: LGTM! Enhanced connection metrics with instance ID.

Including the instance ID in connection metrics provides better tracking of connections per instance.


121-123: LGTM! Improved concurrent connection tracking with instance ID.

The addition of the instance ID to concurrent connection metrics enhances monitoring capabilities.


191-195: LGTM! Enhanced disconnect metrics with instance ID.

Including the instance ID in disconnect metrics allows for more granular insights into connection issues.


232-234: LGTM! Improved message handling metrics with instance ID.

The instance ID inclusion in message handling metrics enhances observability.


343-345: LGTM! Enhanced message type metrics with instance ID.

Adding the instance ID to message type metrics provides better context for message tracking.

indexer/services/socks/src/lib/message-forwarder.ts (10)

102-106: LGTM! Enhanced batch processing metrics with instance ID.

The addition of the instance ID to batch processing metrics provides better tracking of batch operations per instance.


203-205: LGTM! Improved message queue metrics with instance ID.

Including the instance ID in message queue metrics enhances observability of message processing times.


236-238: LGTM! Enhanced message forwarding metrics with instance ID.

The instance ID inclusion in message forwarding metrics provides better context for performance monitoring.


249-251: LGTM! Improved message timing metrics with instance ID.

Adding the instance ID to message timing metrics enhances the ability to track message delays.


263-265: LGTM! Enhanced message forwarding success metrics with instance ID.

Including the instance ID in message forwarding success metrics provides better insights into message delivery.


337-339: LGTM! Improved subscriber metrics with instance ID.

The instance ID inclusion in subscriber metrics enhances tracking of message delivery to subscribers.


350-352: LGTM! Enhanced subscriber message metrics with instance ID.

Adding the instance ID to subscriber message metrics provides better context for message delivery tracking.


445-450: LGTM! Improved batch error metrics with instance ID.

Including the instance ID in batch error metrics enhances the ability to diagnose issues.


457-462: LGTM! Enhanced batch success metrics with instance ID.

The addition of the instance ID to batch success metrics provides better insights into successful batch operations.


507-512: LGTM! Improved client error metrics with instance ID.

Including the instance ID in client error metrics enhances the ability to diagnose client-related issues.

indexer/services/socks/src/lib/subscription.ts (4)

3-3: Import of getInstanceId is appropriate.

The import of getInstanceId is necessary for the new functionality and is correctly added.


183-183: Integration of getInstanceId in metrics is correct.

The getInstanceId function is consistently used to enhance metrics with the instance identifier, improving traceability.

Also applies to: 194-194, 286-286, 293-295


351-351: Integration of getInstanceId in unsubscribe metrics is correct.

The getInstanceId function is correctly used to enhance metrics with the instance identifier, improving traceability.


Line range hint 183-295: Overall integration of getInstanceId is consistent and beneficial.

The integration of getInstanceId across the file enhances the traceability and monitoring of metrics without altering core logic.

Also applies to: 351-351

Comment on lines 12 to 43
export async function setInstanceId(): Promise<void> {
if (INSTANCE_ID !== '') {
return;
}
if (config.ECS_CONTAINER_METADATA_URI_V4 !== '' &&
(
config.isProduction() || config.isStaging()
)
) {
// https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-metadata-endpoint-v4.html
const taskUrl = `${config.ECS_CONTAINER_METADATA_URI_V4}/task`;
try {
const response = await axiosRequest({
method: 'GET',
url: taskUrl,
}) as { TaskARN: string };
INSTANCE_ID = response.TaskARN;
} catch (error) {
logger.error({
at: 'instance-id#setInstanceId',
message: 'Failed to retrieve task arn from metadata endpoint. Falling back to uuid.',
error,
taskUrl,
});
INSTANCE_ID = uuidv4();
}
} else {
INSTANCE_ID = uuidv4();
return;
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider adding retries for network requests.

The setInstanceId function makes a network request to retrieve the task ARN. Consider implementing a retry mechanism with exponential backoff to handle transient network failures more gracefully.

expect(axiosRequest).not.toHaveBeenCalled();
});
});
});
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: newline

throw new Error(`resetForTests() cannot be called for env: ${config.NODE_ENV}`);
}
INSTANCE_ID = '';
}
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: newline

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, codebase verification and nitpick comments (1)
indexer/services/socks/src/index.ts (1)

42-45: Logging before instance ID retrieval is clear.

The log message before calling setInstanceId provides clarity on the process being initiated.

Consider adding more context if needed, but this is generally good for tracing.

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between fa11b5f and 1fc5b7e.

Files ignored due to path filters (1)
  • indexer/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (11)
  • indexer/packages/base/tests/instance-id.test.ts (1 hunks)
  • indexer/packages/base/package.json (3 hunks)
  • indexer/packages/base/src/config.ts (1 hunks)
  • indexer/packages/base/src/index.ts (1 hunks)
  • indexer/packages/base/src/instance-id.ts (1 hunks)
  • indexer/packages/base/tsconfig.json (1 hunks)
  • indexer/services/socks/src/helpers/wss.ts (4 hunks)
  • indexer/services/socks/src/index.ts (2 hunks)
  • indexer/services/socks/src/lib/message-forwarder.ts (10 hunks)
  • indexer/services/socks/src/lib/subscription.ts (5 hunks)
  • indexer/services/socks/src/websocket/index.ts (5 hunks)
Files skipped from review as they are similar to previous changes (10)
  • indexer/packages/base/tests/instance-id.test.ts
  • indexer/packages/base/package.json
  • indexer/packages/base/src/config.ts
  • indexer/packages/base/src/index.ts
  • indexer/packages/base/src/instance-id.ts
  • indexer/packages/base/tsconfig.json
  • indexer/services/socks/src/helpers/wss.ts
  • indexer/services/socks/src/lib/message-forwarder.ts
  • indexer/services/socks/src/lib/subscription.ts
  • indexer/services/socks/src/websocket/index.ts
Additional comments not posted (4)
indexer/services/socks/src/index.ts (4)

1-1: Import changes look good.

The new imports setInstanceId and getInstanceId are correctly added and used in the code.


47-47: Ensure error handling for setInstanceId.

The setInstanceId function is awaited, which is correct. However, consider adding error handling to manage any potential issues during the instance ID setting.

Check if setInstanceId has built-in error handling or if additional try-catch blocks are needed.


49-52: Logging after instance ID retrieval is effective.

The log message correctly indicates the successful retrieval of the instance ID.


Line range hint 53-93: Integration with existing functionality is seamless.

The new instance ID management and logging features integrate well with the existing start function without disrupting its flow.

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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 1fc5b7e and 0f13199.

Files ignored due to path filters (1)
  • indexer/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (11)
  • indexer/packages/base/tests/instance-id.test.ts (1 hunks)
  • indexer/packages/base/package.json (3 hunks)
  • indexer/packages/base/src/config.ts (1 hunks)
  • indexer/packages/base/src/index.ts (1 hunks)
  • indexer/packages/base/src/instance-id.ts (1 hunks)
  • indexer/packages/base/tsconfig.json (1 hunks)
  • indexer/services/socks/src/helpers/wss.ts (4 hunks)
  • indexer/services/socks/src/index.ts (2 hunks)
  • indexer/services/socks/src/lib/message-forwarder.ts (10 hunks)
  • indexer/services/socks/src/lib/subscription.ts (5 hunks)
  • indexer/services/socks/src/websocket/index.ts (5 hunks)
Files skipped from review as they are similar to previous changes (11)
  • indexer/packages/base/tests/instance-id.test.ts
  • indexer/packages/base/package.json
  • indexer/packages/base/src/config.ts
  • indexer/packages/base/src/index.ts
  • indexer/packages/base/src/instance-id.ts
  • indexer/packages/base/tsconfig.json
  • indexer/services/socks/src/helpers/wss.ts
  • indexer/services/socks/src/index.ts
  • indexer/services/socks/src/lib/message-forwarder.ts
  • indexer/services/socks/src/lib/subscription.ts
  • indexer/services/socks/src/websocket/index.ts

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

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 0f13199 and 253945b.

Files ignored due to path filters (1)
  • indexer/pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
Files selected for processing (12)
  • indexer/Dockerfile.bazooka.remote (1 hunks)
  • indexer/packages/base/tests/instance-id.test.ts (1 hunks)
  • indexer/packages/base/package.json (3 hunks)
  • indexer/packages/base/src/config.ts (1 hunks)
  • indexer/packages/base/src/index.ts (1 hunks)
  • indexer/packages/base/src/instance-id.ts (1 hunks)
  • indexer/packages/base/tsconfig.json (1 hunks)
  • indexer/services/socks/src/helpers/wss.ts (4 hunks)
  • indexer/services/socks/src/index.ts (2 hunks)
  • indexer/services/socks/src/lib/message-forwarder.ts (10 hunks)
  • indexer/services/socks/src/lib/subscription.ts (5 hunks)
  • indexer/services/socks/src/websocket/index.ts (5 hunks)
Files skipped from review as they are similar to previous changes (10)
  • indexer/packages/base/tests/instance-id.test.ts
  • indexer/packages/base/package.json
  • indexer/packages/base/src/config.ts
  • indexer/packages/base/src/index.ts
  • indexer/packages/base/src/instance-id.ts
  • indexer/packages/base/tsconfig.json
  • indexer/services/socks/src/helpers/wss.ts
  • indexer/services/socks/src/lib/message-forwarder.ts
  • indexer/services/socks/src/lib/subscription.ts
  • indexer/services/socks/src/websocket/index.ts
Additional comments not posted (3)
indexer/Dockerfile.bazooka.remote (1)

14-14: Verify the necessity of including the dev directory.

Including the dev directory in the Docker image might increase the image size or expose unnecessary files. Ensure that this inclusion is necessary for the build or runtime environment.

Check if the dev directory is required for the application to function correctly in the intended environment.

indexer/services/socks/src/index.ts (2)

44-54: Ensure logging messages are informative and consistent.

The logging messages for instance ID retrieval are clear and informative. Verify that these messages are consistent with other logging practices in the codebase.

Check other parts of the codebase to ensure logging messages follow a consistent format and provide useful information.


1-3: Verify the correctness of the new imports.

Ensure that setInstanceId and getInstanceId are correctly implemented and exported from @dydxprotocol-indexer/base.

Run the following script to verify the implementation and export of these functions:

Verification successful

Imports are correctly implemented and exported.

The functions setInstanceId and getInstanceId are correctly implemented and exported from @dydxprotocol-indexer/base. The imports in index.ts are valid.

  • setInstanceId and getInstanceId are exported from indexer/packages/base/src/instance-id.ts.
Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify the implementation and export of `setInstanceId` and `getInstanceId`.

# Test: Search for the function implementations. Expect: Implementations and exports of both functions.
ast-grep --lang typescript --pattern $'export function setInstanceId() { $$$ }'
ast-grep --lang typescript --pattern $'export function getInstanceId() { $$$ }'

Length of output: 161


Script:

#!/bin/bash
# Description: Search for any export of `setInstanceId` and `getInstanceId`.

# Search for any export of `setInstanceId`.
rg 'export.*setInstanceId' --context 5

# Search for any export of `getInstanceId`.
rg 'export.*getInstanceId' --context 5

Length of output: 1455

@roy-dydx roy-dydx merged commit 76bd1c8 into main Aug 22, 2024
15 checks passed
@roy-dydx roy-dydx deleted the roy/instanceid branch August 22, 2024 16:29
@roy-dydx
Copy link
Contributor Author

backport release/indexer/v6.x

@roy-dydx
Copy link
Contributor Author

backport release/indexer/v5.x

@roy-dydx
Copy link
Contributor Author

@Mergifyio backport release/indexer/v6.x

Copy link
Contributor

mergify bot commented Aug 23, 2024

backport release/indexer/v6.x

✅ Backports have been created

@roy-dydx
Copy link
Contributor Author

https://github.com/Mergifyio backport release/indexer/v5.x

Copy link
Contributor

mergify bot commented Aug 23, 2024

backport release/indexer/v5.x

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Aug 23, 2024
mergify bot pushed a commit that referenced this pull request Aug 23, 2024
(cherry picked from commit 76bd1c8)

# Conflicts:
#	indexer/pnpm-lock.yaml
roy-dydx added a commit that referenced this pull request Aug 23, 2024
roy-dydx added a commit that referenced this pull request Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants