Merge "Delete the stale pending items and extend expired items" into sc-dev