Skip to content

Commit 52522d3

Browse files
Merge pull request #62 from RonaldHensbergen/release/weekly-2026-06-21
chore(release): prepare weekly release v0.1.1
2 parents 851b8d2 + 2d30de1 commit 52522d3

5 files changed

Lines changed: 351 additions & 18 deletions

File tree

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,45 @@
1-
name: Bug report
2-
description: Report a reproducible problem
3-
labels:
4-
- bug
1+
name: Bug Report
2+
description: Report a bug to help us improve the composable data stack.
3+
title: "[Bug]: "
4+
labels: ["bug", "triage"]
55
body:
66
- type: markdown
77
attributes:
88
value: |
9-
Thanks for reporting a bug. Please provide enough detail to reproduce.
9+
Thanks for reporting a bug! Please fill in as much detail as possible.
1010
1111
- type: input
1212
id: summary
1313
attributes:
1414
label: Summary
15-
description: One-line description of the problem
16-
placeholder: cds render fails with unresolved contract ref
15+
description: One-line description of the problem.
16+
placeholder: e.g. cds render fails with unresolved contract ref
17+
validations:
18+
required: true
19+
20+
- type: dropdown
21+
id: severity
22+
attributes:
23+
label: Severity
24+
description: How severely does this bug affect you?
25+
options:
26+
- Critical (system unusable / data loss)
27+
- High (major feature broken)
28+
- Medium (feature partially broken)
29+
- Low (minor inconvenience)
1730
validations:
1831
required: true
1932

2033
- type: textarea
21-
id: steps
34+
id: repro
2235
attributes:
23-
label: Steps to reproduce
24-
description: Exact steps and commands
36+
label: Minimal Reproducible Example
37+
description: |
38+
Smallest possible steps or code snippet to reproduce the bug.
2539
placeholder: |
26-
1. Run ...
27-
2. Edit ...
28-
3. Observe ...
40+
1. Configure X with...
41+
2. Run command Y...
42+
3. See error Z
2943
validations:
3044
required: true
3145

@@ -40,15 +54,15 @@ body:
4054
id: actual
4155
attributes:
4256
label: Actual behavior and logs
43-
description: Include full error output and stack trace
57+
description: Include full error output and stack trace.
4458
validations:
4559
required: true
4660

4761
- type: input
4862
id: environment
4963
attributes:
5064
label: Environment
51-
description: OS, Python version, and how CDS was installed
65+
description: OS, Python version, and how CDS was installed.
5266
placeholder: Linux, Python 3.11, pip install -e .
5367
validations:
5468
required: true
@@ -62,3 +76,4 @@ body:
6276
required: true
6377
- label: I removed sensitive information from logs
6478
required: true
79+

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,23 @@ The format is based on Keep a Changelog.
88

99
### Added
1010

11+
- No entries yet.
12+
13+
## [0.1.1] - 2026-06-21
14+
15+
### Added
16+
1117
- Default render output path to project-root docker-compose.yml when no output is provided.
1218
- Open-source project governance and support docs.
1319
- Troubleshooting guidance in the README for common CLI validation, secret, and contract-binding errors.
20+
- Added `docs/os-compatibility.md` with OS compatibility analysis and recommendations.
21+
- Improved the bug report template with severity and minimal repro fields.
1422

1523
### Changed
1624

1725
- Compose rendering now preserves secrets as runtime environment placeholders instead of embedding resolved values.
1826
- Plan secret mapping now stores env variable names rather than secret values.
27+
- Renderer build-context path rewriting now preserves portable relative paths for nested compose output directories.
1928

2029
### Tests
2130

cli/renderer.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
"""
66
from __future__ import annotations
77

8-
import os
98
import re
9+
import os
1010
import yaml
1111
from copy import deepcopy
1212
from pathlib import Path
@@ -376,7 +376,11 @@ def _resolve_context_path(
376376
return context
377377

378378
chosen = _choose_best_context_candidate(candidates, dockerfile)
379-
rel = os.path.relpath(chosen, compose_dir)
379+
try:
380+
rel = Path(chosen).relative_to(compose_dir)
381+
except ValueError:
382+
# relative_to() only works for descendants; relpath preserves ../ segments.
383+
rel = Path(os.path.relpath(chosen, compose_dir))
380384
return Path(rel).as_posix()
381385

382386

0 commit comments

Comments
 (0)