Skip to content

Conversation

@viramhh98
Copy link

@viramhh98 viramhh98 commented Sep 16, 2025

Description

  • Fixed/updated the description in the website submodule for clarity
  • Made minor adjustments to documentation/content

Related Issue(s)

Summary by CodeRabbit

  • New Features

    • None
  • Bug Fixes

    • Updated the AsyncAPI Server API website link to point to the current documentation, ensuring users are directed to the correct page.
  • Documentation

    • Refreshed external reference for the AsyncAPI Server to the latest docs URL.
  • Chores

    • Aligned tool link configurations to maintain consistency across automated and manual listings.

@netlify
Copy link

netlify bot commented Sep 16, 2025

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c29ff57
🔍 Latest deploy log https://app.netlify.com/projects/asyncapi-website/deploys/68ccf0a51ec70f00084f12fd
😎 Deploy Preview https://deploy-preview-4420--asyncapi-website.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 16, 2025

Walkthrough

Updated the AsyncAPI Server API entry’s links.websiteUrl from https://api.asyncapi.com/v1 to https://www.asyncapi.com/docs/concepts/server in both config/tools-automated.json and config/tools.json. No other fields or logic changed.

Changes

Cohort / File(s) Summary of changes
Config: Tools listings
config/tools-automated.json, config/tools.json
Update APIs.toolsList[].links.websiteUrl for AsyncAPI Server API to https://www.asyncapi.com/docs/concepts/server (from https://api.asyncapi.com/v1).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related PRs

Suggested labels

ready-to-merge

Suggested reviewers

  • derberg
  • akshatnema
  • anshgoyalevil
  • sambhavgupta0705

Poem

I nudge a link with a gentle hop,
From api to docs—a tidy stop.
Two files aligned, neat as a burrow,
Carrots checked, no need to furrow.
Pat-pat, URLs now in sync—
Thump of approval: link by link. 🥕✨

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


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.

Pre-merge checks

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
Title Check ✅ Passed The title "fix: update website link in website submodule (#3797)." succinctly and accurately captures the main change in this PR, which is the update of the AsyncAPI website URL in config/tools-automated.json and config/tools.json; it is concise, on-topic, and readable for a quick scan of history.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

@codecov
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (2d77a72) to head (c29ff57).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #4420   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           22        22           
  Lines          778       778           
  Branches       144       144           
=========================================
  Hits           778       778           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@asyncapi-bot
Copy link
Contributor

asyncapi-bot commented Sep 16, 2025

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 38
🟢 Accessibility 98
🟢 Best practices 92
🟢 SEO 100
🔴 PWA 33

Lighthouse ran on https://deploy-preview-4420--asyncapi-website.netlify.app/

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: 1

📜 Review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between c716db8 and d77ec96.

📒 Files selected for processing (2)
  • config/tools-automated.json (1 hunks)
  • config/tools.json (1 hunks)
🧰 Additional context used
🧠 Learnings (2)
📓 Common learnings
Learnt from: anshgoyalevil
PR: asyncapi/website#3557
File: tests/fixtures/markdown/check-edit-links-data.js:3-11
Timestamp: 2025-01-19T04:51:41.255Z
Learning: In the AsyncAPI website repository, the test data in `tests/fixtures/markdown/check-edit-links-data.js` intentionally includes inconsistent paths (with and without 'docs' prefix) to verify the script's ability to normalize and handle ambiguous path structures.
Learnt from: bandantonio
PR: asyncapi/website#4264
File: markdown/docs/tutorials/getting-started/coming-from-openapi.md:24-25
Timestamp: 2025-07-19T20:58:34.040Z
Learning: In the AsyncAPI website documentation, anchor references to specification sections can use camelCase format (e.g., #serverObject, #parameterObject, #messageObject) even if the actual HTML IDs on the spec page use hyphenated lowercase format. This is acceptable and should not be changed.
📚 Learning: 2025-01-19T04:51:41.255Z
Learnt from: anshgoyalevil
PR: asyncapi/website#3557
File: tests/fixtures/markdown/check-edit-links-data.js:3-11
Timestamp: 2025-01-19T04:51:41.255Z
Learning: In the AsyncAPI website repository, the test data in `tests/fixtures/markdown/check-edit-links-data.js` intentionally includes inconsistent paths (with and without 'docs' prefix) to verify the script's ability to normalize and handle ambiguous path structures.

Applied to files:

  • config/tools-automated.json
⏰ Context from checks skipped due to timeout of 180000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: Test NodeJS PR - windows-latest
  • GitHub Check: Lighthouse CI
🔇 Additional comments (1)
config/tools.json (1)

26-29: websiteUrl points at a concept doc — change to the API base or repo

websiteUrl currently resolves to https://www.asyncapi.com/docs/concepts/server (your check returned HTTP 200). docsUrl is https://api.asyncapi.com/v1/docs and repoUrl is https://github.com/asyncapi/server-api. Recommended: set websiteUrl to the API base (https://api.asyncapi.com/v1 — preferred) or to the repo.

Apply one of these diffs (preferred: restore previous):

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://api.asyncapi.com/v1",

or

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://github.com/asyncapi/server-api",

Run this verification and paste full output:

for u in \
  "https://www.asyncapi.com/docs/concepts/server" \
  "https://api.asyncapi.com/v1" \
  "https://api.asyncapi.com/v1/docs" \
  "https://github.com/asyncapi/server-api"
do
  echo "----"
  echo "$u"
  curl -sS -I -L -o /dev/null -w 'HTTP_CODE:%{http_code}  URL:%{url_effective}\n' "$u" || echo "curl failed for $u"
done

Comment on lines +31 to 34
"websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
"docsUrl": "https://api.asyncapi.com/v1/docs",
"repoUrl": "https://github.com/asyncapi/server-api"
},
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

🧩 Analysis chain

Automated config drift: same incorrect link.

Mirror the fix here so both configs stay in sync; use the API base, docs, or repo instead of the Server concept page. (asyncapi.com)

Apply one of:

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://api.asyncapi.com/v1",

or

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://github.com/asyncapi/server-api",

Run the same URL check as above after updating.


🏁 Script executed:

#!/bin/bash
# Search repo for the exact problematic URL and related fields, and dump the config file if present.
set -euo pipefail

echo "---- 1) Find exact occurrences of the problematic URL ----"
rg -n --hidden -S "https://www.asyncapi.com/docs/concepts/server" -g '!*node_modules/*' -g '!*dist/*' || true
echo

echo "---- 2) Show config/tools-automated.json (first 300 lines) ----"
if [ -f config/tools-automated.json ]; then
  sed -n '1,300p' config/tools-automated.json || true
else
  echo "config/tools-automated.json not found"
fi
echo

echo "---- 3) Find all 'websiteUrl' entries across the repo (with surrounding context) ----"
rg -n --hidden -S '"websiteUrl"\s*:\s*".+?"' -g '!*node_modules/*' -g '!*dist/*' -C2 || true
echo

echo "---- 4) Search for api.asyncapi.com/v1 and github.com/asyncapi/server-api usages ----"
rg -n --hidden -S "api.asyncapi.com/v1" -g '!*node_modules/*' -g '!*dist/*' || true
rg -n --hidden -S "github.com/asyncapi/server-api" -g '!*node_modules/*' -g '!*dist/*' || true
echo

echo "---- 5) Print exit (script finished) ----"

Length of output: 10723


Automated config drift — fix duplicate incorrect websiteUrl in config/tools-automated.json

config/tools-automated.json (toolsList entry "AsyncAPI Server API", lines 31–34) still uses "https://www.asyncapi.com/docs/concepts/server"; mirror the other config and replace with the API base or the repo.

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://api.asyncapi.com/v1",

or

-          "websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
+          "websiteUrl": "https://github.com/asyncapi/server-api",

Run the same URL check after updating.

📝 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
"websiteUrl": "https://www.asyncapi.com/docs/concepts/server",
"docsUrl": "https://api.asyncapi.com/v1/docs",
"repoUrl": "https://github.com/asyncapi/server-api"
},
"websiteUrl": "https://api.asyncapi.com/v1",
"docsUrl": "https://api.asyncapi.com/v1/docs",
"repoUrl": "https://github.com/asyncapi/server-api"
},
🤖 Prompt for AI Agents
In config/tools-automated.json around lines 31 to 34, the toolsList entry
"AsyncAPI Server API" has an incorrect duplicate websiteUrl
("https://www.asyncapi.com/docs/concepts/server"); update that value to match
the other config entry (use the API base URL or the repository URL, e.g., the
repoUrl "https://github.com/asyncapi/server-api" or the proper API base like
"https://api.asyncapi.com/"), and then run the URL check/validation used by the
repo to ensure the new URL passes automated checks.

@viramhh98 viramhh98 changed the title Fix description in website submodule issue (#3797). Fix: update website link in website submodule" (#3797). Sep 16, 2025
@viramhh98 viramhh98 changed the title Fix: update website link in website submodule" (#3797). fix: update website link in website submodule(#3797). Sep 16, 2025
@viramhh98 viramhh98 changed the title fix: update website link in website submodule(#3797). fix: update website link in website submodule (#3797). Sep 16, 2025
@viramhh98
Copy link
Author

/rtm

@asyncapi-bot
Copy link
Contributor

Hello, @viramhh98! 👋🏼
This PR is not up to date with the base branch and can't be merged.
Please update your branch manually with the latest version of the base branch.
PRO-TIP: To request an update from the upstream branch, simply comment /u or /update and our bot will handle the update operation promptly.

       The only requirement for this to work is to enable [Allow edits from maintainers](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork) option in your PR. Also the update will not work if your fork is located in an organization, not under your personal profile.
       Thanks 😄

@viramhh98
Copy link
Author

/help

@asyncapi-bot
Copy link
Contributor

Hello, @viramhh98! 👋🏼

    I'm 🧞🧞🧞 Genie 🧞🧞🧞 from the magic lamp. Looks like somebody needs a hand!

    At the moment the following comments are supported in pull requests:

    - `/please-take-a-look` or `/ptal` - This comment will add a comment to the PR asking for attention from the reviewrs who have not reviewed the PR yet.
    - `/ready-to-merge` or `/rtm` - This comment will trigger automerge of PR in case all required checks are green, approvals in place and do-not-merge label is not added
    - `/do-not-merge` or `/dnm` - This comment will block automerging even if all conditions are met and ready-to-merge label is added
    - `/autoupdate` or `/au` - This comment will add `autoupdate` label to the PR and keeps your PR up-to-date to the target branch's future changes. Unless there is a merge conflict or it is a draft PR. (Currently only works for upstream branches.)
    - `/update` or `/u` - This comment will update the PR with the latest changes from the target branch. Unless there is a merge conflict or it is a draft PR. NOTE: this only updates the PR once, so if you need to update again, you need to call the command again.

@viramhh98 viramhh98 closed this Sep 19, 2025
@viramhh98 viramhh98 deleted the fix-broken-link branch September 21, 2025 15:24
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.

2 participants