Skip to content

[freelancer-rates] CLI download fails (empty payload) - Platform API sync failure #1034

Description

@TavishMassy

Describe the bug
When running exercism download --track=cpp --exercise=freelancer-rates, the CLI only generates the local .exercism/metadata.json file. It fails to pull the actual files (README.md, .cpp files, etc.).

Root Cause Analysis
I did some digging in this repository to figure out why, and I am confident this is an Exercism API / Platform Sync failure, not a repo configuration issue:

  1. log-levels downloads perfectly. Its .meta/config.json and directory structure is identical to freelancer-rates (omitting CMakeLists/headers from the config array).
  2. freelancer-rates is correctly registered in the root config.json with the correct UUID and prerequisites.
  3. Because the repo configuration is completely valid but the CLI is receiving an empty payload, it appears the platform database is out of sync with this repository.
  4. Note: A bot ran 🤖 Auto-sync docs, metadata, and filepaths (#1021) in the exercises directory about 5 hours ago. It's highly likely this sync caused a regression on the backend specifically for freelancer-rates.

To Reproduce

  1. Unlock and start freelancer-rates on the web interface.
  2. Run exercism download --track=cpp --exercise=freelancer-rates
  3. Observe that the directory is completely empty except for the .exercism/metadata.json file.

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