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

GO-2361 Save activeView to DB #1267

Merged
merged 8 commits into from
Jun 6, 2024
Merged

Conversation

KirillSto
Copy link
Member

@KirillSto KirillSto commented May 23, 2024

https://linear.app/anytype/issue/GO-2361/back-to-the-last-view-of-the-set-collection

Save activeView to badger and inject it to dataview blocks on smartblock Init/Apply

@KirillSto KirillSto requested a review from requilence May 23, 2024 15:51
@KirillSto KirillSto self-assigned this May 23, 2024
Copy link

coderabbitai bot commented May 23, 2024

Walkthrough

The changes introduce new functionality for managing active views within the smartBlock struct, including methods for injecting and saving active views. This affects initialization, application, state rebuild, and event handling processes. Additionally, modifications to the SetActiveView method remove Limit and Offset parameters. Comprehensive tests have been added to validate these changes, and protocol buffer definitions have been updated accordingly.

Changes

Files (Grouped) Change Summaries
core/block/editor/smartblock/smartblock.go, core/block/editor/smartblock_test.go Added methods for injecting and saving active views in smartBlock and corresponding tests.
core/block/editor.go Modified SetActiveView method to remove Limit and Offset parameters.
core/block/editor/dataview/dataview.go, core/block/editor/dataview/dataview_test.go Updated SetActiveView method, added injectActiveViews method, and added comprehensive tests.
pb/protos/events.proto, pb/protos/commands.proto Added new message ActiveViewSet and modified SetActive message to remove offset and limit fields.
pkg/lib/localstore/objectstore/activeview.go, pkg/lib/localstore/objectstore/activeview_test.go, pkg/lib/localstore/objectstore/objects.go Introduced functions to set and get active views, added relevant tests, and updated the ObjectStore interface.
util/testMock/objectstore_mock.go Added mock methods for GetActiveViews and SetActiveViews.

Sequence Diagram(s) (Beta)

sequenceDiagram
    participant User
    participant Service
    participant SmartBlock
    participant ObjectStore

    User->>Service: SetActiveView(request)
    Service->>SmartBlock: SetActiveView(blockId, viewId)
    SmartBlock->>ObjectStore: SetActiveViews(objectId, views)
    ObjectStore-->>SmartBlock: ActiveViews saved
    SmartBlock-->>Service: ActiveView set
    Service-->>User: Success response
Loading

Poem

In the heart of code, where logic thrives,
Active views now come alive.
Smart blocks dance, inject, and save,
Through tests and mocks, our path we pave.
With protobufs and Badger's might,
We celebrate this coding flight.
🌟🚀🐇


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 Configration 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.

@KirillSto KirillSto marked this pull request as ready for review May 27, 2024 10:11
Copy link

@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: 3

Outside diff range and nitpick comments (2)
core/block/editor/smartblock/smartblock.go (2)

721-722: Consider adding logging or metrics for saveActiveViews to monitor its performance and error rates.


1372-1386: Consider adding more detailed logging for failures in injectActiveViews to aid in debugging.

Review Details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits Files that changed from the base of the PR and between d44af3e and 7e11cad.
Files ignored due to path filters (4)
  • docs/proto.md is excluded by !**/proto.md
  • pb/events.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • pkg/lib/localstore/objectstore/mock_objectstore/mock_ObjectStore.go is excluded by !**/mock_*.go
  • pkg/lib/pb/model/models.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
Files selected for processing (8)
  • core/block/editor/smartblock/smartblock.go (5 hunks)
  • core/block/editor/smartblock/smartblock_test.go (2 hunks)
  • core/block/simple/dataview/diff.go (2 hunks)
  • pb/protos/events.proto (2 hunks)
  • pkg/lib/localstore/objectstore/activeview.go (1 hunks)
  • pkg/lib/localstore/objectstore/objects.go (2 hunks)
  • pkg/lib/pb/model/protos/models.proto (1 hunks)
  • util/testMock/objectstore_mock.go (2 hunks)
Additional comments not posted (12)
pkg/lib/localstore/objectstore/activeview.go (2)

5-7: The implementation of SetActiveView correctly uses the badgerhelper.SetValue to store the active view. Ensure that the pagesActiveViewBase is correctly initialized and accessible before this method is called.


9-11: The implementation of GetActiveView correctly retrieves the active view using badgerhelper.GetValue. Ensure that error handling is robust, especially for cases where the view ID might not be set.

core/block/simple/dataview/diff.go (1)

253-266: The implementation of diffActiveView correctly identifies changes in the ActiveView and appends the appropriate event message. This is crucial for tracking changes in the active view state.

pkg/lib/localstore/objectstore/objects.go (2)

41-41: The introduction of pagesActiveViewBase is correctly implemented using ds.NewKey to construct a datastore key for active views. This is essential for the new active view functionality.


149-151: The addition of SetActiveView and GetActiveView methods to the ObjectStore interface is appropriate and necessary for supporting active view functionality across different implementations of the interface.

core/block/editor/smartblock/smartblock_test.go (1)

468-510: The TestInjectActiveViews function correctly tests the injection of active views into dataview blocks. It ensures that the GetActiveView method is called as expected and that the active views are set correctly in the state.

util/testMock/objectstore_mock.go (2)

235-242: Implementation of GetActiveView method and its recorder looks correct and aligns with the mocking framework's standards.

Also applies to: 244-248


784-790: Implementation of SetActiveView method and its recorder looks correct and aligns with the mocking framework's standards.

Also applies to: 792-796

pb/protos/events.proto (2)

74-74: Field addition looks good. Ensure that tag number 128 does not conflict with existing tags.


907-910: The new message ActiveViewIsSet is well-structured and appropriately documented.

pkg/lib/pb/model/protos/models.proto (1)

336-336: The addition of the activeView field with session-specific storage is noted.

Ensure that the transient nature of this field is well-documented and understood by developers interacting with this model, to avoid misuse.

core/block/editor/smartblock/smartblock.go (1)

358-358: Ensure proper error handling for injectActiveViews.

Verification successful

The injectActiveViews method in core/block/editor/smartblock/smartblock.go does include error handling. It logs warnings if there are issues during the injection process.

  • The method checks for errors when calling sb.objectStore.GetActiveView and logs a warning if an error occurs.
  • It also logs a warning if the s.Iterate function returns an error.

Therefore, the error handling for injectActiveViews is already implemented.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that error handling is implemented for `injectActiveViews` method.

# Test: Search for error handling patterns around the usage of `injectActiveViews`.
ast-grep --lang go --pattern $'func $_($$$) {
  $$$
  $_.injectActiveViews($$$)
  $$$
}'

Length of output: 89



Script:

#!/bin/bash
# Description: Locate the definition of the `injectActiveViews` method and inspect its implementation for error handling.

# Find the definition of `injectActiveViews` method in Go files.
ast-grep --lang go --pattern 'func ($_ $_).injectActiveViews($$$) $$$'

Length of output: 72



Script:

#!/bin/bash
# Description: Locate the definition of the `injectActiveViews` method and inspect its implementation for error handling.

# Search for the definition of `injectActiveViews` method in Go files.
rg 'func \(\w+ \*?\w+\) injectActiveViews\(' --glob '*.go'

Length of output: 161



Script:

#!/bin/bash
# Description: Extract the implementation of the `injectActiveViews` method to inspect for error handling.

# Extract the implementation of the `injectActiveViews` method from the specified file.
sed -n '/func (sb \*smartBlock) injectActiveViews(s \*state.State) {/,/^}/p' core/block/editor/smartblock/smartblock.go

Length of output: 656

Comment on lines 1354 to 1370
func (sb *smartBlock) saveActiveViews(msgs []simple.EventMessage) []simple.EventMessage {
i := 0
for _, msg := range msgs {
ev := msg.Msg.GetBlockDataviewActiveViewIsSet()
if ev != nil {
err := sb.objectStore.SetActiveView(sb.Id(), ev.BlockId, ev.ViewId)
if err != nil {
log.With("objectID", sb.Id()).Warnf("failed to update active view: %v", err)
}
} else {
msgs[i] = msg
i++
}
}
// we exclude BlockDataViewActiveViewIsSet messages, because we do not need to send events on it
return msgs[:i]
}
Copy link

Choose a reason for hiding this comment

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

Refactor saveActiveViews to handle errors more gracefully and ensure that all messages are processed correctly.

func (sb *smartBlock) saveActiveViews(msgs []simple.EventMessage) []simple.EventMessage {
	i := 0
	for _, msg := range msgs {
		ev := msg.Msg.GetBlockDataviewActiveViewIsSet()
		if ev != nil {
			err := sb.objectStore.SetActiveView(sb.Id(), ev.BlockId, ev.ViewId)
			if err != nil {
-				log.With("objectID", sb.Id()).Warnf("failed to update active view: %v", err)
+				log.With("objectID", sb.Id()).Errorf("failed to update active view: %v", err)
+				continue // Skip this message to ensure others are processed
			}
		} else {
			msgs[i] = msg
			i++
		}
	}
	return msgs[:i]
}

Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation.

Suggested change
func (sb *smartBlock) saveActiveViews(msgs []simple.EventMessage) []simple.EventMessage {
i := 0
for _, msg := range msgs {
ev := msg.Msg.GetBlockDataviewActiveViewIsSet()
if ev != nil {
err := sb.objectStore.SetActiveView(sb.Id(), ev.BlockId, ev.ViewId)
if err != nil {
log.With("objectID", sb.Id()).Warnf("failed to update active view: %v", err)
}
} else {
msgs[i] = msg
i++
}
}
// we exclude BlockDataViewActiveViewIsSet messages, because we do not need to send events on it
return msgs[:i]
}
func (sb *smartBlock) saveActiveViews(msgs []simple.EventMessage) []simple.EventMessage {
i := 0
for _, msg := range msgs {
ev := msg.Msg.GetBlockDataviewActiveViewIsSet()
if ev != nil {
err := sb.objectStore.SetActiveView(sb.Id(), ev.BlockId, ev.ViewId)
if err != nil {
log.With("objectID", sb.Id()).Errorf("failed to update active view: %v", err)
continue // Skip this message to ensure others are processed
}
} else {
msgs[i] = msg
i++
}
}
return msgs[:i]
}

@@ -1005,6 +1009,7 @@
}
sb.updateRestrictions()
sb.injectDerivedDetails(d.(*state.State), sb.SpaceID(), sb.Type())
sb.injectActiveViews(d.(*state.State))
Copy link

Choose a reason for hiding this comment

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

Tip

Codebase Verification

Ensure proper error handling for injectActiveViews during state rebuild.

The search results indicate that there is no direct error handling implemented around the injectActiveViews method calls in the smartblock.go file. This could potentially lead to unhandled errors during state rebuild.

  • File: core/block/editor/smartblock/smartblock.go
    • Lines:
      • 1012: sb.injectActiveViews(d.(*state.State))
      • 1008: sb.injectActiveViews(s)
      • 1004: sb.injectActiveViews(ctx.State)

Consider adding appropriate error handling around these method calls to ensure robustness.

Analysis chain

Ensure proper error handling for injectActiveViews during state rebuild.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that error handling is implemented for `injectActiveViews` method during state rebuild.

# Test: Search for error handling patterns around the usage of `injectActiveViews` in state rebuild scenarios.
ast-grep --lang go --pattern $'func $_($$$) {
  $$$
  $_.injectActiveViews($$$)
  $$$
}'

Length of output: 89



Script:

#!/bin/bash
# Description: Find all occurrences of `injectActiveViews` in the codebase and check for error handling.

# Step 1: Find all occurrences of `injectActiveViews`.
rg 'injectActiveViews' --glob '*.go'

# Step 2: Check for error handling around these occurrences.
# This will be done by searching for common error handling patterns around the found occurrences.
rg -A 5 -B 5 'injectActiveViews' --glob '*.go' | grep -E 'if err|return err|log\.Error|panic|fmt\.Errorf'

Length of output: 1105

@@ -759,6 +762,7 @@
sb.storeFileKeys(s)
sb.injectLocalDetails(s)
sb.injectDerivedDetails(s, sb.SpaceID(), sb.Type())
sb.injectActiveViews(s)
Copy link

Choose a reason for hiding this comment

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

Tip

Codebase Verification

The injectActiveViews method in core/block/editor/smartblock/smartblock.go does include error handling within its implementation. Specifically, it logs warnings when it encounters errors while injecting active views. However, the usages of injectActiveViews do not consistently handle potential errors returned by this method.

  • In the injectActiveViews method itself, errors are logged but not propagated.
  • In the usages of injectActiveViews, there is no explicit error handling after calling this method.

