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

[Debugger] Symdb tests #3761

Merged
merged 16 commits into from
Jan 23, 2025
Merged

[Debugger] Symdb tests #3761

merged 16 commits into from
Jan 23, 2025

Conversation

shurivich
Copy link
Contributor

Motivation

Add SymDb system tests

Changes

Add symdb tests.

  • Ensure symbols are uploaded
  • Ensure content is archived
  • Validate schema according to RFC

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

@shurivich shurivich self-assigned this Jan 1, 2025
@@ -275,6 +275,8 @@ tests/:
Test_Debugger_Probe_Snaphots: irrelevant
test_debugger_probe_status.py:
Test_Debugger_Probe_Statuses: irrelevant
test_debugger_symdb.py:
Test_Debugger_SymDb: irrelevant
Copy link
Member

Choose a reason for hiding this comment

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

Why is this irrelevant and not missing feature?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmmm, you're right, I aligned with other definitions for this library.
I will fix it in separate PR.

@shurivich shurivich force-pushed the shurivich/symdb branch 2 times, most recently from f0efcaa to eb190f1 Compare January 19, 2025 20:33
@shurivich shurivich marked this pull request as ready for review January 20, 2025 07:44
@shurivich shurivich requested review from a team as code owners January 20, 2025 07:44
@shurivich shurivich requested a review from a team as a code owner January 20, 2025 07:44
@shurivich shurivich requested review from duncanista, mabdinur, jandro996, Mariovido, mcculls and cataphract and removed request for a team January 20, 2025 07:44
@cbeauchesne cbeauchesne mentioned this pull request Jan 20, 2025
7 tasks
@shurivich shurivich requested a review from cbeauchesne January 21, 2025 20:03
@shurivich shurivich requested a review from watson January 22, 2025 05:22
Co-authored-by: Charles de Beauchesne <[email protected]>
Copy link
Collaborator

@cbeauchesne cbeauchesne left a comment

Choose a reason for hiding this comment

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

Just a small non-blocking comment that can be addressed later

raw_data = list(interfaces.library.get_data(_SYMBOLS_PATH))

for data in raw_data:
if isinstance(data, dict) and "request" in data:
Copy link
Collaborator

Choose a reason for hiding this comment

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

If my not wrong, data is always a dict, and request will always be in data.

@shurivich shurivich merged commit f9001b6 into main Jan 23, 2025
431 of 433 checks passed
@shurivich shurivich deleted the shurivich/symdb branch January 23, 2025 15:26
robertomonteromiguel pushed a commit that referenced this pull request Mar 17, 2025
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.

5 participants