[BUG]: GitHub data cache is not tied to auth scope and survives PAT deletion
Maintainer antworten meist innerhalb von 1 Tag
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- github, javascript
Rechercherichtung
Start by tracing the API response cache calls, including cacheGet(url), and the PAT deletion flow that removes the token and rate-limit entry. Check how IndexedDB stores entries and how requests distinguish authenticated from unauthenticated responses. Done means private data is no longer accessible after PAT deletion and adding a PAT does not reuse incomplete unauthenticated responses.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Bug Description
API responses are cached in IndexedDB by URL only:
const cached = await cacheGet(url)
if (cached) return cached
The cache key does not include whether the request was authenticated, which token/account was used, or what permissions that token had. Deleting the PAT removes the token and rate-limit entry but does not clear cached GitHub data.
This creates two problems:
- Data fetched with a private-repo-capable PAT remains readable in IndexedDB after the PAT is deleted.
- Data fetched without a PAT can be served from cache after a PAT is added, so the “complete analysis” may reuse incomplete unauthenticated responses.
Steps to Reproduce
- Save a PAT that can read private repositories.
- Explore an organization and open several pages so responses are cached.
- Delete the PAT in Settings.
- Open DevTools → Application → IndexedDB →
orgexplorer_cacheororgexplorer. - Observe that cached GitHub response data remains.
Impact
High - Major feature is broken
Code of Conduct
- I have joined the Discord server and will post updates there
- I have searched existing issues to avoid duplicates
- Vorherrschende Sprache
- JavaScript
- Sterne
- 53
- Forks
- 182
- Ø Merge
- 18 Min.
- Gemergte PRs (30 T.)
- 2
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus AOSSIE-Org/OrgExplorer
-
[BUG]: PAT popup input lacks label association and visibility button lacks an accessible nameEvtl. vergeben @prasanm1423 hat das vor 3 Tagen übernommen. Offenbug enhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AOSSIE-Org/OrgExplorer#466 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[FEATURE]: Set dynamic document.title based on active page routeEvtl. vergeben @23241a6749 hat das vor 1 Tag übernommen. Offenenhancement
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
AOSSIE-Org/OrgExplorer#462 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: SocialShareButton logs unconditional console.warn when script is not loadedEvtl. vergeben @vivekrajputofficial29-afk hat das vor 1 Tag übernommen. Offenbug enhancement
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 89/100
AOSSIE-Org/OrgExplorer#461 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: governance page shows "No dead issues" before the audit has runEvtl. wieder frei @SYED-IRTEZA-HUSSAIN-RIZVI hat das vor 8 Tagen übernommen, und es ist kein Pull Request offen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
AOSSIE-Org/OrgExplorer#453 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
[BUG]: User-controlled org/repo names are interpolated into API URLs unencodedEvtl. vergeben @AbhishekKumar-cse hat das vor 10 Tagen übernommen. Offenbug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
AOSSIE-Org/OrgExplorer#449 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in AOSSIE-Org/OrgExplorer
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 80/100
kentcdodds/kcd-skills#32 ·
-
good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 88/100
-
tech-debt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
Maintainer antworten meist innerhalb von 1 Tag
-
enhancement frontend good first issue help wanted
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
Maintainer antworten meist innerhalb von 2 Tagen
-
[推荐] SubtitleMedicOffen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100