Skip to content

Conversation

kimadeline
Copy link

@kimadeline kimadeline commented Jul 8, 2019

For #6400

  • Simplified createHash (we don't expose the encoding parameter anymore)
  • Added unit tests
  • 🍒 -picked a84378b to fix failing release CI
  • Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
  • Title summarizes what is changing
  • [n/a] Has a news entry file (remember to thank yourself!)
  • [n/a] Appropriate comments and documentation strings in the code
  • [n/a] Has sufficient logging.
  • [n/a] Has telemetry for enhancements.
  • Unit tests & system/integration tests are added/updated
  • [n/a] Test plan is updated as appropriate
  • [n/a] package-lock.json has been regenerated by running npm install (if dependencies have changed)
  • [n/a] The wiki is updated with any design decisions/details.

@kimadeline kimadeline added the no-changelog No news entry required label Jul 8, 2019
* Fix broken python tests in news
* Revert changes
const hash = crypto.createHash('blabla', 'string');
assert.typeOf(hash, 'string', 'Type should be a string');
});
test('If hashFormat equals `number`, the hash should not be NaN', async () => {
Copy link

Choose a reason for hiding this comment

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

We should have a test where parseInt(hash, undefined) fails and parseInt(hash, 16) does not. Right now, if I reverted the change in crypto.ts, the tests will still pass.

Copy link

@karrtikr karrtikr left a comment

Choose a reason for hiding this comment

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

Thanks for covering these possibilities!

@kimadeline kimadeline merged commit 9c11195 into microsoft:release Jul 8, 2019
@kimadeline kimadeline deleted the 6400-ab-testing-parse branch July 8, 2019 20:55
kimadeline added a commit to kimadeline/vscode-python that referenced this pull request Jul 9, 2019
* Simplify & fix crypto.createHash
* Add tests
* Fix python test in news folder (microsoft#6398)
* Fix broken python tests in news
* Revert changes
kimadeline added a commit to kimadeline/vscode-python that referenced this pull request Jul 9, 2019
* Simplify & fix crypto.createHash
* Add tests
* Fix python test in news folder (microsoft#6398)
* Fix broken python tests in news
* Revert changes
kimadeline added a commit that referenced this pull request Jul 10, 2019
* Fix experiments hash parsing  (#6492)
* Simplify & fix crypto.createHash
* Add tests
* Fix python test in news folder (#6398)
* Fix broken python tests in news
* Revert changes
* Release cherry pick (#6515)
* Enable experiment for always displaying the test explorer (#6330)
* Add logging
* Point release - Updated package.json and CHANGELOG (#6516)
@lock lock bot locked as resolved and limited conversation to collaborators Jul 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

no-changelog No news entry required

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants