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

test(i): Remap alias fields when refreshing test documents #1897

Merged
merged 2 commits into from
Sep 19, 2023

Conversation

nasdf
Copy link
Member

@nasdf nasdf commented Sep 19, 2023

Relevant issue(s)

N/A

Description

This PR fixes a bug that causes documents to not be correctly refreshed when they are created using alias fields.

Tasks

  • I made sure the code is well commented, particularly hard-to-understand areas.
  • I made sure the repository-held documentation is changed accordingly.
  • I made sure the pull request title adheres to the conventional commit style (the subset used in the project can be found in tools/configs/chglog/config.yml).
  • I made sure to discuss its limitations such as threats to validity, vulnerability to mistake and misuse, robustness to invalidation of assumptions, resource requirements, ...

How has this been tested?

make test:changes

Specify the platform(s) on which this was tested:

  • MacOS

@nasdf nasdf requested a review from a team September 19, 2023 19:43
@codecov
Copy link

codecov bot commented Sep 19, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.14% ⚠️

Comparison is base (3d1667d) 70.31% compared to head (192cc36) 70.18%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop    #1897      +/-   ##
===========================================
- Coverage    70.31%   70.18%   -0.14%     
===========================================
  Files          232      232              
  Lines        24192    24192              
===========================================
- Hits         17010    16977      -33     
- Misses        6021     6044      +23     
- Partials      1161     1171      +10     
Flag Coverage Δ
all-tests 70.18% <ø> (-0.14%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 8 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3d1667d...192cc36. Read the comment docs.

Copy link
Contributor

@AndrewSisley AndrewSisley left a comment

Choose a reason for hiding this comment

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

LGTM, thanks Keenan, and good job finding the fix

Copy link
Member

@shahzadlone shahzadlone left a comment

Choose a reason for hiding this comment

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

Lgtm

@nasdf nasdf merged commit 2020a1e into sourcenetwork:develop Sep 19, 2023
14 checks passed
@nasdf nasdf deleted the nasdf/test/refresh-document-alias branch September 19, 2023 20:46
@nasdf nasdf mentioned this pull request Sep 19, 2023
6 tasks
shahzadlone pushed a commit to shahzadlone/defradb that referenced this pull request Feb 23, 2024
…work#1897)

## Relevant issue(s)

N/A

## Description

This PR fixes a bug that causes documents to not be correctly refreshed
when they are created using alias fields.

## Tasks

- [x] I made sure the code is well commented, particularly
hard-to-understand areas.
- [x] I made sure the repository-held documentation is changed
accordingly.
- [x] I made sure the pull request title adheres to the conventional
commit style (the subset used in the project can be found in
[tools/configs/chglog/config.yml](tools/configs/chglog/config.yml)).
- [x] I made sure to discuss its limitations such as threats to
validity, vulnerability to mistake and misuse, robustness to
invalidation of assumptions, resource requirements, ...

## How has this been tested?

`make test:changes`

Specify the platform(s) on which this was tested:
- MacOS
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.

3 participants