Skip to content

GO-481 research gogoprotobuf alternatives #2226

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

fat-fellow
Copy link
Contributor


  • I understand that contributing to this repository will require me to agree with the CLA

Description

What type of PR is this? (check all applicable)

  • 🍕 Feature
  • 🐛 Bug Fix
  • 📝 Documentation Update
  • 🎨 Style
  • 🧑‍💻 Code Refactor
  • 🔥 Performance Improvements
  • ✅ Test
  • 🤖 Build
  • 🔁 CI

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings

Added tests?

  • 👍 yes
  • 🙅 no, because they aren't needed
  • 🙋 no, because I need help

Added to documentation?

  • 📜 README.md
  • 📓 tech-docs
  • 🙅 no documentation needed

[optional] Are there any post-deployment tasks we need to perform?

@fat-fellow fat-fellow force-pushed the go-481-research-gogoprotobuf-alternatives branch from 7afff1a to d72887d Compare March 14, 2025 17:03
@fat-fellow fat-fellow force-pushed the go-481-research-gogoprotobuf-alternatives branch 3 times, most recently from e3eb31e to e9ea625 Compare March 17, 2025 18:53
Copy link

github-actions bot commented Mar 17, 2025

Previous Coverage 50.7% of statements
New Coverage 50.8% of statements
Patch Coverage 41.5% of changed statements (186/448)

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

@fat-fellow fat-fellow force-pushed the go-481-research-gogoprotobuf-alternatives branch from e9ea625 to d302ada Compare March 18, 2025 10:46
@fat-fellow fat-fellow force-pushed the go-481-research-gogoprotobuf-alternatives branch from d302ada to 741a541 Compare March 18, 2025 12:56
Copy link

Testomat.io Report 🔴 SMOKE-TEST FAILED
Tests ✔️ 16 tests run
Summary 🔴 16 failed; 🟢 0 passed; 🟡 0 skipped
Duration 🕐 3 minutes, 21 seconds
Testomat.io Report 📊 Run #b5d27eae
Job 🗂️ Smoke Tests / smoke-test
Operating System 🖥️ Linux X64

🟥 Failures (16)

🔴 Revoking an invite link

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (146356.80ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user has shared his space and generated an invite link (0.00ms)
When the user revokes the invite link (0.00ms)
Then the invite link should be invalid (0.00ms)
And the account is deleted (0.00ms)
And the server 1 is stopped (0.00ms)

🔴 Revoking an invite link (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3670.97ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user has shared his space and generated an invite link (0.00ms)
When the user revokes the invite link (0.00ms)
Then the invite link should be invalid (0.00ms)
And the account is deleted (0.00ms)
And the server 1 is stopped (0.00ms)

🔴 User cancels their join request

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3661.84ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
And the user cancels their join request (0.00ms)
And the user 1 is using client 1 (0.00ms)
Then there is no request pending for joining the space (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 User cancels their join request (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3730.34ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
And the user cancels their join request (0.00ms)
And the user 1 is using client 1 (0.00ms)
Then there is no request pending for joining the space (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 User deletes the space and rejoins later

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3707.43ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Viewer" rights (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user 2 leaves the shared space (0.00ms)
And the user sends requests to join the space (0.00ms)
Then the request is automatically approved as "Viewer" again (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 User deletes the space and rejoins later (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3670.28ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Viewer" rights (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user 2 leaves the shared space (0.00ms)
And the user sends requests to join the space (0.00ms)
Then the request is automatically approved as "Viewer" again (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner changes the rights of a user from Viewer to Editor

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3653.05ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Viewer" rights (0.00ms)
And the user 1 changes the rights of user 2 from "Viewer" to "Editor" (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can open the object 1 (0.00ms)
And the user can rename the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner changes the rights of a user from Viewer to Editor (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3601.81ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Viewer" rights (0.00ms)
And the user 1 changes the rights of user 2 from "Viewer" to "Editor" (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can open the object 1 (0.00ms)
And the user can rename the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner approves a join request with Editor permissions

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3611.46ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Editor" rights (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can open the object 1 (0.00ms)
And the user can rename the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner approves a join request with Editor permissions (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3689.99ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Editor" rights (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can open the object 1 (0.00ms)
And the user can rename the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner declines a join request

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3646.75ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 declines the join request of user 2 (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can't open the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner declines a join request (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3650.75ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 declines the join request of user 2 (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can't open the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner removes a participant from the space

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3657.29ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Editor" rights (0.00ms)
When the user 1 removes the user 2 from the space (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can't open the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Owner removes a participant from the space (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3610.38ms)
And the user 1 is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the account is synced within 60 seconds (0.00ms)
Given the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the user has shared his space and generated an invite link (0.00ms)
And the account is synced within 60 seconds (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user 2 is using client 2 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user sends requests to join the space (0.00ms)
When the user 1 approves the join request of user 2 with "Editor" rights (0.00ms)
When the user 1 removes the user 2 from the space (0.00ms)
And the user 2 is using client 2 (0.00ms)
Then the user can't open the object 1 (0.00ms)
And both accounts are deleted (0.00ms)
And both servers are stopped (0.00ms)

🔴 Sync on staging nodes

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3574.76ms)
And the user is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the account is synced within 80 seconds (0.00ms)
And the server 1 is stopped (0.00ms)
And data is deleted (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user is using client 2 (0.00ms)
When the user logs in to their account on "staging" (0.00ms)
Then the account should have an analyticsId, profile picture and name (0.00ms)
Then the user can open the object 1 (0.00ms)
And the account is deleted (0.00ms)
And the server 2 is stopped (0.00ms)

🔴 Sync on staging nodes (Will be retried 🔄)

Error: Server process exited with code 1 at ChildProcess. (/home/runner/work/anytype-heart/anytype-heart/support/api/services/gprcServerManager.ts:91:18) at ChildProcess.emit (node:events:518:28) at ChildProcess.emit (node:domain:489:12) at maybeClose (node:internal/child_process:1101:16) at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5) at Process.callbackTrampoline (node:internal/async_hooks:130:17)

################[ Steps ]################
Given the server "default" 1 is running (3572.86ms)
And the user is using client 1 (0.00ms)
And the user creates a new account on "staging" (0.00ms)
And the user creates an object 1 in the account (0.00ms)
And the user can open the object 1 (0.00ms)
And the account is synced within 80 seconds (0.00ms)
And the server 1 is stopped (0.00ms)
And data is deleted (0.00ms)
And the server "default" 2 is running (0.00ms)
And the user is using client 2 (0.00ms)
When the user logs in to their account on "staging" (0.00ms)
Then the account should have an analyticsId, profile picture and name (0.00ms)
Then the user can open the object 1 (0.00ms)
And the account is deleted (0.00ms)
And the server 2 is stopped (0.00ms)

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