Skip to content

fix: credit Next.js metadata route config exports#1887

Merged
BartWaardenburg merged 5 commits into
mainfrom
fix/next-metadata-route-config-hints
Jul 14, 2026
Merged

fix: credit Next.js metadata route config exports#1887
BartWaardenburg merged 5 commits into
mainfrom
fix/next-metadata-route-config-hints

Conversation

@BartWaardenburg

@BartWaardenburg BartWaardenburg commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Credit the six framework-consumed segment config exports on Next.js App Router metadata route files, while keeping dynamicParams and arbitrary helpers reportable.
  • Correct the remaining Knip migration suggestion to use unresolved-import and validate its semantic mapping.
  • Clarify that --save-regression-baseline without a path updates the discovered config, with an end-to-end CLI regression test.
  • Confirm the existing -- suppression reason terminator preserves the reason without parsing its words as issue kinds.

Verification

  • targeted red-green unit and integration regressions
  • cargo test --workspace --lib --bins --tests
  • cargo check --workspace
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo fmt --all -- --check
  • cargo doc --workspace --no-deps --document-private-items
  • release build
  • Acorn real-project comparison against fallow 2.86.0
  • suppression reason CLI reproduction against fallow 2.86.0
  • ecosystem end-to-end suite
  • fallow audit --format json --quiet

@BartWaardenburg BartWaardenburg force-pushed the fix/next-metadata-route-config-hints branch 2 times, most recently from 7101a2c to 8f0d8af Compare July 14, 2026 16:43
@codspeed-hq

codspeed-hq Bot commented Jul 14, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by ×5.6

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 1 improved benchmark
✅ 45 untouched benchmarks
⏩ 32 skipped benchmarks1

Performance Changes

Benchmark BASE HEAD Efficiency
reverse_re_export_chain[64] 5,483.3 µs 972.8 µs ×5.6

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing fix/next-metadata-route-config-hints (0020d14) with main (811fa40)

Open in CodSpeed

Footnotes

  1. 32 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@BartWaardenburg BartWaardenburg force-pushed the fix/next-metadata-route-config-hints branch from 8f0d8af to 28e9ddc Compare July 14, 2026 16:53
@BartWaardenburg BartWaardenburg force-pushed the fix/next-metadata-route-config-hints branch from 28e9ddc to 0020d14 Compare July 14, 2026 17:51
@BartWaardenburg BartWaardenburg merged commit 4d22ff4 into main Jul 14, 2026
38 checks passed
@BartWaardenburg BartWaardenburg deleted the fix/next-metadata-route-config-hints branch July 14, 2026 17:52
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.

1 participant