Skip to content

chore: bump patch#118

Open
fireairforce wants to merge 1 commit intoutoofrom
bump-next-js-remote
Open

chore: bump patch#118
fireairforce wants to merge 1 commit intoutoofrom
bump-next-js-remote

Conversation

@fireairforce
Copy link

No description provided.

@gemini-code-assist
Copy link

Summary of Changes

Hello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request primarily focuses on enhancing the developer experience and internal tooling for Next.js. It introduces a structured approach for AI agent assistance through a new "skills" system, significantly upgrades the underlying Rust-based build and transformation tools, and provides advanced benchmarking capabilities for performance analysis. The changes aim to streamline development workflows, improve error reporting, and optimize the build process, particularly for server-side rendering and HMR.

Highlights

  • AI Agent Skills Introduction: A new '.agents/skills' directory is added with comprehensive guides and definitions for various Next.js development topics, enabling AI agents to understand and assist with tasks like feature flag management, DCE, React vendoring, PR triage, and runtime debugging.
  • Rust Toolchain & Dependency Updates: Significant version bumps and feature additions across SWC and Turbopack related Rust crates, including the introduction of 'next-code-frame' for enhanced error reporting.
  • Render Pipeline Benchmarking: New benchmarking tools and documentation are added for the Next.js render pipeline, supporting web/Node.js stream comparisons, CPU/heap profiling, and detailed trace analysis.
  • Build Process Refinements: Updates to the 'ProjectContainer' initialization and update flow, improved module resolution, asset hashing, and phased handling of deferred entrypoints in production builds.
  • Enhanced HMR System: The Hot Module Replacement (HMR) system now supports a 'target' parameter, allowing for more granular control over client-side or server-side HMR events.
  • Updated Developer Documentation: Comprehensive updates to internal development guides and 'create-next-app' documentation, covering new best practices, environment variable distinctions, and specialized skills for efficient development.
Changelog
  • .agents/skills/README.md
    • Added Skills Authoring Guide.
  • .agents/skills/authoring-skills/SKILL.md
    • Added skill for authoring skills.
  • .agents/skills/dce-edge/SKILL.md
    • Added skill for DCE and Edge runtime constraints.
  • .agents/skills/flags/SKILL.md
    • Added skill for managing feature flags.
  • .agents/skills/pr-status-triage/SKILL.md
    • Added skill for PR status triage.
  • .agents/skills/pr-status-triage/local-repro.md
    • Added local reproduction guide for PR triage.
  • .agents/skills/pr-status-triage/workflow.md
    • Added CI triage workflow guide.
  • .agents/skills/react-vendoring/SKILL.md
    • Added skill for React vendoring.
  • .agents/skills/runtime-debug/SKILL.md
    • Added skill for runtime debugging.
  • .cargo/config.toml
    • Suppressed unused warnings for WASM builds.
  • .claude/commands/pr-status.md
    • Updated PR status command instructions.
  • .config/ast-grep/rule-tests/snapshots/no-context-snapshot.yml
    • Modified YAML snapshot formatting.
  • .config/ast-grep/rule-tests/snapshots/no-err-anyhow-snapshot.yml
    • Added snapshot for 'no-err-anyhow' rule.
  • .config/ast-grep/rule-tests/snapshots/no-map-async-cell-snapshot.yml
    • Modified YAML snapshot formatting.
  • .config/ast-grep/rule-tests/snapshots/resolved-vc-in-return-type-snapshot.yml
    • Modified YAML snapshot formatting.
  • .config/ast-grep/rule-tests/snapshots/resolved-vc-in-trait-arguments-snapshot.yml
    • Modified YAML snapshot formatting.
  • .config/ast-grep/rule-tests/no-err-anyhow-test.yml
    • Added test cases for 'no-err-anyhow' rule.
  • .config/ast-grep/rules/no-err-anyhow.yml
    • Added new ast-grep rule.
  • .config/ast-grep/rules/no-map-async-cell.yml
    • Expanded patterns for 'no-map-async-cell' rule.
  • .config/eslintignore.mjs
    • Added 'packages/next-swc/native/index.d.ts' to ignore list.
  • .cursor/commands/gt-workflow.md
    • Updated Graphite workflow documentation.
  • .devcontainer/rust/devcontainer-feature.json
    • Bumped Rust nightly version.
  • .github/actions/next-stats-action/src/add-comment.js
    • Added PR tarball URL generation.
  • .github/actions/next-stats-action/src/index.js
    • Modified pnpm install command.
  • .github/actions/next-stats-action/src/prepare/action-info.js
    • Added 'githubHeadSha' to action info.
  • .github/actions/next-stats-action/src/run/index.js
    • Modified pnpm install command.
  • .github/labeler.json
    • Added 'aurorascharff' to Turbopack team labeler.
  • .gitignore
    • Removed '.jest-cache/' and added '.claude/worktrees'.
  • .prettierignore
    • Added ast-grep snapshot directory to ignore.
  • .rustfmt.toml
    • Added 'style_edition = "2024"'.
  • AGENTS.md
    • Updated with new sections on READMEs, build commands, local development, bundler selection, CI analysis, env safety, specialized skills, context-efficient workflows, and anti-patterns.
  • Cargo.toml
    • Added 'next-code-frame' crate, updated 'turbopack-node' features, and bumped numerous Rust dependencies.
  • apps/bundle-analyzer/package.json
    • Added 'NEXT_TEST_NATIVE_IGNORE_LOCAL_INSTALL=true' to scripts.
  • bench/BENCHMARKING.md
    • Added render pipeline benchmarking playbook.
  • bench/basic-app/app/streaming/_shared/client-boundary.js
    • Added streaming client boundary component.
  • bench/basic-app/app/streaming/_shared/stress-page.js
    • Added streaming stress page component.
  • bench/basic-app/app/streaming/bulk/page.js
    • Added streaming bulk page.
  • bench/basic-app/app/streaming/chunkstorm/page.js
    • Added streaming chunkstorm page.
  • bench/basic-app/app/streaming/heavy/page.js
    • Added streaming heavy page.
  • bench/basic-app/app/streaming/light/page.js
    • Added streaming light page.
  • bench/basic-app/app/streaming/medium/page.js
    • Added streaming medium page.
  • bench/basic-app/app/streaming/wide/page.js
    • Added streaming wide page.
  • bench/basic-app/benchmark.sh
    • Added web vs Node.js streams benchmark script.
  • bench/basic-app/next.config.js
    • Removed 'serverMinification' experimental flag.
  • bench/next-minimal-server/bin/minimal-server.js
    • Added server shutdown logic.
  • bench/render-pipeline/.gitignore
    • Ignored benchmark artifacts.
  • bench/render-pipeline/README.md
    • Added render pipeline benchmark README.
  • bench/render-pipeline/analyze-profiles.ts
    • Added script for analyzing benchmark profiles.
  • bench/render-pipeline/benchmark.ts
    • Added main render pipeline benchmark script.
  • contributing/core/developing.md
    • Added 'NODE_ENV vs __NEXT_DEV_SERVER' explanation.
  • crates/next-api/Cargo.toml
    • Added 'process_pool' and 'worker_pool' features.
  • crates/next-api/src/app.rs
    • Refactored client environment handling and added SRI manifest generation.
  • crates/next-api/src/asset_hashes_manifest.rs
    • Added asset hashes manifest generation.
  • crates/next-api/src/empty.rs
    • Updated 'EmptyEndpoint' to take project context.
  • crates/next-api/src/font.rs
    • Updated font path formatting.
  • crates/next-api/src/instrumentation.rs
    • Updated asset path collection.
  • crates/next-api/src/lib.rs
    • Added new modules for asset hashes and SRI.
  • crates/next-api/src/middleware.rs
    • Updated asset path collection.
  • crates/next-api/src/module_graph.rs
    • Refined CSS import validation.
  • crates/next-api/src/next_server_nft.rs
    • Modified tracing context.
  • crates/next-api/src/nft_json.rs
    • Improved error messaging with 'turbobail!' and 'turbofmt!'.
  • crates/next-api/src/pages.rs
    • Added SRI manifest generation for pages.
  • crates/next-api/src/paths.rs
    • Generalized server paths to asset paths and added content hashing options.
  • crates/next-api/src/project.rs
    • Introduced 'HmrTarget', refined debug build paths, added deferred entries, and updated HMR and chunking context configurations.
  • crates/next-api/src/project_asset_hashes_manifest.rs
    • Added project asset hashes manifest.
  • crates/next-api/src/route.rs
    • Updated path types and added project context to endpoints.
  • crates/next-api/src/routes_hashes_manifest.rs
    • Refactored endpoint hash calculation.
  • crates/next-api/src/server_actions.rs
    • Updated module part asset import.
  • crates/next-api/src/sri_manifest.rs
    • Added SRI manifest asset generation.
  • crates/next-api/src/versioned_content_map.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-build-test/Cargo.toml
    • Updated 'rand' features and added 'turbopack-node' dependency.
  • crates/next-build-test/src/lib.rs
    • Updated project initialization and HMR calls.
  • crates/next-build-test/src/main.rs
    • Added deferred entries and Next.js version to project options.
  • crates/next-code-frame/Cargo.toml
    • Added new crate.
  • crates/next-code-frame/README.md
    • Added README for code frame crate.
  • crates/next-code-frame/benches/code_frame_bench.rs
    • Added benchmarks for code frame.
  • crates/next-code-frame/src/bin/code_frame.rs
    • Added code frame binary.
  • crates/next-code-frame/src/frame.rs
    • Added code frame rendering logic.
  • crates/next-code-frame/src/highlight.rs
    • Added syntax highlighting logic.
  • crates/next-code-frame/src/lib.rs
    • Added library entry point.
  • crates/next-code-frame/src/tests.rs
    • Added tests for code frame.
  • crates/next-core/Cargo.toml
    • Added 'process_pool' and 'worker_pool' features.
  • crates/next-core/src/app_structure.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-core/src/bootstrap.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-core/src/embed_js.rs
    • Removed 'next_js_file' function.
  • crates/next-core/src/hmr_entry.rs
    • Refactored HMR chunk item creation.
  • crates/next-core/src/next_app/metadata/image.rs
    • Updated image metadata hashing.
  • crates/next-core/src/next_app/metadata/mod.rs
    • Added sitemap XML extension.
  • crates/next-core/src/next_app/metadata/route.rs
    • Refined metadata route handling and error messages.
  • crates/next-core/src/next_app/mod.rs
    • Improved app page parsing.
  • crates/next-core/src/next_client/context.rs
    • Removed invalid server-only plugin and added CSS URL suffix.
  • crates/next-core/src/next_client/runtime_entry.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-core/src/next_client/transforms.rs
    • Added page extensions to strip page exports transform.
  • crates/next-core/src/next_client_reference/css_client_reference/css_client_reference_module.rs
    • Refactored chunkable module reference.
  • crates/next-core/src/next_client_reference/ecmascript_client_reference/ecmascript_client_reference_module.rs
    • Refactored chunkable module reference.
  • crates/next-core/src/next_config.rs
    • Added 'TurbopackPluginRuntimeStrategy', issue ignoring rules, immutable asset token, and new experimental flags.
  • crates/next-core/src/next_dynamic/dynamic_module.rs
    • Refactored dynamic module chunk item creation.
  • crates/next-core/src/next_edge/context.rs
    • Removed invalid client-only and styled-jsx plugins, added CSS URL suffix.
  • crates/next-core/src/next_edge/unsupported.rs
    • Updated resolve result handling.
  • crates/next-core/src/next_font/google/mod.rs
    • Updated resolve result handling.
  • crates/next-core/src/next_font/local/mod.rs
    • Refactored font resolving issue and resolve result handling.
  • crates/next-core/src/next_import_map.rs
    • Integrated 'next-taskless' externals, added client-only and server-only error aliases.
  • crates/next-core/src/next_root_params/mod.rs
    • Updated resolve result handling.
  • crates/next-core/src/next_server/context.rs
    • Removed invalid client-only and styled-jsx plugins, added CSS URL suffix.
  • crates/next-core/src/next_server/resolve.rs
    • Updated resolve result handling.
  • crates/next-core/src/next_server/transforms.rs
    • Added 'debug_instant_stack' transform and page extensions.
  • crates/next-core/src/next_server_component/server_component_module.rs
    • Refactored server component chunk item creation.
  • crates/next-core/src/next_server_component/server_component_reference.rs
    • Refactored server component module reference.
  • crates/next-core/src/next_server_utility/server_utility_module.rs
    • Refactored server utility module chunk item creation.
  • crates/next-core/src/next_server_utility/server_utility_reference.rs
    • Refactored server utility module reference.
  • crates/next-core/src/next_shared/resolve.rs
    • Removed invalid import resolve plugins.
  • crates/next-core/src/next_shared/transforms/mod.rs
    • Added 'next_debug_instant_stack' module.
  • crates/next-core/src/next_shared/transforms/next_debug_instant_stack.rs
    • Added new transform.
  • crates/next-core/src/next_shared/transforms/next_react_server_components.rs
    • Added page extensions to RSC transform.
  • crates/next-core/src/next_shared/transforms/next_strip_page_exports.rs
    • Added page extensions to strip page exports transform.
  • crates/next-core/src/next_shared/transforms/next_track_dynamic_imports.rs
    • Added comments to dynamic import tracking and improved export name extraction.
  • crates/next-core/src/next_shared/transforms/swc_ecma_transform_plugins.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-core/src/next_shared/webpack_rules/mod.rs
    • Removed empty rules check.
  • crates/next-core/src/raw_ecmascript_module.rs
    • Refactored raw ECMAScript module chunk item creation.
  • crates/next-core/src/segment_config.rs
    • Added 'unstable_instant' to segment config and validation.
  • crates/next-core/src/transform_options.rs
    • Added 'verbatim_module_syntax' to TypeScript transform options.
  • crates/next-core/src/util.rs
    • Improved error messaging with 'turbobail!'.
  • crates/next-custom-transforms/Cargo.toml
    • Bumped edition and added 'next-taskless' dependency.
  • crates/next-custom-transforms/src/chain_transforms.rs
    • Updated 'styled_jsx' browser versions, 'track_dynamic_imports' to pass comments, and added 'debug_instant_stack'.
  • crates/next-custom-transforms/src/linter.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/react_compiler.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/cjs_finder.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/cjs_optimizer.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/debug_fn_name.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/debug_instant_stack.rs
    • Added new transform.
  • crates/next-custom-transforms/src/transforms/dynamic.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/fonts/find_functions_outside_module_scope.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/fonts/font_functions_collector.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/fonts/font_imports_generator.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/fonts/mod.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/import_analyzer.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/middleware_dynamic.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/mod.rs
    • Added 'debug_instant_stack' module.
  • crates/next-custom-transforms/src/transforms/named_import_transform.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/next_ssg.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/optimize_barrel.rs
    • Minor import reordering.
  • crates/next-custom-transforms/src/transforms/optimize_server_react.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/page_config.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/pure.rs
    • Minor import reordering and simplified logic.
  • crates/next-custom-transforms/src/transforms/react_server_components.rs
    • Added page extensions, new error kind, and simplified logic.
  • crates/next-custom-transforms/src/transforms/server_actions.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/shake_exports.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/strip_page_exports.rs
    • Simplified logic.
  • crates/next-custom-transforms/src/transforms/track_dynamic_imports.rs
    • Added comments to dynamic import tracking and improved export name extraction.
  • crates/next-custom-transforms/src/transforms/warn_for_edge_runtime.rs
    • Integrated 'next-taskless' externals and simplified logic.
  • crates/next-custom-transforms/tests/errors.rs
    • Updated RSC error tests.
  • crates/next-custom-transforms/tests/errors/react-server-components/server-graph/cache-components/instant-with-cache-components/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/errors/react-server-components/server-graph/cache-components/instant-with-cache-components/page.js
    • Added test input.
  • crates/next-custom-transforms/tests/errors/react-server-components/server-graph/instant-requires-cache-components/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/errors/react-server-components/server-graph/instant-requires-cache-components/output.stderr
    • Added test stderr.
  • crates/next-custom-transforms/tests/errors/react-server-components/server-graph/instant-requires-cache-components/page.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture.rs
    • Added 'debug_instant_stack' test fixture and updated 'track_dynamic_imports_fixture'.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-aliased-export/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-aliased-export/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-aliased-export/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-indirect-export/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-indirect-export/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-indirect-export/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-instant/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-instant/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-instant/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-named-export/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-named-export/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-named-export/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-reexport/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-reexport/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/with-reexport/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/without-instant/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/without-instant/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/fixture/debug-instant-stack/without-instant/output.map
    • Added test sourcemap.
  • crates/next-custom-transforms/tests/fixture/track-dynamic-imports/1/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/fixture/track-dynamic-imports/3/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/fixture/track-dynamic-imports/5/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/fixture/track-dynamic-imports/6/input.js
    • Added test input.
  • crates/next-custom-transforms/tests/fixture/track-dynamic-imports/6/output.js
    • Added test output.
  • crates/next-custom-transforms/tests/full.rs
    • Updated SWC config.
  • crates/next-custom-transforms/tests/loader/auto-cjs/1/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/loader/auto-cjs/react-prod/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/loader/front/attr-1/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/loader/issue-32553/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/loader/issue-40231/output.js
    • Modified test output.
  • crates/next-custom-transforms/tests/telemetry.rs
    • Minor import reordering.
  • crates/next-error-code-swc-plugin/src/lib.rs
    • Updated error message handling.
  • crates/next-napi-bindings/Cargo.toml
    • Added 'next-code-frame' and updated features.
  • crates/next-napi-bindings/src/code_frame.rs
    • Added NAPI bindings for code frame.
  • crates/next-napi-bindings/src/lib.rs
    • Added 'code_frame' module.
  • crates/next-napi-bindings/src/next_api/analyze.rs
    • Added issue filtering.
  • crates/next-napi-bindings/src/next_api/endpoint.rs
    • Updated asset path types and added issue filtering.
  • crates/next-napi-bindings/src/next_api/project.rs
    • Updated project initialization, HMR, and build processes to support deferred entries and issue filtering.
  • crates/next-napi-bindings/src/next_api/turbopack_ctx.rs
    • Added 'onBeforeDeferredEntries' callback and updated storage mode logic.
  • crates/next-napi-bindings/src/next_api/utils.rs
    • Updated issue filtering.
  • crates/next-taskless/src/constants.rs
    • Updated external module lists.
  • crates/wasm/Cargo.toml
    • Bumped edition and added 'next-code-frame' dependency.
  • crates/wasm/src/lib.rs
    • Added 'code_frame_columns' for WASM.
  • crates/wasm/src/mdx.rs
    • Explicitly used 'mdxjs' types.
  • docs/01-app/01-getting-started/01-installation.mdx
    • Updated installation docs.
  • docs/01-app/01-getting-started/03-layouts-and-pages.mdx
    • Updated internal links.
  • docs/01-app/01-getting-started/04-linking-and-navigating.mdx
    • Updated internal links and added scrolling note.
  • docs/01-app/01-getting-started/07-fetching-data.mdx
    • Renamed file.
  • docs/01-app/01-getting-started/08-updating-data.mdx
    • Renamed file.
