Skip to content

Disregard contributor count prior to article fork #87

@pedrogaudencio

Description

@pedrogaudencio

Problem

When a user forks an article, the contributors count on the forked article currently includes contributors from before the fork (i.e., contributors from the original article’s history). This makes the fork’s contributor count inaccurate, because it should reflect only contributions made to the fork after it was created.

Notes

  • Confirm how the contributors count is computed and whether/where it is cached, as stale or shared cache keys may be causing the pre-fork contributors to be included.

Solution

Update contributor counting for forked articles so that the contributors count starts at the fork point:

  • Only count contributors who made contributions on the forked article after the fork was created.
  • Exclude contributors whose contributions exist only in the original article’s history prior to the fork.
  • Review and adjust caching so the count is scoped to the fork (e.g., fork-specific cache keys and invalidation on new contributions).

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions