Skip to content

Missing Integration Coverage for Toolforge/Commons sync lifecycles #446

@ayushshukla1807

Description

@ayushshukla1807

Just looking through the test suites, there's obviously heavy SQLAlchemy fixture coverage, but loaders.py and the actual Wiki Commons Toolforge ingestion logic doesn't have any mock testing.

If the Toolforge schema migrates or something drops on Commons' end, import_entries will crash in production and our CI won't blink. We should wire up some basic unittest.mock fixtures around the network calls.

Metadata

Metadata

Assignees

No one assigned

    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