Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Stache Watcher not working

オープン
#12,824 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
laravel, php
領域
backend

調査の方向性

Start by tracing how STATAMIC_STACHE_WATCHER=auto handles filesystem changes after an entry is deleted. Reproduce the report by creating an entry in the CP, deleting its file, and checking the CP; compare with clearing the stache. Done means the deleted entry no longer appears in listings or remains editable.

索引モデルが issue の本文から書いたものです。

説明

stache
Bug description

I have STATAMIC_STACHE_WATCHER set to auto locally, and I've deleted some collection entries in the file system. However, the listings in the CP still show the entries, and those are even editable. Clearing the stache fixes it.

How to reproduce
  • Ensure the stache watcher is enabled
  • Create an entry via CP
  • Delete the entry in the file system
  • Have a look at the CP
Logs
-
Environment
Environment
Application Name: handschin & handschin
Laravel Version: 12.35.0
PHP Version: 8.4.13
Composer Version: 2.8.11
Environment: local
Debug Mode: ENABLED
URL: statamic-handschin.test
Maintenance Mode: OFF
Timezone: UTC
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: log
Cache: file
Database: sqlite
Logs: stack / single
Mail: log
Queue: sync
Session: file

Storage
public/storage: NOT LINKED

Livewire
Livewire: v3.6.4

Statamic
Addons: 3
Sites: 1
Stache Watcher: Enabled
Static Caching: Disabled
Version: 6.0.0-alpha.14 PRO

Statamic Addons
marcorieser/statamic-livewire: dev-statamic-6
marcorieser/statamic-vitals: dev-statamic-6
marcorieser/tailwind-merge-statamic: dev-statamic-6
Installation

Fresh statamic/statamic site via CLI

Additional details

v5 to v6 updated

主要言語
PHP
スター
4.9k
フォーク
647
平均マージ
1日 20時間
マージ済み PR(30日)
113

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

statamic/cms のほかの issue

statamic/cms の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。