Skip to content

Rebase to remove invalid auth_token #58

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

Merged
merged 67 commits into from
Aug 13, 2024

Conversation

balaji-viswanathan
Copy link
Collaborator

@balaji-viswanathan balaji-viswanathan commented Aug 13, 2024

ADO WI: https://msrceng.visualstudio.com/VulnReports/_workitems/edit/216726

We have 2 commits in master branch which has auth_token exposed:
5e12453
93b2337

These tokens are invalidated and we also need to remove the commits (that added these tokens) from commit history.

Here's a PR which is rebased to remove the commits from commit history. (I don't think I have access to force push to master branch, so here's the PR)

We can see that commits which had auth_token exposed in npmrc doesn't exist in this branch:
https://github.com/microsoft/ObjectStoreProvider/commits/user/bviswanathan/remove_auth_token/.npmrc

Mukundan Kavanur Kidambi and others added 30 commits August 13, 2024 09:36
Removing old method of testing + adding in karma test runner for more modern cli testing.
Improving code coverage to include testing for browser + sharedworker+ webworker for nosqlprovider
* Downgraded tsconfig output to ES5, and did package upgrades

Package upgrades: upgraded webpack-cl and
ts-loader to remove warnings

Also, moved @types/lodash and ts-loader to dev-deps

* ci: version bump to 0.6.27

* ci: version bump to 0.6.28

Co-authored-by: Thomas Tay <[email protected]>
Co-authored-by: Automated Version Bump <[email protected]>
1. Updated the CI build to automatically publish packages to npm feed
2. Added the recommended files from Microsoft
3. Added license headers to every source file

Co-authored-by: Thomas Tay <[email protected]>
…ions (#27)

Added unit tests for the B Tree, this is located in SortedBTree.spec.ts
Added a test generator that can detect errors in the sorted-btree library through random testing. In fact, this test generator is what generated the unit tests. If there are future errors, the test generator can create additional unit tests to prevent regressions.
Details are in the README in the folder.

We will run both of them as part of the usual test suite.

Other things:
3. Updated the PR build to not generate tags (this was causing problem if we have multiple PRs in flight)
4. Export the OrderedMapType as a type, so we can use it in TMP

Co-authored-by: Thomas Tay <[email protected]>
@thomastay
Copy link
Contributor

Do you know why the commits here look out of order?
Also, will this erase our commit history?

@balaji-viswanathan
Copy link
Collaborator Author

Do you know why the commits here look out of order?

Here's the commit history of master branch:

image

This PR won't have two commits marked in green. We can see the history appearing in this PR starting with commit marked in red, in the same order. Not sure what you mean by "out of order".

Also, will this erase our commit history?

Yes, will delete those commits and the commit history from that point onwards will be modified.

@thomastay
Copy link
Contributor

can you check that the tests build with your current changes

@thomastay
Copy link
Contributor

run yarn ci:test

@balaji-viswanathan
Copy link
Collaborator Author

@eliranek1 eliranek1 merged commit 1e3835f into master Aug 13, 2024
2 checks passed
@balaji-viswanathan balaji-viswanathan deleted the user/bviswanathan/remove_auth_token branch August 26, 2024 16:11
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