Skip to content

Training stack with planted bugs

The normal stack is kept as free of defects as we can make it. For manual-testing practice there is a second mode of the same stack, bug mode, in which about fifty defects are planted on purpose: in the shop, the cart and checkout, payments, the warehouse and returns, courier deliveries, emails and webhooks, and the AI assistant's tools.

Your job is to find them, the way you would in a real project. Nothing on this wiki says what they are or where they are.

Only on your laptop

The public sites (awesome.byst.re, aitesters.byst.re) never run bug mode; every service refuses to start with it in production. Run it on a local profile.

Start it

Add the docker-compose.bugs.yml overlay to the profile you normally run:

docker compose -f lightweight-docker-compose.yml -f docker-compose.bugs.yml up -d
docker compose -f docker-compose.yml -f docker-compose.bugs.yml up -d

The same images run in both modes; only a switch (APP_BUG_MODE) differs. Compose recreates the application services, so the first start in bug mode takes a few seconds longer.

Check which mode you are in

  • The shop shows a Training mode badge next to the logo, also on the login page.
  • Every service logs one line at start-up:

    docker compose -f lightweight-docker-compose.yml -f docker-compose.bugs.yml logs | grep "Bug mode is ON"
    

No badge and no log line: you are on the normal stack, and anything odd you find is a real defect. Please report it.

Switch back

Run up -d without the overlay. The application services are recreated without the switch:

docker compose -f lightweight-docker-compose.yml up -d

Both modes share the databases, so data you created in one mode is still there in the other. down followed by up starts from fresh demo data (the lightweight profile keeps its data in memory).

How to hunt

The planted defects are the kind real projects have. Each one can be found with a classic technique, through the UI, the API (Swagger UI), the database, emails in My notifications, or by following an order through payment, fulfilment, delivery and returns:

  • boundary values and equivalence classes,
  • state transitions (orders, payments, deliveries, webhooks),
  • rounding and money,
  • dates, times and time zones,
  • sorting, filtering and pagination,
  • error handling,
  • consistency between services (stock, refunds, emails).

Some only show when two features meet, and some only in one time zone. For each finding, write down the steps, the expected result and why you expected it (a rule, another screen, the API contract), and the actual result. Your trainer has the answer key.