Skip to content

Import upstream #235: fix COPY option round-trip handling - #29

Open
allancascante wants to merge 1 commit into
mainfrom
feature/upstream-pr-235
Open

allancascante wants to merge 1 commit into
mainfrom
feature/upstream-pr-235

Conversation

@allancascante

Copy link
Copy Markdown

Description

Caso de validación experimental importado de microsoft#235

Origen: microsoft#235 (fusionado en upstream).
Issue de pruebas integrales: #28 (Refs #28; no cerrar automaticamente).

Control experimental fusionado: corregir el formato y round-trip de opciones COPY, conservando comillas, prefijos nacionales y el comportamiento existente de mayusculas/minusculas. Incluye las pruebas originales para versiones de parser y modos de formato.

Importacion mediante cherry-pick -x del commit 3ea69b6fc1ed76b63eca6df868f3d1347b92e9fb, conservando autoria y contenido original. Rama limpia feature/upstream-pr-235, creada desde main actualizado del fork (53c42b2). El commit importado es ca5f778.

No se modificaron .github/ ni adversarial-review/; se preservan GitHub Actions, Semgrep, NetAnalyzers y la herramienta de revision adversarial.

El usuario agregara manualmente adversarial-review:run; esta importacion no agrega etiquetas de activacion.

Alcance reducido autorizado: se importa solo el control compatible. Los otros PRs fusionados ya estaban en main, salvo microsoft#236, que solo cambia workflows excluidos. No se fabrican controles ni se afirma que un PR no fusionado sea defectuoso sin evidencia.

Validacion local (macOS, net8.0):

  • git diff --exit-code main HEAD -- .github/ adversarial-review/: aprobado, sin diferencias.
  • git diff --check main HEAD: aprobado.
  • dotnet test Test/SqlDom/UTSqlScriptDom.csproj -c Debug -f net8.0 --filter 'FullyQualifiedName~CopyOptionRoundTrip|FullyQualifiedName~CopyOptionCasing' --logger 'console;verbosity=minimal': aprobado, 29/29.
  • dotnet test Test/SqlDom/UTSqlScriptDom.csproj -c Debug -f net8.0 --no-build --logger 'console;verbosity=minimal': aprobado, 1205/1205.
  • Windows/net472, Semgrep y NetAnalyzers no ejecutados localmente; pendientes de GitHub Actions. La compilacion local emitio advertencias SYSLIB0051 y el descubrimiento MSTest emitio UTA001; no hubo fallos.

In addition, go through the checklist below and check each item as you validate it is either handled or not applicable to this change.

Code Changes

Use standard fragment writers for COPY option strings and identifiers while retaining existing casing behavior. Add round-trip coverage across parser versions and formatting modes.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
(cherry picked from commit 3ea69b6)
@allancascante allancascante added adversarial-review:run Authorize an adversarial review after checks pass and removed adversarial-review:run Authorize an adversarial review after checks pass labels Dec 3, 2026
@allancascante
allancascante deployed to adversarial-review December 4, 2026 02:21 — with GitHub Actions Active
@github-actions

github-actions Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Adversarial review

Risk: not assessed. Human review required.

PR: cenfosoft/SqlScriptDOM #29
Head SHA: ca5f778c8c1cb76fb03506414dd6316fd520040e
Trusted configuration: 53c42b2045d2675bf0547620886741e4712ba0f6
Status: Human Review Required; rounds: 2/3

Workflow run

Deterministic checks

Check Platform Conclusion
build ubuntu passed
build windows passed
roslyn independent passed
semgrep independent passed
test ubuntu passed
test windows passed

Findings

No findings recorded. This does not prove the change is safe.

Model rounds

Round Provider / model Outcome Tokens in/out Estimated USD
1 github-copilot / claude-haiku-4.5 completed 57830/1619 0.080368
2 github-copilot / mai-code-1.1-flash failed unknown/unknown unknown

Risk assessment (rubric initial)

JEV assessment: not requested because required inputs were missing.

  • Missing input: The adversarial review did not complete its rounds; findings are unreliable.
  • The adversarial review did not complete its rounds; findings are unreliable.

Label: adversarial-review:human-review (applied); automatic merge: not-eligible.

Blockers / follow-up

  • One or more configured review rounds are incomplete.

Limitations

  • Advisory only; existing CI remains authoritative.
  • Numeric risk weights and thresholds are not approved. No numeric score or merge clearance is produced.
  • Offline input validation does not establish GitHub event or artifact authenticity.
  • Provider diagnostic: SessionQuery.
  • Provider request failed or its usage was invalid; billing may be unknown. No automatic retry.

@github-actions github-actions Bot added the adversarial-review:human-review Adversarial review requires human attention label Dec 4, 2026

This branch was successfully deployed

1 active deployment
adversarial-review — ca5f778c Deployed Dec 4, 2026 by allancascante via review #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

adversarial-review:human-review Adversarial review requires human attention adversarial-review:run Authorize an adversarial review after checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants