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

Subgraph: Update main subgraph + Voting subgraph and connector (#259) #259

Merged
merged 22 commits into from
Dec 30, 2020

Conversation

0xGabi
Copy link
Contributor

@0xGabi 0xGabi commented Sep 2, 2020

Close #164, #153

This PR includes:

  • default system apps information
  • a new createdAt value for the Organization entity
  • removes metada handlers relaying on IPFS
  • implements the loadOrCreate pattern for entities

@0xGabi 0xGabi requested a review from bpierre September 2, 2020 20:49
@codecov
Copy link

codecov bot commented Sep 2, 2020

Codecov Report

Merging #259 (ebb9a5d) into master (7ba351e) will decrease coverage by 18.62%.
The diff coverage is 16.25%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master     #259       +/-   ##
===========================================
- Coverage   39.01%   20.39%   -18.63%     
===========================================
  Files         114       74       -40     
  Lines        2099     1535      -564     
  Branches      318      324        +6     
===========================================
- Hits          819      313      -506     
+ Misses       1280     1222       -58     
Flag Coverage Δ
unittests 20.39% <16.25%> (-18.63%) ⬇️

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

Impacted Files Coverage Δ
packages/connect-core/src/entities/App.ts 0.00% <0.00%> (ø)
packages/connect-core/src/entities/Organization.ts 0.00% <0.00%> (ø)
packages/connect-core/src/entities/Repo.ts 0.00% <0.00%> (ø)
packages/connect-core/src/entities/Role.ts 0.00% <0.00%> (ø)
packages/connect-core/src/index.ts 0.00% <0.00%> (ø)
packages/connect-core/src/params.ts 100.00% <ø> (ø)
packages/connect-core/src/utils/app-connectors.ts 0.00% <0.00%> (ø)
packages/connect-core/src/utils/app.ts 0.00% <0.00%> (ø)
packages/connect-core/src/utils/cache-store.ts 0.00% <0.00%> (ø)
packages/connect-core/src/utils/callScript.ts 0.00% <0.00%> (ø)
... and 57 more

Continue to review full report at Codecov.

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

@0xGabi 0xGabi added this to the Update organization subgraph milestone Sep 2, 2020
},
"devDependencies": {
"@graphprotocol/graph-cli": "^0.18.0",
"@graphprotocol/graph-cli": "https://github.com/graphprotocol/graph-cli",
Copy link
Contributor Author

@0xGabi 0xGabi Sep 4, 2020

Choose a reason for hiding this comment

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

Using the master branch adds a feature to get stack traces on the graph dashboard logs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Should we point to a particular commit?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll check if they already release this item and update to that version if that's the case.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

They already released 0.19.0 🙌

@0xGabi
Copy link
Contributor Author

0xGabi commented Dec 30, 2020

I'm merging this PR with a downgrade of coverage because I'm skipping both connect-agreements and connect-disputable-voting tests for now.

@0xGabi 0xGabi changed the title Subgraph: Update main subgraph Subgraph: Update main subgraph + Voting subgraph and connector (#259) Dec 30, 2020
@0xGabi 0xGabi merged commit 0601614 into master Dec 30, 2020
@0xGabi 0xGabi deleted the update-org-subgraph branch December 30, 2020 06:28
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.

Subgraph: Deploy new version of main subgraph on Rinkeby to include System apps names
2 participants