[build][bug] graph builder: don’t reset priority