Skip to content

Improve v1.0.2 performance and reliability - #10

Merged
dertin merged 3 commits into
mainfrom
feature/v1.0.2-performance-reliability
Aug 5, 2026
Merged

Improve v1.0.2 performance and reliability#10
dertin merged 3 commits into
mainfrom
feature/v1.0.2-performance-reliability

Conversation

@dertin

@dertin dertin commented Aug 5, 2026

Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b797b65948

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

);
let mut scan_overrides = overrides.clone();
scan_overrides.codegraph = codegraph.synchronized_count > 0;
scan_overrides.codegraph = codegraph.changed_count > 0;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve CodeGraph enrichment for current indexes

When csgraph sync is run with an initialized CodeGraph index that is already current, changed_count is 0 even though CodeGraph synchronization/corroboration is enabled by default. Setting scan_overrides.codegraph from only changed_count makes the following native scan skip run_codegraph_corroboration, so the first publish after enabling CodeGraph (or any native-only graph change while the index is current) produces no CodeGraph evidence or affected-test enrichment despite reporting the index as synchronized; avoid using index changes as the sole gate for whether the scan may use CodeGraph.

Useful? React with 👍 / 👎.

@dertin

dertin commented Aug 5, 2026

Copy link
Copy Markdown
Owner Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b797b65948

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

run_codegraph_sync(
&binary,
path,
Duration::from_millis(policy.max_codegraph_sync_wall_time_ms_per_repo),

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Keep CodeGraph sync within the per-repo deadline

For a stale CodeGraph index where codegraph status itself runs close to maxCodeGraphSyncWallTimeMsPerRepo, this gives the subsequent codegraph sync another full per-repository budget, so a single repository can consume almost 2x the configured limit before the scan begins. The execution policy defines this as the maximum wall time for one repository-local CodeGraph synchronization, so share a single deadline or pass only the remaining time into run_codegraph_sync.

Useful? React with 👍 / 👎.

/// The compatibility wrapper currently returns `Ok`; the result shape is retained so existing
/// callers do not require an API migration in the patch release.
pub fn link_http_boundaries(boundaries: &[HttpBoundary]) -> Result<Vec<Edge>, LinkError> {
Ok(link_http_boundaries_with_ambiguities(boundaries).edges)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve ambiguity errors in the compatibility wrapper

For library callers that still use the public link_http_boundaries API, duplicate exact providers now produce Ok with the ambiguous edge silently omitted; there is no degradations field in this return type, so callers can publish or use an incomplete graph while their existing LinkError::AmbiguousProvider handling is bypassed. Keep this wrapper fail-closed and reserve the new _with_ambiguities API for callers that actually consume the ambiguity report.

Useful? React with 👍 / 👎.

dertin added 2 commits August 5, 2026 00:54
Align packaged release and installation guidance with the version being published.
@dertin
dertin merged commit 4cfe661 into main Aug 5, 2026
10 checks passed
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