Automattic / Automattic/pocket-casts-ios

Investigate cases where the Up Next Queue gets cleared

Open
#798 0 comments 0 reactions 0 assignees View on GitHub
Up Next
Dominant language
Swift
Stars
1.8k
Forks
197
Avg merge
17h 20m
Merged PRs (30d)
103

Description

We could not replicate the issue, but the user who is using iOS 16.4 mentioned that when they connected to CarPlay, the Up Next Queue was clearing. They confirmed that they don’t use any other integrations. They do all of their listening with an iPhone - either from CarPlay or using AirPods.

> I connect my phone to my car through CarPlay and the current podcast episode continues playing. I wanted to see what would play next because I remembered I had other episodes downloaded so on CarPlay I go to the Up Next Queue where I could see the next episodes for about a second then they disappeared. So I checked my phone and the episodes were still downloaded but they were no longer queued

In the logs, we noticed the following information (which may or may not be helpful:

```
2023-03-24 23:12:18 UpNextSyncTask: The following 5 episodes will be kept: ["44385d8d-1137-454d-89e7-9fddc5cf1094", "bc180a77-6037-478a-a59d-ac5b619fb0ac", "c0508978-4d17-4c58-b7a1-8f3ac0392de3", "6c5c0627-c0e0-403e-92a9-e40329052841", "7feec1e8-7a59-4438-b570-1065fdd09d36"]

```

The Auto Archive and Up Next settings seemed fine too:

```
Auto Archive Played Episodes after: After Playing
Auto Archive Inactive Episodes after: Never

```

##### Tested on [iPhone15,3], iOS [16.4], Pocket Casts [7.34]

Internal discussion: p1679974898793559-slack-C02A333D8LQ
[Ticket; ](6071167-zd-woothemes)

Contributor guide

Open the contributing guide

Research direction

Start with the UpNextSyncTask log and the reported CarPlay flow on iOS 16.4, checking how downloaded episodes disappear from the queue while the settings remain unchanged. Done means identifying the condition that clears Up Next and verifying the behavior no longer occurs in the reported CarPlay scenario.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.