Skip to content

Support Bazel runfiles dead-code config#7

Closed
longlho wants to merge 2 commits into
mainfrom
codex/agi-runfiles-config-root
Closed

Support Bazel runfiles dead-code config#7
longlho wants to merge 2 commits into
mainfrom
codex/agi-runfiles-config-root

Conversation

@longlho
Copy link
Copy Markdown
Contributor

@longlho longlho commented May 18, 2026

Summary

  • keep package.json#imports resolution unconditional through the oxc resolver path
  • add config aliases that feed oxc resolver aliases and override package imports for Bazel/runfiles escape hatches
  • add unresolvedImports modes: report, ignore, and error
  • add ignoreUnresolved glob patterns for generated import namespaces such as #virtual_generated/**
  • add provider/aspect-backed Bazel fixtures plus codescythe_test targets for runfiles execution and a no-issue false-positive case

Validation

  • cargo fmt --check
  • cargo test --workspace
  • bazel test --test_output=errors //tests/fixtures/runfiles-fixture:codescythe_runfiles_test
  • bazel test --test_output=errors //tests/fixtures/runfiles-false-positive:codescythe_false_positive_test
  • bazel test //...
  • git diff --check

Base automatically changed from codex/use-oxc-resolver to main May 18, 2026 14:06
@longlho longlho closed this May 18, 2026
@longlho longlho deleted the codex/agi-runfiles-config-root branch May 18, 2026 14:18
@longlho longlho changed the title Support AGI runfiles dead-code config Support Bazel runfiles dead-code config May 18, 2026
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