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

refactor(ssh,pkg): convert recorded session to events, to Asciinema format and save on object storage #4633

Merged
merged 8 commits into from
Mar 24, 2025

Conversation

henrybarreto
Copy link
Member

@henrybarreto henrybarreto commented Mar 11, 2025

Tasks

  • Modify to save each recorded frame in an event entry.
  • Add migration to convert recorded sessions into session's events.
  • Add migration to convert session's events into Asciinema documents.
  • Add migration to remove recorded_sessions collection
  • Save session to object storage after finished

Sorry, something went wrong.

@henrybarreto henrybarreto self-assigned this Mar 11, 2025
@henrybarreto henrybarreto force-pushed the refactor/recorded_session_as_event branch from 194209a to fc3b665 Compare March 11, 2025 17:42
@henrybarreto henrybarreto force-pushed the refactor/recorded_session_as_event branch 8 times, most recently from 58aab2d to ae3495a Compare March 18, 2025 20:51
@henrybarreto henrybarreto changed the title refactor(ssh,pkg): convert recorded session to events refactor(ssh,pkg): convert recorded session to events, to Asciinema format and save on object storage Mar 18, 2025
@henrybarreto henrybarreto marked this pull request as ready for review March 19, 2025 14:49
@henrybarreto henrybarreto requested review from a team as code owners March 19, 2025 14:49
@henrybarreto henrybarreto force-pushed the refactor/recorded_session_as_event branch 9 times, most recently from 0ef5feb to b9b69ac Compare March 22, 2025 11:57
@henrybarreto henrybarreto force-pushed the refactor/recorded_session_as_event branch from b9b69ac to 52016ea Compare March 24, 2025 12:27
…ciinema

To be able to use our recorded sessions as Asciinema files, we migrated
registers from this collection into session's events', turning them into
events of a session, as others SSH request types, deleting the older
collection, `recorded_sessions`, from the database. With events, we
can sort and process them easily into the Asciinema records, as we can
obtain all data needed in one single collection.
@henrybarreto henrybarreto force-pushed the refactor/recorded_session_as_event branch from 52016ea to 9f39fef Compare March 24, 2025 12:46
@gustavosbarreto gustavosbarreto merged commit a03f5f5 into master Mar 24, 2025
9 checks passed
@gustavosbarreto gustavosbarreto deleted the refactor/recorded_session_as_event branch March 24, 2025 19:24
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.

None yet

2 participants