Automattic / Automattic/VIP-Coding-Standards

Flag Not setting a value in cache when a failure happens

Open
#119 3 comments 0 reactions 0 assignees View on GitHub
help wanted Type: Enhancement
Dominant language
PHP
Stars
261
Forks
44
Avg merge
19m
Merged PRs (30d)
1

Description

As in people only cache on success.

Contributor guide

Open the contributing guide

Research direction

Start by locating the cache behavior related to failures in this PHP_CodeSniffer ruleset, then trace when values are written after a failed operation. Clarify whether failures should be cached, identify the relevant existing tests if any, and verify the intended behavior with a regression test; the issue provides no file or test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.