-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
stream: fix nested compose error propagation #62556
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
mcollina
wants to merge
2
commits into
nodejs:main
Choose a base branch
from
mcollina:fix-compose-60083
base: main
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.
+142
−9
Open
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
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
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,92 @@ | ||
| # Agent Guidance | ||
|
|
||
| Non-discoverable operational guidance for Node.js development. | ||
|
|
||
| ## Non-discoverable commands | ||
|
|
||
| ### Linting | ||
|
|
||
| - `tools/eslint/node_modules/eslint/bin/eslint.js` is the actual lint runner (not `make lint-js` which first builds it) | ||
| - `make lint` runs: JS lint, C++ lint, addon docs lint, markdown lint, YAML lint | ||
| - CI uses `make lint-js-ci` (different output format than regular `make lint-js`) | ||
|
|
||
| ### Testing | ||
|
|
||
| - `make test` = `make test-only` + documentation build | ||
| - `make test-only` = default tests without documentation build | ||
| - `make test-tap` = TAP output format | ||
| - `make test-only TAP=1` = subset of tests in TAP format | ||
|
|
||
| ### Test organization | ||
|
|
||
| - `test/parallel/` = tests that can run in parallel (add new tests here when unsure) | ||
| - `test/sequential/` = tests that must not run in parallel | ||
| - `test/pummel/` = load tests, not run on CI | ||
| - `test/internet/` = tests with real outbound connections, not run on CI | ||
| - `test/known_issues/` = all tests expected to fail, run via `known_issues.status` | ||
|
|
||
| ## Landmines / do-not-touch areas | ||
|
|
||
| ### Dependencies | ||
|
|
||
| - `deps/` and `tools/` contain bundled dependencies not part of Node.js proper | ||
| - Do not send patches to Node.js for files in these directories | ||
| - Send changes to their respective projects instead | ||
|
|
||
| ### Build artifacts | ||
|
|
||
| - `out/` directory is generated (not tracked in git, but `.gitignore` has exceptions) | ||
| - `node` is a symlink to `out/Release/node` | ||
| - `config.gypi`, `config.status`, `config.mk`, `icu_config.gypi` are generated by `./configure` | ||
|
|
||
| ### Branch workflow | ||
|
|
||
| - Only create branches in your GitHub fork (not `nodejs/node`) | ||
| - `nodejs/node` branches are only for release lines | ||
|
|
||
| ## Task-specific constraints | ||
|
|
||
| ### Tests | ||
|
|
||
| - Tests must `require('../common')` first (not just for helpers, but for: globals leak check, umask enforcement, auto-respawn with flags) | ||
| - Test flags can be specified in comment: `// Flags: --expose-internals` | ||
| - Use `port: 0` instead of arbitrary ports for parallel-safe tests | ||
| - Use `common.mustCall()` to verify callbacks are invoked | ||
| - Tests exit 0 on success, non-zero (or `process.exitCode`) on failure | ||
|
|
||
| ### Build system | ||
|
|
||
| - `./configure` must run before `make` commands | ||
| - `make -j4` is typical parallel build | ||
| - Ninja build system available as faster alternative (`./configure --gyp-mode=ninja`) | ||
|
|
||
| ### Commit messages | ||
|
|
||
| - First line: `<subsystem>: <description>` (lowercase, imperative verb) | ||
| - Find subsystems via: `git log --oneline files/you/changed` | ||
| - `Fixes:` and `Refs:` trailers auto-added from PR description when landing | ||
| - Breaking changes need `semver-major` label + explanation | ||
|
|
||
| ### CI/CI workflows | ||
|
|
||
| - `.github/workflows/test-linux.yml` is the main CI test workflow | ||
| - `.github/workflows/linters.yml` runs lint checks | ||
| - `test/root.status` defines test status (SLOW, SKIP, etc.) per platform | ||
|
|
||
| ## Development helpers | ||
|
|
||
| ### Speed up rebuilds | ||
|
|
||
| - `make V=1` for verbose output | ||
| - `--enable-coredll` loads JS from disk instead of embedding (faster rebuilds) | ||
| - `ccache` can be used via `./configure --with-ccache` | ||
|
|
||
| ### Debug builds | ||
|
|
||
| - `./configure --debug && make` for debug build | ||
| - `make V=1` for build verbosity | ||
|
|
||
| ### Coverage | ||
|
|
||
| - `make coverage` generates coverage reports | ||
| - `COV_SKIP_TESTS` env var to skip specific tests |
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.
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.
To fix the linter error