Skip to content

docs: Add tips regarding authoring DAOs#24451

Closed
john-bodley wants to merge 1 commit into
masterfrom
john-bodley--docs-daos
Closed

docs: Add tips regarding authoring DAOs#24451
john-bodley wants to merge 1 commit into
masterfrom
john-bodley--docs-daos

Conversation

@john-bodley
Copy link
Copy Markdown
Member

@john-bodley john-bodley commented Jun 20, 2023

SUMMARY

In #24331 (as part of SIP-92 Proposal for restructuring the Python code base) I organized the DAOs into a single folder. This highlighted a number of inconsistencies and shortcomings (an expected outcome from centralization) and thus I thought there would be merit if we explicitly mentioned in CONTRIBUTING.md how DAOs should be defined to help improve the code quality and developer experience.

I've enumerated a few ideas I had, but any additional suggestions are welcome. Note I plan to create a number of followup PRs which should ensure that the current DAOs adhere to these rules.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

CI.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@john-bodley john-bodley marked this pull request as ready for review June 20, 2023 05:15
@codecov
Copy link
Copy Markdown

codecov Bot commented Jun 20, 2023

Codecov Report

Merging #24451 (012fe60) into master (3e76736) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #24451   +/-   ##
=======================================
  Coverage   68.91%   68.91%           
=======================================
  Files        1899     1899           
  Lines       73843    73843           
  Branches     8119     8119           
=======================================
  Hits        50892    50892           
  Misses      20840    20840           
  Partials     2111     2111           
Flag Coverage Δ
hive 53.90% <ø> (ø)
javascript 55.65% <ø> (ø)
mysql 79.23% <ø> (ø)
postgres 79.32% <ø> (ø)
presto 53.81% <ø> (ø)
python 83.31% <ø> (ø)
sqlite 77.81% <ø> (ø)
unit 54.60% <ø> (ø)

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

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@michael-s-molina
Copy link
Copy Markdown
Member

@john-bodley I really like the initiative but I think the best place for this content would be a Wiki page. As you can see here, we have guidelines for the frontend and backend. I think this could be a sub-page of Backend Style Guidelines 😉

@john-bodley
Copy link
Copy Markdown
Member Author

Closing in favor of @michael-s-molina's suggestion. Please feel free to edit this wiki page with any updates.

@john-bodley john-bodley deleted the john-bodley--docs-daos branch June 20, 2023 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants