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

Add parent field to records to represent repeat and retry information. #905

Merged
merged 3 commits into from
Dec 29, 2023

Conversation

booneng
Copy link
Collaborator

@booneng booneng commented Dec 25, 2023

This change is Reviewable

@booneng booneng self-assigned this Dec 25, 2023
mobly/records.py Outdated Show resolved Hide resolved
mobly/base_test.py Show resolved Hide resolved
@xpconanfan xpconanfan added this to the Mobly Release 1.12.3 milestone Dec 25, 2023
Copy link
Collaborator Author

@booneng booneng left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 2 unresolved discussions (waiting on @booneng and @xpconanfan)


mobly/base_test.py line 720 at r1 (raw file):

Previously, xpconanfan (Ang Li) wrote…

Trying to discuss here.

Should we still generate new names, now that the record clearly marks the sequence.
I guess it's easy for humans to understand.
Does the downstream result process also try to add the postfixes?

MH adds their own suffix but we are trying to fix that. Otherwise, no other process adds suffixes. I think we should remove it in another change because other processes read the suffixes to determine the repeat/retry number.


mobly/records.py line 328 at r1 (raw file):

Previously, xpconanfan (Ang Li) wrote…

mark this as deprecate?

Done.

Copy link
Collaborator

@xpconanfan xpconanfan left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @booneng)


mobly/records.py line 328 at r1 (raw file):

Previously, booneng (boon) wrote…

Done.

should probably mention it's deprecated at the very beginning of the sentence, like [DEPRECATED] Use ... instead. before the sentence starts.
or is there an official way of marking deprecation in sphinx, our doc generator?

Copy link
Collaborator Author

@booneng booneng left a comment

Choose a reason for hiding this comment

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

Reviewable status: 0 of 4 files reviewed, 1 unresolved discussion (waiting on @booneng and @xpconanfan)


mobly/records.py line 328 at r1 (raw file):

Previously, xpconanfan (Ang Li) wrote…

should probably mention it's deprecated at the very beginning of the sentence, like [DEPRECATED] Use ... instead. before the sentence starts.
or is there an official way of marking deprecation in sphinx, our doc generator?

Done.

@xpconanfan xpconanfan merged commit 46ff13e into google:master Dec 29, 2023
16 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants