Repository navigation
perf(ci): omit Docker-in-Docker from GitLab Tier 2 - #408
Merged
Merged
Conversation
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…nboarding Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
…nboarding Signed-off-by: Narendran Raghavan <[email protected]> # Conflicts: # CHANGELOG.md
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
- Send only SKILLEVALUATOR_GITLAB_TOKEN to the origin host, and require --tiers or --platform gitlab before contacting a non-github.com origin. - Report a GitLab root config as configured only when it passes the same include checks as trusted feedback; read the default-branch pipeline. - Parse trusted-caller-blobs exactly like the feedback job. - Point setup next steps at ci demo --tiers 1,2,3. - Reject all-tier-only init options when --tiers is omitted. - Create the receipt directory before saving files or opening a PR/MR. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
- Aggregate the newest tier artifact from this or an earlier attempt, so "Re-run failed jobs" no longer drops Tier 1 or Tier 2/3 evidence from jobs that were not rerun; accept ci-tier.json from attempts 1..current of the same run and record each tier's source_attempt. - Stop GitHub paid-tier evaluation before the job timeout so the controlled timeout path retains evidence, and keep the time-budget diagnostic when no report was produced. - Downgrade a skill whose post-run Tier 3 recheck fails instead of aborting the aggregate, and treat neutral or skipped claims missing selected skills as incomplete. - Accept skill directories containing #, %, : or ? in the manifest. - Pin OpenCode for Harbor-installed runs with the release CI bootstraps. - Let run_tiers pick the embedding default and forward Docker TLS settings. - Document neutral, source_attempt and Tier 2's real inputs and findings. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
… pin - Treat manifest skill paths as escaped display text, so a legal POSIX directory such as skills/a\b no longer aborts the aggregate after its tier passed; generated report paths still reject backslashes and URL delimiters. - Document that Harbor installs OpenCode 1.19.5 and assert the pin on both agent pages so future drift fails the docs test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…rk runs - read_results accepts the producer's incomplete downgrade of a neutral Tier 3 result by checking the pre-neutral native status; neutral now also requires complete paired execution, so nothing is promoted. - GitLab artifact downloads follow object-storage redirects (HTTPS only, no userinfo, at most five hops) without forwarding PRIVATE-TOKEN; JSON API calls still refuse redirects. - GitHub report comments are deferred to only when their run marker names a producer run of the approved caller for the same PR head; forged or stale github-actions[bot] markers are overwritten and never raise. - Fork PR runs and superseded producer attempts are skipped instead of failing, in both the reusable job condition and github_feedback. - The GitLab source pipeline may still be pending, running or manual; the bound aggregate and request jobs prove completion. - The archive member limit is derived from the documented 100-skill limit. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…to the PR
- Non-success Tier 2/3 skills and a failed Tier 2 catalog retain worker
diagnostics that read_results never opens. Members under
tier{2,3}/skill-NNN/diagnostics/ and tier2/catalog/diagnostics/ no longer
consume the report member or expansion limits; they have their own bound
derived from ci/diagnostics.py (files, bytes and nested directories), so
100 failing skills with retained logs are accepted on GitHub and GitLab.
- A report comment marker now verifies only for a producer run whose head
repository is this repository and whose recorded pull requests, when
present, include this PR, so fork or sibling-PR runs of the same head
cannot make the genuine run defer.
- Correct the GitHub docs on which report comments are deferred to,
updated in place, or left untouched.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
- Run the Docker-in-Docker daemon with TLS (port 2376, /certs) so agent containers cannot use its API; document the /certs/client runner volume. - End the evaluator budget min(20, minutes / 4) minutes before the native job timeout (16800 s for 300 minutes) so evidence is retained. - Declare environment action prepare on native jobs: scoped secrets stay, but no deployment is recorded for outdated-deployment checks to drop. - Offer .skill-evaluation-not-feedback, document the SKILL_EVAL_FEEDBACK job guard, and warn in ci status about unguarded root jobs. - Never replace an existing root .gitlab-ci.yml: preview prints the rendered files and merge steps; save and pr refuse with guidance. - Preview lists proposed files; --show-files prints their contents. - Say that a refused feedback request skips comments, not the gate. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
The GitHub feedback job shared one repository-wide concurrency group with the default single pending slot, so a third PR's producer run cancelled a second PR's pending feedback and that PR never got its comment. Scope the group to the workflow_run head repository and branch, and queue up to 100 pending runs, matching the publish workflow. The compact comment renderer escaped "@" as "@", which Markdown decodes back to "@" before GitHub and GitLab resolve mentions. Insert a zero-width space after "@" as the previous renderer did, and test hostile skill paths, reasons, errors and top issues for both bare and entity-encoded mentions. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…only for execution failures - Share one CI-setup predicate (select_changed_skills.setup_changed) between run_tiers and the Tier 1 checks. Tiers 2/3 no longer widen to a full scan for a consumer's ci/ scripts, see both sides of a rename, and on GitHub take the eligibility job's scan mode, including its large-diff fallback. Tests keep the inline GitHub and GitLab predicates equal to the Python one. - Aggregate rows keep each tier's selected skills, so the PR/MR comment shows "Skipped · Not selected for this tier" instead of INCOMPLETE. - Retain worker diagnostics only for incomplete/not_run skills or unexpected exit codes, not complete failed or neutral verdicts. Keep command.log first, one trial per Harbor job (failing first) and at most four per skill, and share a 1000-file / 16 MiB budget across a tier, within feedback's bounds. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
… across jobs - Retain worker diagnostics when the canonical report records incomplete evidence, even behind a failed verdict: Tier 3 execution that is not complete (one agent failed while another scored a fail), or incomplete scans in Tiers 1/2 where a blocking finding outranks them in the status. - Choose diagnostic trials across every Harbor job of a skill before collecting: one per job, failing trials first, at most four. A failing agent whose jobs sort last is no longer pushed out by passing jobs. - Require --timeout-minutes of at least 10, so the evaluator budget always ends at least two minutes before the rendered job timeout. Document that a GitLab job stopped at its timeout still uploads no native evidence. - Describe the current diagnostics producer contract above feedback's diagnostic bound and rename the matching test. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
`git remote get-url origin` applies url.<base>.insteadOf rules. A developer-level rule such as https://github.com/ -> ssh://[email protected]/ turned the supported github.com origin into an ssh:// URL, so `ci init` refused it and the onboarding test suites failed outside CI. Parse the configured remote.origin.url first and fall back to the rewritten URL, which keeps alias origins such as gh:owner/repo working. Tier 1 and all-tier onboarding share the helper. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…rors accurate - Merge steps (CLI preview, docs, template, catalog) say to keep `test` in a root `stages` list; every SkillEvaluator job uses stage test. - The upgrade path in cli-onboarding merges the SKILL_EVAL_FEEDBACK job guards to the default branch before the setup MR, matching the GitLab guide and the CLI. - `extends: .skill-evaluation-not-feedback` is offered only for jobs without rules, only or except; ci status and preview treat a job that keeps only/except (directly or through extends) as unguarded. - The trusted feedback job uses `environment: action: prepare`: its scoped publisher token and deploy access still apply, ci/feedback.py never reads a deployment record, and "Prevent outdated deployment jobs" can no longer drop an older MR's feedback. - Document that deployment approvals do not gate prepare jobs; restrict them with protected-environment deploy access. - The feedback request names the failure: a permission hint only for HTTP 400/401/403/404 (protected-branch pipelines and pipeline variables), a retry hint for other HTTP errors, and separate transport, CI-context and response messages. Every failure still skips feedback, not the Tier 1 gate. - A pr-mode remote root conflict tells the user to update the checkout to the default branch before --mode preview prints the merge steps. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
…curate - Guards merged before the setup MR use rules: a job without rules, only or except gets the guard followed by `- when: on_success`. The hidden `.skill-evaluation-not-feedback` job comes from the all-tiers include, so `extends` of it fails validation until the setup MR merges (CLI step 5, gitlab-ci.mdx step 5 and the template comment). - Guard detection resolves only/except as extends does: a job's own value, even null, overrides inherited ones and the last parent wins, so a null override beside guard rules no longer reports the job as unguarded. - Do not add deployment approval rules to the prepare-job environments: depending on the GitLab version and prevent_blocking_non_deployment_jobs, approvals either do not gate these jobs or turn them into manual jobs. - The CLI's GitLab prerequisite names permission to pass pipeline variables. - The feedback request's context hint names the HTTPS API URL requirement. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Narendran Raghavan <[email protected]>
Resolve CHANGELOG.md by keeping main's Unreleased layout and adding this branch's all-tier CI entries under Added and Changed. Main's Fixed section already rewords the PII digest entry. Keep both new tests in tests/ci/test_native_reports.py. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
Signed-off-by: Narendran Raghavan <[email protected]>
rng1995
requested review from
chrisknvidia,
mosheabr and
rmalani-nv
as code owners
November 9, 2026 17:28
Signed-off-by: Narendran Raghavan <[email protected]>
… schema Signed-off-by: Narendran Raghavan <[email protected]>
This was referenced Nov 9, 2026
10 tasks done
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.
Problem and behavior
GitLab’s shared native matrix starts Docker-in-Docker for Tier 2 although deduplication only needs chat and embeddings. Tier 2 now runs with no services or Docker client configuration; Tier 3 retains its TLS-protected daemon.
Follows merged #349. This PR targets
main.Changes
skill-evaluation-nativefor Tier 3; add a Tier 2 child inheriting timeout, tags, environment, admission rules and advisory policy.ci status; update GitLab docs/template comments.157bab5730759cb46b40645beb1c65542fb21520.metadata.domain; no skill content or gate policy is weakened.Validation
Branch sync after #349’s squash merge preserved the reviewed tree exactly. No GitLab pipeline/server lint was executed and no runner/credentials were changed; the disposable runner remains paused.