-
Notifications
You must be signed in to change notification settings - Fork 16
fix(ci): track profiles/providers in select-eval-agents.sh #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -39,9 +39,14 @@ extract_refs() { | |
| (.host_files[]?.src), | ||
| (.skills[]?), | ||
| (.plugins[]?), | ||
| .forge.github.pre_script, .forge.github.post_script | ||
| .forge.github.pre_script, .forge.github.post_script, | ||
| (.openshell.profiles[]?), | ||
| (.providers[]?) | ||
|
Comment on lines
+43
to
+44
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [MEDIUM] premature-decision β fix locks in a schema from an unmerged, still-open PR The new extraction fields (
Suggestion: sequence this to land together with (or rebased onto) #211 rather than independently, or add a comment tying this extraction to the specific #211 commit/schema it depends on so drift is traceable. Flagged independently by all 3 reviewers (Claude, Claude, Grok).
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| ] | .[] | select(. != null) | ||
| ' "$harness_file" | { grep -v '\$' || true; } | sort -u | ||
| ' "$harness_file" \ | ||
| | { grep -v '\$' || true; } \ | ||
| | sed -E 's/#.*//; s|^https://raw\.githubusercontent\.com/.*/(profiles/)|\1|; s|^https://raw\.githubusercontent\.com/.*/(providers/)|\1|' \ | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [MEDIUM] premature-decision β greedy match on Verified directly: The correct repo-relative path here is Suggestion: anchor the match to the known org/repo and ref boundary rather than a bare "contains Flagged independently by 2 of 3 reviewers (Claude, Claude) and confirmed by direct reproduction above.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Acknowledged. After #211 merged, profiles and providers use local paths (not raw.githubusercontent.com URLs), making the sed URL-stripping a no-op. We removed it during rebase conflict resolution. The greedy regex concern is moot since the sed pipeline is gone. PR closed as superseded β all substantive changes already landed on main. |
||
| | sort -u | ||
| } | ||
|
|
||
| # For each harness file with an eval config, check if any changed file is relevant. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[MEDIUM] premature-decision β "multi-segment ref" test-plan claim isn't backed by any test
The PR description checks off: "URL stripping handles multi-segment refs (
refs/pull/211/head,refs/heads/main,v1.0.0)". But every fixture URL added in this PR (here and the matching block forreview.yaml) uses only the single-segment refmainβ none userefs/pull/.../heador a tag. This matters because PR #211's actual harness files use exactly the multi-segment form today, e.g..../agents/refs/pull/211/head/profiles/fullsend-vertex-ai.yaml#sha256=.... That case does resolve correctly against the current sed pipeline (verified by hand), but that verification is an unchecked, ad-hoc claim rather than committed regression coverage β a future edit to the sed pattern could break multi-segment handling without any test failing.Suggestion: add a fixture/test case using a multi-segment ref (e.g.
refs/heads/main/profiles/...) so the checked box is actually backed by an assertion.Flagged independently by all 3 reviewers (Claude, Claude, Grok).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moot β the sed URL-stripping that would handle multi-segment refs has been removed (paths are local after #211 merged). No URL parsing means no multi-segment ref handling needed. PR closed as superseded.