Skip to content

MAF-19288: docs(website): add heimdall plugin reference#57

Merged
hhk7734 merged 3 commits intomainfrom
MAF-19288
Feb 12, 2026
Merged

MAF-19288: docs(website): add heimdall plugin reference#57
hhk7734 merged 3 commits intomainfrom
MAF-19288

Conversation

@hhk7734
Copy link
Copy Markdown
Member

@hhk7734 hhk7734 commented Feb 12, 2026

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds comprehensive plugin reference documentation for the Heimdall scheduling system. The documentation covers profile handlers, filters, scorers, pickers, and response plugins used in Heimdall's configuration. The PR also updates the AGENTS.md file to formalize the sidebar_position frontmatter requirement and adds helpful Docusaurus reference links.

Changes:

  • Added new plugin reference documentation (plugin.mdx) with detailed parameter tables for all Heimdall plugin types
  • Updated api-reference.mdx to include sidebar_position field in frontmatter
  • Enhanced AGENTS.md with sidebar_position requirement and Docusaurus documentation links

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
website/docs/reference/heimdall/plugin.mdx New comprehensive reference documentation for Heimdall plugins including profile handlers, filters, scorers, pickers, and response plugins
website/docs/reference/heimdall/api-reference.mdx Added sidebar_position field to frontmatter for proper sidebar ordering
website/AGENTS.md Updated documentation guidelines to include sidebar_position in frontmatter template and added Docusaurus reference links

Comment thread website/docs/reference/heimdall/plugin.mdx Outdated
Comment thread website/docs/reference/heimdall/plugin.mdx Outdated
Comment thread website/docs/reference/heimdall/plugin.mdx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings February 12, 2026 16:51
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@hhk7734 hhk7734 merged commit 507d9c0 into main Feb 12, 2026
3 checks passed
@hhk7734 hhk7734 deleted the MAF-19288 branch February 12, 2026 16:53
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 5 comments.

Comment on lines +1 to +5
---
title: Heimdall Plugin
sidebar_label: Plugin
sidebar_position: 2
---
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The frontmatter doesn’t follow the contributor guidance in website/AGENTS.md that says to wrap title in single quotes. Either update this page’s frontmatter to match the rule or adjust the rule to reflect the actual convention used across the docs.

Copilot uses AI. Check for mistakes.

### `active-request-scorer`

Scores pods based on the number of active requests being served. Scores are normalized from 0 to 1.
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

Grammar: “Scored normalized from 0 to 1.” is ungrammatical and reads like a typo. Consider rephrasing to something like “Scores are normalized from 0 to 1.”

Suggested change
Scores pods based on the number of active requests being served. Scores are normalized from 0 to 1.
Scores pods based on the number of active requests being served. The scores are normalized to the range [0, 1].

Copilot uses AI. Check for mistakes.
Comment on lines +131 to +134
| Parameter | Type | Default | Description |
| :------------- | :---- | :------ | :------------------------------------- |
| `size` | `int` | `1e8` | Maximum number of keys in the index. |
| `podCacheSize` | `int` | `10` | Maximum number of pod entries per key. |
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

inMemoryConfig.size is documented as an int but the default is written as 1e8. Many configuration formats treat scientific notation as a float (or reject it for integers), so this default may be confusing/misleading. Prefer spelling this out as an integer literal (e.g., 100000000) if that’s the intended value.

Suggested change
| Parameter | Type | Default | Description |
| :------------- | :---- | :------ | :------------------------------------- |
| `size` | `int` | `1e8` | Maximum number of keys in the index. |
| `podCacheSize` | `int` | `10` | Maximum number of pod entries per key. |
| Parameter | Type | Default | Description |
| :------------- | :---- | :--------- | :------------------------------------- |
| `size` | `int` | `100000000`| Maximum number of keys in the index. |
| `podCacheSize` | `int` | `10` | Maximum number of pod entries per key. |

Copilot uses AI. Check for mistakes.
Comment on lines 1 to 5
---
title: Heimdall API Reference
sidebar_label: API Reference
sidebar_position: 1
---
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

The frontmatter doesn’t follow the contributor guidance in website/AGENTS.md that says to wrap title in single quotes. Either update this page’s frontmatter to match the rule or adjust the rule to reflect the actual convention used across the docs.

Copilot uses AI. Check for mistakes.
Comment thread website/AGENTS.md
Comment on lines 7 to 14
- **Frontmatter**: All `.mdx` files must start with the following (wrap titles in single quotes):
```mdx
---
title: <title>
sidebar_label: <label>
sidebar_position: <position>
---
```
Copy link

Copilot AI Feb 12, 2026

Choose a reason for hiding this comment

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

This section says “wrap titles in single quotes”, but the example frontmatter block doesn’t show quotes around title, and the new sidebar_position requirement isn’t reflected elsewhere in the docs (e.g., existing pages omit it). Please make the written rule and the example consistent, and clarify whether sidebar_position is mandatory or only recommended for ordering.

Copilot uses AI. Check for mistakes.
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