To ensure proper error handling during the reset process, you should consider propagating errors from injectActiveViews and handling them appropriately in the calling functions.

Locations to address:

  • core/block/editor/smartblock/smartblock.go:
    • Lines where injectActiveViews is called without error handling.

Suggested changes:

  • Modify injectActiveViews to return an error.
  • Update the calling functions to handle the returned error.
Analysis chain

Ensure proper error handling for injectActiveViews during the reset process.

Scripts Executed

The following scripts were executed for the analysis:


Script:

#!/bin/bash
# Description: Verify that error handling is implemented for `injectActiveViews` method during the reset process.

# Test: Search for error handling patterns around the usage of `injectActiveViews` in reset scenarios.
ast-grep --lang go --pattern $'func $_($$$) {
  $$$
  $_.injectActiveViews($$$)
  $$$
}'

Length of output: 89



Script:

#!/bin/bash
# Description: Locate the definition of the `injectActiveViews` method and its usages, focusing on error handling.

# Search for the definition of the `injectActiveViews` method.
ast-grep --lang go --pattern $'func ($_).injectActiveViews($$$) {
  $$$
}'

# Search for usages of the `injectActiveViews` method.
rg 'injectActiveViews'

Length of output: 501



Script:

#!/bin/bash
# Description: Extract the definition of the `injectActiveViews` method and its usages for detailed inspection.

# Extract the definition of the `injectActiveViews` method.
ast-grep --lang go --pattern $'func (sb *smartBlock) injectActiveViews(s *state.State) {
  $$$
}' core/block/editor/smartblock/smartblock.go

# Extract the context around the usages of the `injectActiveViews` method.
rg -C 5 'injectActiveViews' core/block/editor/smartblock/smartblock.go

Length of output: 2975

Copy link

github-actions bot commented May 27, 2024

New Coverage 45.0% of statements
Patch Coverage 62.9% of changed statements (44/70)

Coverage provided by https://github.com/seriousben/go-patch-cover-action


func (sb *smartBlock) injectActiveViews(s *state.State) {
if err := s.Iterate(func(b simple.Block) (isContinue bool) {
if d := b.Model().GetDataview(); d != nil {
Copy link
Contributor

Choose a reason for hiding this comment

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

it feels like, instead of iterating all blocks for all smartblocks when opening them the reverse approach may be more efficient and also utilise the objectstore indexes.

  • get all saved activeViews from objectstore for specific objectId
  • then pick specific blocks and modify them

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, I have rewritten this logic, so we store separate map-like string for each object

@@ -902,6 +903,11 @@ message Event {
string id = 1; // dataview block's id
bool value = 2;
}

message ActiveViewIsSet {
Copy link
Contributor

@requilence requilence May 27, 2024

Choose a reason for hiding this comment

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

better be ActiveViewSet? because the last word in events naming is just a verb

Copy link
Member Author

Choose a reason for hiding this comment

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

Thank you, done!

@KirillSto KirillSto requested a review from requilence May 27, 2024 16:07
Copy link

@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 7e11cad and e722321.
Files ignored due to path filters (3)
  • docs/proto.md is excluded by !**/proto.md
  • pb/events.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • pkg/lib/localstore/objectstore/mock_objectstore/mock_ObjectStore.go is excluded by !**/mock_*.go
Files selected for processing (8)
  • core/block/editor/smartblock/smartblock.go (6 hunks)
  • core/block/editor/smartblock/smartblock_test.go (6 hunks)
  • core/block/simple/dataview/diff.go (2 hunks)
  • pb/protos/events.proto (2 hunks)
  • pkg/lib/localstore/objectstore/activeview.go (1 hunks)
  • pkg/lib/localstore/objectstore/activeview_test.go (1 hunks)
  • pkg/lib/localstore/objectstore/objects.go (2 hunks)
  • util/testMock/objectstore_mock.go (3 hunks)
Files skipped from review as they are similar to previous changes (6)
  • core/block/editor/smartblock/smartblock.go
  • core/block/editor/smartblock/smartblock_test.go
  • core/block/simple/dataview/diff.go
  • pb/protos/events.proto
  • pkg/lib/localstore/objectstore/activeview.go
  • pkg/lib/localstore/objectstore/objects.go
Additional comments not posted (4)
pkg/lib/localstore/objectstore/activeview_test.go (2)

11-16: The test cases in TestViewsMapToString are comprehensive and well-structured.


18-39: The table-driven tests in TestParseViewsMap are effectively structured and cover a wide range of scenarios.

util/testMock/objectstore_mock.go (2)

236-249: The mock implementation for GetActiveViews is correctly set up and follows the expected patterns for mocking with gomock.


785-797: The mock implementation for SetActiveViews is correctly set up and follows the expected patterns for mocking with gomock.

@KirillSto KirillSto requested a review from cheggaaa May 28, 2024 15:52
Copy link
Member

@cheggaaa cheggaaa left a comment

Choose a reason for hiding this comment

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

  1. Save active view in dataview.SetActiveView
  2. Move the injectViews method to editor/dataview

Copy link

@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 e722321 and de5b400.

Files ignored due to path filters (3)
  • docs/proto.md is excluded by !**/proto.md
  • pb/commands.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • pkg/lib/localstore/objectstore/mock_objectstore/mock_ObjectStore.go is excluded by !**/mock_*.go
Files selected for processing (9)
  • core/block/editor.go (1 hunks)
  • core/block/editor/dataview/dataview.go (6 hunks)
  • core/block/editor/dataview/dataview_test.go (3 hunks)
  • core/block/editor/smartblock/smartblock_test.go (4 hunks)
  • pb/protos/commands.proto (2 hunks)
  • pkg/lib/localstore/objectstore/activeview.go (1 hunks)
  • pkg/lib/localstore/objectstore/activeview_test.go (1 hunks)
  • pkg/lib/localstore/objectstore/objects.go (2 hunks)
  • util/testMock/objectstore_mock.go (3 hunks)
Files skipped from review due to trivial changes (1)
  • pb/protos/commands.proto
Files skipped from review as they are similar to previous changes (5)
  • core/block/editor/smartblock/smartblock_test.go
  • pkg/lib/localstore/objectstore/activeview.go
  • pkg/lib/localstore/objectstore/activeview_test.go
  • pkg/lib/localstore/objectstore/objects.go
  • util/testMock/objectstore_mock.go
Additional comments not posted (9)
core/block/editor/dataview/dataview_test.go (3)

4-10: Imports are well-organized and relevant to the test cases.


25-42: The fixture struct and newFixture function are well-implemented for setting up test environments.


81-157: The tests for injectActiveViews method are comprehensive, covering scenarios of successful injection, absence of views, and handling of database errors.

core/block/editor/dataview/dataview.go (5)

24-24: The import of badgerhelper is correctly added to support the new functionality related to Badger DB operations.


39-39: The simplification of the SetActiveView method signature aligns with the PR's objective to streamline dataview operations.


59-59: Adding the injectActiveViews method as a hook is a good use of the existing architecture to ensure that active views are set before any operations are applied.


Line range hint 206-224: The implementation of SetActiveView is robust, handling potential errors effectively and ensuring that the active view is updated in the object store.


428-454: The injectActiveViews method is well-implemented. It handles the retrieval of active views and injects them into the appropriate dataview blocks, with proper error handling and logging.

core/block/editor.go (1)

242-242: Simplified method signature for SetDataviewActiveView aligns with the PR's objectives.

@KirillSto KirillSto requested a review from cheggaaa May 30, 2024 17:53
Copy link

@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 de5b400 and f34e37d.

Files ignored due to path filters (3)
  • docs/proto.md is excluded by !**/proto.md
  • pb/commands.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
  • pkg/lib/pb/model/models.pb.go is excluded by !**/*.pb.go, !**/*.pb.go
Files selected for processing (2)
  • pb/protos/commands.proto (2 hunks)
  • pkg/lib/pb/model/protos/models.proto (1 hunks)
Files skipped from review as they are similar to previous changes (2)
  • pb/protos/commands.proto
  • pkg/lib/pb/model/protos/models.proto

@KirillSto KirillSto requested a review from ra3orblade May 31, 2024 17:32
@KirillSto KirillSto merged commit 0c9108a into main Jun 6, 2024
5 checks passed
@KirillSto KirillSto deleted the go-2361-save-activeview-to-db branch June 6, 2024 15:32
@github-actions github-actions bot locked and limited conversation to collaborators Jun 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants