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

feat: Replace vfolder's status_history's type dict with list #3205

Open
wants to merge 5 commits into
base: topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_
Choose a base branch
from

Conversation

jopemachine
Copy link
Member

@jopemachine jopemachine commented Dec 5, 2024

Part of #767, #3214.

The current implementation saves only the most recent timestamp whenever status information in status_history is updated, and all previous information is deleted.

This PR prevents the loss of timestamp information by changing the data structure of vfolders' status_history to List.

Checklist: (if applicable)

  • Milestone metadata specifying the target backport version
  • Mention to the original issue

Copy link
Member Author

jopemachine commented Dec 5, 2024

Warning

This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

This stack of pull requests is managed by Graphite. Learn more about stacking.

@github-actions github-actions bot added comp:manager Related to Manager component require:db-migration Automatically set when alembic migrations are added or updated labels Dec 5, 2024
@github-actions github-actions bot added the size:M 30~100 LoC label Dec 5, 2024
@jopemachine jopemachine added the type:refactor Refactor codes or add tests. label Dec 5, 2024
@jopemachine jopemachine added this to the 24.12 milestone Dec 5, 2024
@jopemachine jopemachine added the type:feature Add new features label Dec 6, 2024
@jopemachine jopemachine marked this pull request as ready for review December 6, 2024 03:36
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from ecef6b9 to a4905e7 Compare December 6, 2024 08:20
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 771f2e4 to 314a6e0 Compare December 6, 2024 08:20
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from a4905e7 to f28038b Compare December 8, 2024 07:09
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 02f7617 to b6e059c Compare December 8, 2024 07:09
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from f28038b to ee4f67c Compare December 9, 2024 05:23
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from b6e059c to 8b3fe90 Compare December 9, 2024 05:23
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from ee4f67c to 44b11bf Compare December 9, 2024 05:25
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 8b3fe90 to 08ea1e7 Compare December 9, 2024 05:25
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from 44b11bf to d4d43ac Compare December 9, 2024 05:27
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from fb372c7 to 2ad9ea2 Compare December 9, 2024 05:27
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from d4d43ac to b544fc1 Compare December 10, 2024 00:39
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 2ad9ea2 to 4c0d0c7 Compare December 10, 2024 00:39
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from b544fc1 to 6327969 Compare December 10, 2024 06:42
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 4c0d0c7 to d6b288e Compare December 10, 2024 06:42
@jopemachine jopemachine force-pushed the topic/12-05-feat_add_dummy_kernels_table_for_testing_sql_json_merge_ branch from 6327969 to dfe91a5 Compare December 13, 2024 00:58
@jopemachine jopemachine force-pushed the topic/12-05-feat_replace_vfolder_s_status_history_s_type_dict_with_list_ branch from 6120bee to c153753 Compare December 13, 2024 00:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:manager Related to Manager component require:db-migration Automatically set when alembic migrations are added or updated size:M 30~100 LoC type:feature Add new features type:refactor Refactor codes or add tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant