Skip to content

doc: update the readme.md - #91

Merged
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
kerthcet:feat/support-logging
Sep 4, 2026
Merged

doc: update the readme.md#91
InftyAI-Agent merged 2 commits into
InftyAI:mainfrom
kerthcet:feat/support-logging

Conversation

@kerthcet

@kerthcet kerthcet commented Sep 4, 2026

Copy link
Copy Markdown
Member

What this PR does / why we need it

Which issue(s) this PR fixes

Fixes #

Special notes for your reviewer

Does this PR introduce a user-facing change?


Signed-off-by: kerthcet <kerthcet@gmail.com>
Copilot AI lite review requested due to automatic review settings September 4, 2026 13:08
@kerthcet

kerthcet commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

/lgtm
/kind documentation

@InftyAI-Agent InftyAI-Agent added needs-triage Indicates an issue or PR lacks a label and requires one. needs-priority Indicates a PR lacks a label and requires one. do-not-merge/needs-kind Indicates a PR lacks a label and requires one. approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Looks good to me, indicates that a PR is ready to be merged. documentation Categorizes issue or PR as related to documentation. and removed do-not-merge/needs-kind Indicates a PR lacks a label and requires one. labels Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

Adds behavioral validation without corresponding tests and the PR metadata currently frames it as documentation-only.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Updates Nebula documentation to better describe capabilities and configuration while tightening provider catalog CSV validation to prevent invalid pricing data from entering the system.

Changes:

  • Add a README “Features” section and document NodePool spec.egress configuration in the example.
  • Reject negative price_per_hour values when parsing provider offering CSVs (in addition to non-finite values).
File summaries
File Description
README.md Adds a Features section and expands the NodePool example to include spec.egress.
pkg/provider/catalog/catalog.go Extends CSV price validation to reject negative values with a clearer error message.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 3
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread pkg/provider/catalog/catalog.go
Comment thread README.md Outdated
Comment thread pkg/provider/catalog/catalog.go
Copilot AI review requested due to automatic review settings September 4, 2026 13:12
@InftyAI-Agent InftyAI-Agent removed the lgtm Looks good to me, indicates that a PR is ready to be merged. label Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

It introduces a behavior change (reject negative prices) without corresponding test coverage, and adds a doc TOC entry that links to a missing section.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review details

Suppressed comments (1)

pkg/provider/catalog/catalog.go:196

  • This change now rejects negative prices, but the existing tests only cover non-finite values (see TestLoadFrom_RejectsNonFinitePrice). Please add a test case that ensures a negative price_per_hour (e.g. "-1") is rejected, so this behavior stays protected.
		if math.IsNaN(price) || math.IsInf(price, 0) || price < 0 {
			return nil, fmt.Errorf("row %d: price_per_hour %q must be a non-negative finite number", i, field(rec, colPrice))
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

Comment thread docs/log-shipping.md Outdated
@kerthcet

kerthcet commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

/hold

@InftyAI-Agent InftyAI-Agent added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 4, 2026
Signed-off-by: kerthcet <kerthcet@gmail.com>
Copilot AI review requested due to automatic review settings September 4, 2026 13:18
@kerthcet
kerthcet force-pushed the feat/support-logging branch from e3eb568 to e939d35 Compare September 4, 2026 13:18
@kerthcet

kerthcet commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

/unhold

@InftyAI-Agent InftyAI-Agent removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Sep 4, 2026
@kerthcet

kerthcet commented Sep 4, 2026

Copy link
Copy Markdown
Member Author

/lgtm

@InftyAI-Agent InftyAI-Agent added the lgtm Looks good to me, indicates that a PR is ready to be merged. label Sep 4, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The PR scope/title is doc-only but includes functional code changes, and the new negative-price behavior should be covered by a unit test.

Review details

Suppressed comments (2)

pkg/provider/catalog/catalog.go:196

  • The new validation also rejects negative prices, but the unit tests only cover non-finite values (NaN/Inf). Add a test case for a negative price_per_hour (e.g. "-0.01") to ensure this behavior stays covered.
		if math.IsNaN(price) || math.IsInf(price, 0) || price < 0 {
			return nil, fmt.Errorf("row %d: price_per_hour %q must be a non-negative finite number", i, field(rec, colPrice))

pkg/provider/catalog/catalog.go:196

  • This PR is titled/positioned as a README-only doc update, but it also changes CSV parsing/validation behavior in code. Please update the PR title/description to reflect the code change (or split the code fix into a separate PR) so reviewers can triage scope correctly.
		if math.IsNaN(price) || math.IsInf(price, 0) || price < 0 {
			return nil, fmt.Errorf("row %d: price_per_hour %q must be a non-negative finite number", i, field(rec, colPrice))
  • Files reviewed: 2/2 changed files
  • Comments generated: 0 new
  • Review effort level: Lite

@InftyAI-Agent InftyAI-Agent left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Approved: PR has both lgtm and approved labels

@InftyAI-Agent
InftyAI-Agent merged commit 1866966 into InftyAI:main Sep 4, 2026
18 checks passed
@kerthcet
kerthcet deleted the feat/support-logging branch September 4, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. documentation Categorizes issue or PR as related to documentation. lgtm Looks good to me, indicates that a PR is ready to be merged. needs-priority Indicates a PR lacks a label and requires one. needs-triage Indicates an issue or PR lacks a label and requires one.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants