Skip to content

Commit d179e9f

Browse files
committed
Merge branch 'develop' into fix/context-length-overflow
Signed-off-by: nac7 <lelenachiket07@gmail.com>
2 parents e131339 + 7846689 commit d179e9f

305 files changed

Lines changed: 24083 additions & 22372 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.coderabbit.yaml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,29 @@ reviews:
4545
# Post review details on each review. Additionally, post a review status when a review is skipped in certain cases.
4646
# Default: true
4747
review_status: false # current: true
48+
path_instructions:
49+
- path: "fern/docs.yml"
50+
instructions: |
51+
Redirect destinations for documentation pages must use the rendered Fern route from docs/index.yml, not the source file path.
52+
In docs/index.yml, the rendered URL comes from the section/page `slug` hierarchy; the `path` field only points to the source MDX file.
53+
For example, the source path docs/configure-rails/colang/colang-2/language-reference/introduction.mdx renders under /configure-guardrails/colang/colang-2/language-reference/introduction because the top-level Configure Guardrails section has slug `configure-guardrails`.
54+
Do not suggest replacing valid rendered routes such as /configure-guardrails/... with source-path-derived routes such as /configure-rails/....
55+
Before flagging a redirect destination as wrong, verify the route by tracing the relevant entries in docs/index.yml.
56+
- path: "docs/**/*.mdx"
57+
instructions: |
58+
Internal absolute documentation links in Fern MDX pages must use the rendered Fern route, not the source file path.
59+
Derive routes from the slug hierarchy in docs/index.yml. For example:
60+
- docs/configure-rails/index.mdx renders at /configure-guardrails/configure-rails, not /configure-rails.
61+
- docs/configure-rails/colang/index.mdx renders at /configure-guardrails/colang, not /configure-rails/colang.
62+
- docs/run-rails/index.mdx renders at /run-guardrailed-inference/run-rails, not /run-rails.
63+
- docs/getting-started/installation-guide.mdx renders at /get-started/installation-guide, not /getting-started/installation-guide.
64+
Before flagging or suggesting fixes for internal docs links, verify them with docs/index.yml.
65+
Do not suggest changing valid Fern routes back to source-path-style links.
66+
- path: "docs/**/*.ipynb"
67+
instructions: |
68+
Markdown links in documentation notebooks should match the rendered Fern routes when they point to docs pages.
69+
Use docs/index.yml slug hierarchy as the source of truth for internal documentation routes.
70+
Do not suggest changing valid Fern routes such as /configure-guardrails/... to source file paths such as /configure-rails/....
4871
# Configuration for pre merge checks
4972
# Default: {}
5073
pre_merge_checks:
@@ -67,4 +90,9 @@ reviews:
6790
# Review draft PRs/MRs.
6891
# Default: false
6992
drafts: false
93+
# Only auto-review PRs labeled `status: triaged` (auto-applied for maintainers
94+
# / NVIDIA-NeMo org members; a maintainer adds it after triage for external
95+
# contributors). Gates review noise on agent/external PRs.
96+
labels:
97+
- "status: triaged"
7098
# Base branches (other than the default branch) to review. Accepts regex patterns. Use '.*' to match all branches.
Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
name: Refactor Proposal
2+
description: Propose a maintainer-led refactor for discussion
3+
title: "refactor: "
4+
labels: ["refactoring", "status: needs triage"]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Refactors are maintainer-led and are not accepted as unsolicited pull requests.
10+
11+
Use this form to explain the problem and proposed direction. Maintainers decide whether the refactor should happen, what plan is acceptable, and who, if anyone, should be assigned to implement it.
12+
- type: checkboxes
13+
attributes:
14+
label: Required checks
15+
description: Confirm before submitting this proposal.
16+
options:
17+
- label: I searched existing issues and pull requests for related refactor proposals.
18+
required: true
19+
- label: I understand that opening this issue does not mean a refactor PR will be accepted.
20+
required: true
21+
- label: I understand that a refactor PR should not be opened unless a maintainer approves the plan and assigns the work.
22+
required: true
23+
- type: textarea
24+
attributes:
25+
label: Problem
26+
description: What is hard to maintain, unsafe, confusing, or blocking today?
27+
placeholder: Describe the current design problem and why it matters.
28+
validations:
29+
required: true
30+
- type: textarea
31+
attributes:
32+
label: Proposed direction
33+
description: What structural direction do you think maintainers should consider?
34+
placeholder: Keep this high level unless maintainers have asked for detailed design.
35+
validations:
36+
required: true
37+
- type: textarea
38+
attributes:
39+
label: Migration and compatibility notes
40+
description: What public APIs, config formats, docs, or user workflows could be affected?
41+
validations:
42+
required: true
43+
- type: textarea
44+
attributes:
45+
label: Validation plan
46+
description: What tests, docs checks, or compatibility checks would be needed?
47+
validations:
48+
required: true
49+
- type: textarea
50+
attributes:
51+
label: Risks
52+
description: List known risks, open questions, and possible alternatives.
53+
validations:
54+
required: true
55+
- type: textarea
56+
attributes:
57+
label: Relevant branch or files
58+
description: Optional. Share a WIP branch, affected files, or investigation notes if useful.
59+
validations:
60+
required: false
61+
- type: dropdown
62+
attributes:
63+
label: Are you interested in helping after maintainer approval?
64+
description: This does not assign you to the work. Maintainers decide ownership after triage.
65+
options:
66+
- I am only proposing this for maintainer consideration.
67+
- I can help with investigation if maintainers ask.
68+
- I can help implement after maintainers approve a plan and assign the work.
69+
validations:
70+
required: true

.github/PULL-REQUEST-TEMPLATE.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,36 @@
11
## Description
22

33
<!-- Describe the big picture of your changes to communicate to the maintainers
4-
why we should accept this pull request. -->
4+
why we should accept this pull request. Include any areas that need careful
5+
review. -->
56

67
## Related Issue(s)
78

89
<!--
9-
If this PR fixes any issues, please link to the issue here.
10+
Every PR must link to a triaged issue assigned to the PR author.
1011
- Fixes #<issue_number>
12+
- Issue assignee: @<username>
1113
-->
1214

15+
## Verification
16+
17+
<!-- CI runs the automated test suite. Note any verification beyond CI (manual
18+
checks, live/credentialed paths, docs build) and any relevant check you could
19+
not run, with residual risk. -->
20+
21+
## AI Assistance
22+
23+
- [ ] No AI tools were used.
24+
- [ ] AI tools were used; a human reviewed and can explain every change (tool: ___).
25+
1326
## Checklist
1427

1528
- [ ] I've read the [CONTRIBUTING](https://github.com/NVIDIA-NeMo/Guardrails/blob/develop/CONTRIBUTING.md) guidelines.
29+
- [ ] This PR links to a triaged issue assigned to me.
30+
- [ ] My PR title follows the project commit convention.
1631
- [ ] I've updated the documentation if applicable.
1732
- [ ] I've added tests if applicable.
33+
- [ ] I've noted any verification beyond CI and any checks I couldn't run.
34+
- [ ] I did not update generated changelog files manually.
35+
- [ ] I addressed all CodeRabbit, Greptile, and other review comments, or replied with why no change is needed.
1836
- [ ] @mentions of the person or team responsible for reviewing proposed changes.

.github/dependabot.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: monthly
7+
cooldown:
8+
default-days: 7
9+
groups:
10+
github-actions:
11+
patterns:
12+
- "*"

.github/workflows/_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ jobs:
104104

105105
- name: Upload coverage to Codecov
106106
if: inputs.with-coverage
107-
uses: codecov/codecov-action@v4
107+
uses: codecov/codecov-action@v7
108108
with:
109109
directory: ./coverage/reports/
110110
env_vars: PYTHON

0 commit comments

Comments
 (0)