google / google/closure-templates

Run StrictDepsPass in SoyHeaderCompiler

Open
#193 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
700
Forks
199
Avg merge
2d 12h
Merged PRs (30d)
26

Description

It would be great if `SoyHeaderCompiler` would run `StrictDepsPass`, so we can, e.g., fail the Build already at `soy_library` level and not wait until running the language generators.

Bonus points if it's possible to select between `--strict_deps={OFF,WARN,ERROR}`.

Contributor guide

Open the contributing guide

Research direction

Start at SoyHeaderCompiler and trace how StrictDepsPass is currently run by the language generators. Check how soy_library builds are validated and how command-line options are handled before assessing the proposed --strict_deps={OFF,WARN,ERROR} behavior. Done means strict dependency failures can occur at the soy_library stage, with the requested selectable severity if feasible.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.