Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Tweak NPM (some improvements)#29

Merged
kravets-levko merged 2 commits into
databricks:masterdatabricks/databricks-sql-nodejs:masterfrom
kravets-levko:tweak-npm-2Copy head branch name to clipboard
Jul 12, 2022
Merged

Tweak NPM (some improvements)#29
kravets-levko merged 2 commits into
databricks:masterdatabricks/databricks-sql-nodejs:masterfrom
kravets-levko:tweak-npm-2Copy head branch name to clipboard

Conversation

@kravets-levko

Copy link
Copy Markdown
Contributor

Slightly improve #28

@kravets-levko kravets-levko marked this pull request as ready for review July 12, 2022 22:17
@kravets-levko kravets-levko changed the title Tweak NPM Tweak NPM (some improvements) Jul 12, 2022
- name: Run unit tests
run: |
npm ci
npm run build

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

for running the tests, don't we need to build the package to ensure the files are generated?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

prepare script is executed when you:

  1. run npm install or npm ci in order to prepare package itself (but it doesn't when you install package into another project via npm install <package-name>)
  2. before npm pack and npm publish

So after npm ci it will be completely ready for use

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Also I checked CI - unit tests are still passing (as well as e2e are running but fail with connection error), which basically confirms that it works 🙂

@moderakh moderakh Jul 12, 2022

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @kravets-levko for the explanation.

one other question for you, not directly related to this PR though, as this has been failing for a while.
why is the second CI failing?
Screen Shot 2022-07-12 at 3 27 34 PM

@kravets-levko kravets-levko Jul 12, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

It needs credentials which are passed through repository secrets. But Github does not pass secrets to PRs from forks (there are security reasons). Therefore it doesn't pass on such external PRs, but will pass on PRs within the repo and on master. Currently we're trying to find some solution for this

@moderakh moderakh self-requested a review July 12, 2022 22:25

@moderakh moderakh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. thanks @kravets-levko

@kravets-levko kravets-levko merged commit 80879bd into databricks:master Jul 12, 2022
@kravets-levko kravets-levko deleted the tweak-npm-2 branch July 12, 2022 22:50
msrathore-db added a commit that referenced this pull request May 17, 2026
Rust source changes (native/sea/src/connection.rs + statement.rs) deferred to kernel repo PR #29 (kernel-napi-statement-validity) since napi/src now lives in databricks-sql-kernel/napi/.

SeaOperationBackend.ts conflict resolved using integration commit 3da7aa7 (combining sea-results fetch pipeline with sea-operation lifecycle helpers).
msrathore-db added a commit that referenced this pull request May 24, 2026
Rust source changes (native/sea/src/connection.rs + statement.rs) deferred to kernel repo PR #29 (kernel-napi-statement-validity) since napi/src now lives in databricks-sql-kernel/napi/.

SeaOperationBackend.ts conflict resolved using integration commit 3da7aa7 (combining sea-results fetch pipeline with sea-operation lifecycle helpers).
msrathore-db added a commit that referenced this pull request May 24, 2026
Rust source changes (native/sea/src/connection.rs + statement.rs) deferred to kernel repo PR #29 (kernel-napi-statement-validity) since napi/src now lives in databricks-sql-kernel/napi/.

SeaOperationBackend.ts conflict resolved using integration commit 3da7aa7 (combining sea-results fetch pipeline with sea-operation lifecycle helpers).

Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
msrathore-db added a commit that referenced this pull request May 31, 2026
Rust source changes (native/sea/src/connection.rs + statement.rs) deferred to kernel repo PR #29 (kernel-napi-statement-validity) since napi/src now lives in databricks-sql-kernel/napi/.

SeaOperationBackend.ts conflict resolved using integration commit 3da7aa7 (combining sea-results fetch pipeline with sea-operation lifecycle helpers).

Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
msrathore-db added a commit that referenced this pull request May 31, 2026
Rust source changes (native/sea/src/connection.rs + statement.rs) deferred to kernel repo PR #29 (kernel-napi-statement-validity) since napi/src now lives in databricks-sql-kernel/napi/.

SeaOperationBackend.ts conflict resolved using integration commit 3da7aa7 (combining sea-results fetch pipeline with sea-operation lifecycle helpers).

Signed-off-by: Madhavendra Rathore <madhavendra.rathore@databricks.com>
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.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.