-
Notifications
You must be signed in to change notification settings - Fork 18
Remove usage of index_schema_history instead use pg_indexes #244
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
Open
vishalhaven
wants to merge
54
commits into
haven-life:master
Choose a base branch
from
vishalhaven:cap/feature/HL-78637-remove-history-table
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
b56bb46
target es2020
6c7a1c2
full change tree
9998379
updated syntax
9d20201
es2020 updates
37badab
fix test case on supertypelogger clone
65e5fb6
Merge branch 'master' into cap/feature/HL-00000-es2020-typescript-upg…
kamranHaven ee4e4d6
types update
30c1959
fix supertype cases
eca8b68
test solutions
2373a29
semotus changes
bff5ef0
add persistor changes
d816578
persistor changes
b5b1e1f
remove irrelavant logs
de0e176
merge with supertype changes
3661737
add updated supertype packages
2d17955
update packages
646635e
update supertype export
084bcb1
supertype updates
39adb17
refactor supertype branch
8f0d1fc
update packages
c76dbec
pakage locks updates
cb48ab7
semtus refactor
18284ce
semotus updates
8621810
update semotus and persistor
40f4562
ts config changes
b11b043
update supertype decorators
f1ad62a
bump packags
3cfc7fb
pakage updates
6e05f0b
add extentions to file to support esm
71ff907
push updates
e2ad026
merge latest feature
07d01b3
Presistor: Move q dev-dep, remove tv4 and add ajv for json schema val…
vishalhaven 51cff34
add extentions to code base in semotus
2ed42cf
merge latest
9f8103c
bump supertype
067880e
merge latest supertype
29e07a9
remove unncessary import
d8ab747
remove .js extensions
4e28498
remove useDefineForClassFields flag
4b3ddb5
remove .js extensions
1b4f3ec
update formatting
7e56fd9
update HISTORY values
3aefe51
bump supertype on root
dd67292
switch ajv from require to import
b2c1db1
Remove usage of index_schema_history instead using pg_indexes
vishalhaven ee72600
Clean up console.log and remove commented code from knex/db.ts
vishalhaven 1e830a8
Resolve conflict
vishalhaven 10a26aa
Clean up all tests
vishalhaven 2fa82ea
Revert unrelated changes
vishalhaven bdbb95e
Merge master into branch
vishalhaven 5de80d6
Fix package-lock.json after conflict
vishalhaven ed2405b
Fix package-lock.json after conflict
vishalhaven a903095
Bumped persistor version
vishalhaven 38fd99e
Added additional test scenario as per comments
vishalhaven File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we have a test case failure (pipeline seems to be failing)
can we make sure to add unit tests around:
Regression:
We would also test regression against some large repo like haven and run their startup.
We would need to test above listed scenarios for a blank db (history table empty to mimic fresh db). In a fresh db, history table wont be created. However the pg_indexes initially without the user added indexes, would get populated with the indexes from schema and the ones created by amorphic.
Then we would also want to test with an existing history table (uat / prod scenario) that this feature, stops incrementing the rows in history table, and not delete history table or its contents. However, any adds, updates and deletes to indexes are correctly reflecting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@kamranHaven I have covered all the scenarios you mention in the comments.
About the regression: