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

fix: check for lightclient only if req doesn't contain shards #1161

Merged
merged 1 commit into from
Jul 15, 2024

Conversation

chaitanyaprem
Copy link
Collaborator

@chaitanyaprem chaitanyaprem commented Jul 13, 2024

Description

Fix to take care of intermittent failures in CI as in https://ci.status.im/blue/organizations/jenkins/status-go%2Fprs%2Ftests/detail/PR-5474/23/tests.

Consider chekcing for lightClient only if metadata request doesn't have shards filled in.

Changes

  • removed deprecated field usage of shards
  • check for lightClient only if request doesn't contain shard info. Also update the way check for lightClient is done.

Tests

@status-im-auto
Copy link

status-im-auto commented Jul 13, 2024

Jenkins Builds

Click to see older builds (3)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 078203d #1 2024-07-13 10:44:29 ~1 min nix-flake 📄log
✔️ 6c07039 #2 2024-07-15 07:39:57 ~1 min nix-flake 📄log
✔️ 59e4c33 #3 2024-07-15 08:08:03 ~1 min nix-flake 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 4d6b878 #4 2024-07-15 10:49:46 ~1 min nix-flake 📄log
✔️ 20f6df4 #5 2024-07-15 10:51:42 ~1 min nix-flake 📄log
✔️ 20f6df4 #6 2024-07-15 10:51:58 ~12 sec nix-flake 📄log

@chaitanyaprem chaitanyaprem marked this pull request as draft July 15, 2024 07:03
@chaitanyaprem chaitanyaprem changed the title fix: invoke metadata only once identify is completed fix: check for lightclient only if req doesn't contain shards Jul 15, 2024
@chaitanyaprem chaitanyaprem marked this pull request as ready for review July 15, 2024 07:57
@chaitanyaprem chaitanyaprem force-pushed the fix/metadata-identify-wait branch 2 times, most recently from 4d6b878 to c77e61f Compare July 15, 2024 10:48
@chaitanyaprem chaitanyaprem changed the base branch from master to feat/lightclient-shards July 15, 2024 10:49
@chaitanyaprem chaitanyaprem merged commit b706f19 into feat/lightclient-shards Jul 15, 2024
13 checks passed
@chaitanyaprem chaitanyaprem deleted the fix/metadata-identify-wait branch July 15, 2024 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants