Repository navigation
draft: bounded local-concurrency policy for #107 - #108
Draft
ORESoftware wants to merge 10 commits into
Draft
ORESoftware wants to merge 10 commits into
ORESoftware wants to merge 10 commits into
Conversation
Contributor
Author
|
@claude please review this draft policy alongside zed-pkg/zed-cli#473. Focus on whether it actually prevents O(input-size) thread/task/process/queue fan-out without over-banning legitimate fixed dedicated threads, and whether the staged enforcement guidance is suitable for zed-pkg lifecycle hooks, git hooks, and |
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #107
Companion governance and enforcement draft for
zed-pkg/zed-cli#472/ PR zed-pkg/zed-cli#473.What this draft now establishes
zed-cli#473design.Enforcement added
This draft now includes an actual shared advisory scanner rather than policy text only:
.ores-lint/concurrency-rust.shreports suspicious Rust direct thread spawns, thread-builder spawns, and unbounded std/Tokio/crossbeam channels with exact source locations;.ores-lint/lint.shwrapper invokes it in advisory mode so this rollout cannot suddenly break the fleet from lexical false positives;ORES_LINT_CONCURRENCY_STRICT=1;ORES_LINT_SKIP_CONCURRENCY_RUST=1provides an explicit skip control;ores-concurrency: allow <reason>marker;.ores-lint/CONCURRENCY.mddocuments scope, strict adoption, exceptions, and the fact that a lexical match is review evidence rather than proof of a defect;.ores-lintversion is bumped to1.4.0for the new scanner surface.Cross-repository links
Review focus
Please review:
This remains a draft while the
zed-cli#473scheduler design and this enforcement surface receive review.