Ignored Files
  • Ignored by pattern: .github/workflows/** (10)
    • .github/workflows/build_and_deploy.yml
    • .github/workflows/build_and_test.yml
    • .github/workflows/build_reusable.yml
    • .github/workflows/code_freeze.yml
    • .github/workflows/create_release_branch.yml
    • .github/workflows/pull_request_stats.yml
    • .github/workflows/test_e2e_deploy_release.yml
    • .github/workflows/trigger_release.yml
    • .github/workflows/turbopack-nextjs-build-integration-tests.yml
    • .github/workflows/turbopack-nextjs-dev-integration-tests.yml
Activity
  • The pull request is titled 'chore: bump patch', suggesting a routine update.
  • The body is empty, so all information must be derived from the diff.
  • The extensive changes across many files, including new features, refactoring, and dependency updates, indicate a significant patch bump rather than a minor one.
  • The addition of numerous 'skills' for Claude suggests an ongoing effort to integrate AI assistance into the development workflow.
  • The introduction of benchmarking tools and detailed documentation points to a focus on performance and maintainability.
  • The updates to Rust dependencies and transforms show continuous improvement of the underlying build system.
  • The documentation updates reflect the new features and best practices.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a wide range of improvements, including a new agent skills system, a comprehensive benchmarking suite, and several new features like deferred entries, Subresource Integrity, and immutable assets. It also includes significant refactoring and dependency updates. I've found a critical merge conflict in the root Cargo.toml that needs to be resolved, and a questionable change in the .gitignore file.

Note: Security Review did not run due to the size of the PR.

Comment on lines +431 to +436
<<<<<<< HEAD
once_cell = "1.21.3"
=======
notify-types = "2.0.0"
once_cell = "1.17.1"
>>>>>>> b12c0636e8 (feat(turbopack): apply utoo patches to canary)

Choose a reason for hiding this comment

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

critical

There appears to be an unresolved merge conflict in this file. Please resolve the conflict to ensure the project can be built successfully.

.gitignore Outdated
*.tsbuildinfo
.swc/
.turbo
.jest-cache/

Choose a reason for hiding this comment

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

medium

The .jest-cache/ directory has been removed from the gitignore file. This is generally not recommended as cache directories can be large, machine-specific, and cause unnecessary merge conflicts. Was this removal intentional? If not, please consider adding it back to prevent the Jest cache from being committed to the repository.

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