﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36967	Use graphlib's TopologicalSorter to handle circular imports similar to migrations	blighj	blighj	"When ManifestStaticFilesStorage post processes files, it handles dependency chains by looping until it sees no more changes in the files.
If there is a circular loop it will only try for 5 cycles by default and then throw an error. This can be changed with the `max_post_process_passes` attribute.

I propose we replace the looping approach with graphlib's TopologicalSorter similar to the way it is used in migrations, this way every file will only need to be processed once and we can detect and handle circular imports without having to throw an error."	Cleanup/optimization	assigned	contrib.staticfiles	6.0	Normal				Accepted	1	0	0	0	0	0
