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

Repo handover #31

Closed
4 tasks done
LesnyRumcajs opened this issue Aug 29, 2024 · 5 comments
Closed
4 tasks done

Repo handover #31

LesnyRumcajs opened this issue Aug 29, 2024 · 5 comments
Assignees

Comments

@LesnyRumcajs
Copy link
Member

LesnyRumcajs commented Aug 29, 2024

Moving forward, @elmattic will take ownership of this repository. This requires quite a bit of knowledge transfer from @aatifsyed. This is tracked here.

Note

Ownership doesn't mean sole contributor. @elmattic, feel free to ask others to chip in, have an opinion and definitely review any changes. @elmattic, feel free to change propose any changes (even massive ones) and question everything. :)

Tasks:

  • @aatifsyed to write docs on what is the current status,
  • @aatifsyed to document and discuss with @elmattic the next 5-10 things that need to be done to push this initiative further,
  • @elmattic to prepare any questions, anything that is missing or is not clear
  • @aatifsyed and @elmattic to have a few hands-on sessions together to ensure the knowledge transfer is complete

Deadline: 6.09.2024

@aatifsyed
Copy link
Contributor

aatifsyed commented Sep 3, 2024

Notes before our first handover meeting:

  1. Get a complete spec.
    This should be done all-at-once,
    but may have prerequisites depending on the approach.
  • We have the full list of methods in
    our spreadsheet.
  • As of forest/#4677 and
    forest/#4692,
    we have an OpenRPC description for every method in the list.
  • Forest splits these OpenRPC descriptions between v0 and v1:
    forest-tool shed openrpc --path ...,
    and most of our methods are on v0.
    There is some evidence that
    there are meaningful differences between v0 and v1,
    but also some evidence
    that there isn't.
  • It is likely that differences won't affect us, but we should check, and
    ideally cover all the method's in Forest's CI.
  • There is a tool openrpc select ...
    subcommand in the `filecoin-common-node-api repo,
    which takes a single OpenRPC document as input,
    intended to produce a spec.
  • Possible paths forward are:
    • Hand-write the spec, manually looking out for differences in methods
      between v0 and v1,
      and flagging any methods that are v0 only
      (we should only care about v1 methods).
    • Get Forest an up-to-date v1 API (#4678),
      at least for the methods in the list, that we test in CI,
      and use tool openrpc select ... to dump the spec.
  1. Get (at least schema) coverage of all methods in the
    test-suite.
    This can be done bit-by-bit,
    probably addressing bugs you find on the way.
  1. Start picking up issues on the backlog,
    here's a suggested order:

@LesnyRumcajs LesnyRumcajs moved this from Ready to In progress in Forest Backlog 🌲 Sep 3, 2024
@aatifsyed
Copy link
Contributor

Notes from our first meeting:

We talked about how the spec is updated

  1. forest-tool shed openrpc --path ... to dump the schemas to ./schemas
  2. File -> Download -> Tab Separated Values to download the method list from google sheets.
  3. tool openrpc csv2json ... to convert the tsv to json.
  4. tool openrpc select ... to trim the (currently v0, soon to be v1) schema in ./schemas to output spec.json
  5. tool openrpc validate ... to validate spec.json, and captured method calls (see Address trivial bugs in validating Forest #18 for how to run)

We did a walkthrough of the codebase :)

@elmattic
Copy link
Contributor

elmattic commented Sep 6, 2024

@ansermino As suggested by me, the complete list of methods from the spreadsheet has been moved to method-list.json. So we will do modifications there from now on.

@LesnyRumcajs
Copy link
Member Author

@elmattic Do we consider this done?

@elmattic
Copy link
Contributor

Yes, let's close this.

@github-project-automation github-project-automation bot moved this from In progress to Done in Forest Backlog 🌲 Sep 11, 2024
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

No branches or pull requests

3 participants