Skip to content

fix: replace barn.cow.fi with dev.cow.fi#606

Open
alfetopito wants to merge 1 commit intomainfrom
feat/kill-barn
Open

fix: replace barn.cow.fi with dev.cow.fi#606
alfetopito wants to merge 1 commit intomainfrom
feat/kill-barn

Conversation

@alfetopito
Copy link
Contributor

@alfetopito alfetopito commented Mar 25, 2026

Description

Replace barn.cow.fi references with dev.cow.fi

Changes

  • On solvers onboard page, it points to dev.cow.fi instead of barn.cow.fi

Summary by CodeRabbit

  • Documentation
    • Updated solver onboarding documentation with improved formatting and readability.
    • Updated staging volume interface link to point to dev.cow.fi for easier access.

@alfetopito alfetopito requested a review from a team as a code owner March 25, 2026 14:51
@alfetopito alfetopito self-assigned this Mar 25, 2026
@vercel
Copy link

vercel bot commented Mar 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview Mar 25, 2026 2:51pm

Request Review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 25, 2026

📝 Walkthrough

Walkthrough

Updated the solver onboarding documentation with formatting refinements including improved spacing before headings, inline link formatting for API specification reference, and adjustment of the staging volume link endpoint from barn.cow.fi to dev.cow.fi.

Changes

Cohort / File(s) Summary
Documentation Formatting & Link Updates
docs/cow-protocol/tutorials/solvers/onboard.md
Added blank lines before section headings for improved readability, converted "API specification" to inline link format, wrapped example endpoint in angle brackets, removed trailing whitespace, adjusted heading formatting, reformatted recommended balances table with proper column alignment, and updated staging interface URL from barn.cow.fi to dev.cow.fi.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

🐰 With whiskers twitching, I've hopped through the docs,
Fixed spacing and links—no broken locks!
From barn to dev, the URL now flies,
Fresh formatting gleams before your eyes!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and specifically describes the main change: replacing barn.cow.fi with dev.cow.fi throughout the documentation.
Description check ✅ Passed The description includes both required sections (Description and Changes) but the Changes section is incomplete with only one item listed and an unchecked checkbox.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/kill-barn

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@alfetopito alfetopito requested review from a team March 25, 2026 14:52
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/cow-protocol/tutorials/solvers/onboard.md`:
- Line 143: Fix the typo in the sentence "An endpoint that you would like to use
for staging amd production." by replacing "amd" with "and" so it reads "An
endpoint that you would like to use for staging and production." Locate this
line in docs/cow-protocol/tutorials/solvers/onboard.md (the sentence text above)
and update the wording accordingly.
- Line 124: Replace the staging swap interface URL that currently points to
"https://dev.cow.fi" with the barn staging domain "https://barn.cow.fi" in the
onboarding doc; locate the occurrence of the dev.cow.fi link in the "onboard.md"
content (the line that instructs using the dev swap interface) and update the
hyperlink and any plain-text references to follow the barn.* naming convention
used elsewhere (e.g., barn.cow.fi).

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 63c8b7fa-3d23-44bd-8659-05c81f740c7f

📥 Commits

Reviewing files that changed from the base of the PR and between 9ac82cc and 291616e.

📒 Files selected for processing (1)
  • docs/cow-protocol/tutorials/solvers/onboard.md

After your solver is live and begins settling transactions, it will be your responsibility to monitor these addresses and to make sure that they hold enough funds to settle transactions for winning auctions.

In order to create some volume to test your solver, you can create orders on staging by using our barn swap interface ([https://barn.cow.fi](https://barn.cow.fi)).
In order to create some volume to test your solver, you can create orders on staging by using our dev swap interface ([https://dev.cow.fi](https://dev.cow.fi)).
Copy link
Contributor

@coderabbitai coderabbitai bot Mar 25, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Description: Find all barn subdomain references in documentation

# Search for barn.cow.fi and barn.api.cow.fi references
echo "=== References to barn.cow.fi ==="
rg -n "barn\.cow\.fi" docs/

echo -e "\n=== References to barn.api.cow.fi ==="
rg -n "barn\.api\.cow\.fi" docs/

Repository: cowprotocol/docs

Length of output: 2417


🏁 Script executed:

#!/bin/bash
# Check for references to dev.cow.fi
echo "=== References to dev.cow.fi ==="
rg -n "dev\.cow\.fi" docs/

# Get context around the onboard.md reference
echo -e "\n=== Context around onboard.md line 124 ==="
sed -n '120,130p' docs/cow-protocol/tutorials/solvers/onboard.md

# Get context around the local_test.md table
echo -e "\n=== Context around local_test.md table ==="
sed -n '45,75p' docs/cow-protocol/tutorials/solvers/local_test.md

Repository: cowprotocol/docs

Length of output: 3335


🏁 Script executed:

#!/bin/bash
# Check for references to staging environment across all docs
echo "=== References to 'staging' ==="
rg -n "staging" docs/cow-protocol/tutorials/solvers/ | head -20

# Check for 'barn' references with more context
echo -e "\n=== barn references with context ==="
rg -n "barn" docs/cow-protocol/tutorials/solvers/ -B 2 -A 2

# Check for other swap interface references
echo -e "\n=== Other references to swap interface ==="
rg -n "swap interface\|swap UI" docs/ -i

Repository: cowprotocol/docs

Length of output: 10985


Update swap interface reference to match staging (barn) naming convention.

Line 124 uses dev.cow.fi for the staging swap interface, but this breaks the established naming convention used throughout the documentation. The staging environment is consistently referred to as "barn" elsewhere in this file (line 101: "staging (barn) competition") and across the solver documentation, where all staging endpoints use the barn.* subdomain pattern (barn.api.cow.fi, barn.gnosis-protocol.io, etc.).

Update dev.cow.fi to align with the barn naming convention for consistency.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/cow-protocol/tutorials/solvers/onboard.md` at line 124, Replace the
staging swap interface URL that currently points to "https://dev.cow.fi" with
the barn staging domain "https://barn.cow.fi" in the onboarding doc; locate the
occurrence of the dev.cow.fi link in the "onboard.md" content (the line that
instructs using the dev swap interface) and update the hyperlink and any
plain-text references to follow the barn.* naming convention used elsewhere
(e.g., barn.cow.fi).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's a backend staging env called barn (barn.api.cow.fi), and a frontend semi-stating env called barn (barn.cow.fi).
The frontend one is being removed, and instead the dev (dev.swap.cow.fi) should be used instead.
That's the point of this change.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alfetopito, thanks for the clarification! I misidentified the two distinct barn environments. The backend staging API (barn.api.cow.fi) is separate from the frontend swap interface (barn.cow.fi), and since the frontend one is being decommissioned in favour of dev.cow.fi, the change in this PR is correct. I'll withdraw my concern.


✏️ Learnings added
Learnt from: alfetopito
Repo: cowprotocol/docs PR: 606
File: docs/cow-protocol/tutorials/solvers/onboard.md:124-124
Timestamp: 2026-03-26T09:21:38.746Z
Learning: In the CoW Protocol docs (cowprotocol/docs), there are two distinct "barn" environments:
1. Backend staging API: `barn.api.cow.fi` — this continues to exist and should remain referenced as `barn`.
2. Frontend semi-staging swap interface: `barn.cow.fi` — this is being removed/decommissioned and replaced with `dev.cow.fi` (also known as `dev.swap.cow.fi`).
When reviewing docs that reference `barn.cow.fi` vs `dev.cow.fi`, do NOT flag replacement of `barn.cow.fi` → `dev.cow.fi` as inconsistent; it is intentional and correct.

Note: Learnings are effective only in the context of similar code segments. To apply general coding guidelines, please configure review instructions. You can manage existing learnings in the app.


🧠 Learnings used
Learnt from: MarcusWentz
Repo: cowprotocol/docs PR: 586
File: docs/cow-protocol/tutorials/solvers/local_test.md:26-31
Timestamp: 2026-01-21T21:57:26.174Z
Learning: Document that the --native-price-estimators argument for the CoW Protocol autopilot CLI must use the Driver|name|url format (e.g., 'Driver|baseline|http://driver/baseline'), not just 'name|url'. Apply this guidance broadly in docs under the docs directory and include explicit examples to avoid ambiguity.

After joining the solver competition on Arbitrum we can enable your solver on other chains relatively soon. For this we will go through the same process of generating addresses, vouching for them, and whitelisting them. For each new chain that we deploy your solver on we will need:

- A rewards address for receiving the weekly COW rewards associated with that network;
- An endpoint that you would like to use for staging amd production.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix typo: "amd" should be "and".

There's a spelling error in this line.

📝 Proposed fix
-- An endpoint that you would like to use for staging amd production.
+- An endpoint that you would like to use for staging and production.
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- An endpoint that you would like to use for staging amd production.
- An endpoint that you would like to use for staging and production.
🧰 Tools
🪛 LanguageTool

[grammar] ~143-~143: Ensure spelling is correct
Context: ... that you would like to use for staging amd production. ## 9. Joining the mainnet ...

(QB_NEW_EN_ORTHOGRAPHY_ERROR_IDS_1)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/cow-protocol/tutorials/solvers/onboard.md` at line 143, Fix the typo in
the sentence "An endpoint that you would like to use for staging amd
production." by replacing "amd" with "and" so it reads "An endpoint that you
would like to use for staging and production." Locate this line in
docs/cow-protocol/tutorials/solvers/onboard.md (the sentence text above) and
update the wording accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant