{# Shared solution presentation used by opportunity detail and admin solutions pages. Expects: sol (solution view model) create_pr_route_prefix (optional, defaults to /app) #} {% set create_pr_prefix = create_pr_route_prefix | default('/app') %}
Solution v{{ sol.version_number }}
{% if sol.file_path %}Target File
{{ sol.file_path }}
Notes
{{ sol.explanation }}
{% endif %} {% if sol.repository %}
{{ sol.repository }}
{% if sol.commit_sha %} · {{ sol.commit_sha[:8] }}{% endif %}
Local working tree not connected yet
Set the dbt project folder on this project configuration to enable
Apply to Working Tree for
{{ sol.file_path }}.
Notes
{{ sol.explanation }}
{{ sol.risk_justification }}
{% endif %} {% if sol.validation_report %} {% set report_tier = sol.validation_report.tier or sol.validation_report.overall_tier %} {% if report_tier %}Tier: {{ report_tier | replace('_', ' ') | title }}
{% endif %} {% if sol.validation_report.error %}{{ sol.validation_report.error }}
{% endif %} {% if sol.validation_report.steps %}{{ step.details }}
{% endif %} {% if step.classification %}Classification: {{ step.classification }}
{% endif %}dbt Compile
{% if sol.validation_report.dbt_compile.success %}Success{% else %}Not successful{% endif %} {% if sol.validation_report.dbt_compile.reason %} · {{ sol.validation_report.dbt_compile.reason | replace('_', ' ') }}{% endif %} {% if sol.validation_report.dbt_compile.exit_code is not none %} · Exit {{ sol.validation_report.dbt_compile.exit_code }}{% endif %} {% if sol.validation_report.dbt_compile.duration_ms is not none %} · {{ sol.validation_report.dbt_compile.duration_ms }}ms{% endif %}
{% if sol.validation_report.dbt_compile.stderr %}{{ sol.validation_report.dbt_compile.stderr }}
{% endif %}
dbt Parse
{% if sol.validation_report.dbt_parse.success %}Success{% else %}Not successful{% endif %} {% if sol.validation_report.dbt_parse.exit_code is not none %} · Exit {{ sol.validation_report.dbt_parse.exit_code }}{% endif %} {% if sol.validation_report.dbt_parse.duration_ms is not none %} · {{ sol.validation_report.dbt_parse.duration_ms }}ms{% endif %} {% if sol.validation_report.dbt_parse.manifest_available %} · Manifest available{% endif %} {% if sol.validation_report.dbt_parse.optimized_sql_source == 'manifest_diff' %} · Optimized SQL via synced manifest diff{% endif %}
{% if sol.validation_report.dbt_parse.stderr %}{{ sol.validation_report.dbt_parse.stderr }}
{% endif %}
⚠ {{ warning }}
{% endfor %}Validated: {{ sol.validation_report.timestamp }}
{% endif %} {% endif %}