Skip to content

docs(legacy): added legacy documentation that was removed earlier#3494

Merged
melekes merged 23 commits intomainfrom
greg/reactors-folder
Nov 4, 2024
Merged

docs(legacy): added legacy documentation that was removed earlier#3494
melekes merged 23 commits intomainfrom
greg/reactors-folder

Conversation

@greg-szabo
Copy link
Collaborator

@greg-szabo greg-szabo commented Jul 10, 2024

Refs #2718

Revert "spec: remove reactor section (#242)" Restore spec/reactors folder by reverting changes in commit 72d15a4

This partially reverts commit 72d15a4.

  • Not restoring spec/reactors/consensus/proposer-selection.md: already present under spec/consensus.
  • Not restoring block_sync_img/bc-reactor.png: already present under docs/references/architecture/tendermint-core/img.
  • Not restoring mempool/concurrency.md as it is a TODO list that needs to be documented.
  • Not restoring spec/reactors/mempool/config.md as it looks like an excerpt from the reference manual. We keep the reference manual up-to-date instead.

Restoring

  • spec/reactors/block_sync/img/bc-reactor-routines.png spec/reactors/consensus/consensus.md
  • spec/reactors/consensus/consensus-reactor.md
  • spec/reactors/mempool/functionality.md
  • spec/reactors/block_sync/impl.md
  • spec/reactors/mempool/messages.md
  • spec/reactors/*/reactor.ms
  • spec/reactors/readme.md (updated with legacy note)

These files are added (with a note that they are legacy documentation) as we did not find an updated version of them in our new folder structure. We should go through them, pick out the still relevant/useful information and decommission them for good.

…lder by reverting changes in commit 72d15a4

This partially reverts commit 72d15a4.

Not restoring spec/reactors/consensus/proposer-selection.md: already present under spec/consensus.
Not restoring block_sync_img/bc-reactor.png: already present under docs/references/architecture/tendermint-core/img.
Not restoring mempool/concurrency.md as it is a TODO list that needs to be documented.
Not restoring spec/reactors/mempool/config.md as it looks like an excerpt from the reference manual. We keep the reference manual up-to-date instead.

Restoring
spec/reactors/block_sync/img/bc-reactor-routines.png
spec/reactors/consensus/consensus.md
spec/reactors/consensus/consensus-reactor.md
spec/reactors/mempool/functionality.md
spec/reactors/block_sync/impl.md
spec/reactors/mempool/messages.md
spec/reactors/*/reactor.ms
spec/reactors/readme.md (updated with legacy note)

spellcheck ran on the files.
@greg-szabo greg-szabo requested review from a team as code owners July 10, 2024 14:52
@greg-szabo
Copy link
Collaborator Author

I identified bc-reactor.png as already present under architecture documentation and then I forgot to delete it from the commit. I'm open to suggestions to keep it or remove it.
Advantage of keeping it: it sits together with bc-reactor-routins.png which provides more context on what the file is about. When cleanup comes, it's easier to decide where to put both.
Disadvantage: duplicated file.

Copy link

@cason cason left a comment

Choose a reason for hiding this comment

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

So, there are parts of this documentation that are relevant, no questions about it. We need to do a short review on naming (Tendermint -> Comet) and other reactors that have changed names (e.g., fast sync/blockchain -> block sync).

I would suggest, however, to call the base directory spec/legacy instead of spec/reactors. And make it very clear that this is old documentation on the README.md entry file of this documentation, and also in all main files (README.md) on each directory.

Copy link

Choose a reason for hiding this comment

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

This is redundant with the documentation, also outdated.

Copy link

Choose a reason for hiding this comment

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

This is a bit TODO. Nice to have done, but not providing useful information with this content.

Copy link

Choose a reason for hiding this comment

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

This is probably mostly accurate. We can work a little on it and render it a relevant document.

Copy link

Choose a reason for hiding this comment

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

This file is confusing. We are handling reactor level messages in the consensus description. Not great, but something can be re-used here to produce a better documentation.

@cason
Copy link

cason commented Jul 12, 2024

Not restoring spec/reactors/consensus/proposer-selection.md: already present under spec/consensus.

This file is still here.

@cason
Copy link

cason commented Jul 22, 2024

@greg-szabo , should I take this over?

@github-actions
Copy link

github-actions bot commented Aug 2, 2024

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale For use by stalebot label Aug 2, 2024
@cason cason self-assigned this Aug 5, 2024
@cason cason added wip Work in progress spec Specification-related and removed stale For use by stalebot labels Aug 5, 2024
@melekes
Copy link
Collaborator

melekes commented Sep 9, 2024

@greg-szabo , should I take this over?

please do @cason 🙏

mergify bot and others added 6 commits September 11, 2024 08:00
Co-authored-by: Daniel <daniel.cason@informal.systems>
removed spec/reactors/consensus/proposer-selection.md
renamed reactor.md to README.md
add top-level readme
fix links
rename Tendermint to CometBFT
@melekes
Copy link
Collaborator

melekes commented Nov 4, 2024

Approving so we can merge this. We can address @cason comments #3494 (review) in a separate PR.

@melekes melekes added this pull request to the merge queue Nov 4, 2024
Merged via the queue into main with commit 1fc96e3 Nov 4, 2024
@melekes melekes deleted the greg/reactors-folder branch November 4, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

spec Specification-related wip Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants