The CA assault weapon definition for 30" OAL applies to centerfire semi-auto rifles.
Centerfire/rimfire bolt-action, centerfire/rimfire pump-action, centerfire/rimfire lever-action, centerfire/rimfire single-shot & rimfire semi-auto rifles abide by 26" OAL.
However, unlike the feds (which measure OAL with the firearm's stock extended/open), CA measures OAL with the firearm's stock collapsed/closed.
CA Penal Code 12276.1
(a) Notwithstanding Section 12276, "assault weapon" shall also mean any of the following:
(3) A semiautomatic, centerfire rifle that has an overall length of less than 30 inches.