Skip to content

Commit be0523d

Browse files
fix(review): hardcoded SCCACHE_DIR path, indentation and SVG tspan in to_animated_svg
Agent-Logs-Url: https://github.com/PromptExecution/l3dg3rr/sessions/531eb756-bdc1-4648-905f-f746dbba6f0c Co-authored-by: elasticdotventures <35611074+elasticdotventures@users.noreply.github.com>
1 parent 106b60c commit be0523d

2 files changed

Lines changed: 4 additions & 5 deletions

File tree

.github/workflows/wrkflw-docgen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ env:
2323
# (wrkflw secure-emulation runs as host processes — no sandboxing of the daemon).
2424
# If sccache is not installed, RUSTC_WRAPPER is silently ignored by cargo.
2525
RUSTC_WRAPPER: sccache
26-
SCCACHE_DIR: /home/wendy/.cache/sccache
26+
SCCACHE_DIR: ${{ runner.temp || '/tmp' }}/sccache
2727
CARGO_TERM_COLOR: always
2828
RUST_BACKTRACE: "1"
2929

crates/ledger-core/src/visualize.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -270,17 +270,16 @@ impl PipelineGraph {
270270
if let Some(&(px, _pw)) = pl.get(name) {
271271
if (px - x).abs() > 0.5 {
272272
let text_fill = "#fff";
273-
let font_family = "sans-serif";
274-
group.push_str(&format!(
273+
let font_family = "sans-serif";
274+
group.push_str(&format!(
275275
r#" <g>
276276
<rect x="{x:.1}" y="{y:.1}" width="{w:.1}" height="{nh:.1}" rx="{rx:.1}" fill="{fill}" class="{cls}">
277277
<animateTransform attributeName="transform" type="translate"
278278
from="{dx:.1} 0" to="0 0" dur="{dur}ms" fill="freeze" />
279279
</rect>
280280
<text x="{tx:.1}" y="{ty:.1}" text-anchor="middle" fill="{tf}" font-size="12" font-family="{ff}">
281281
<animateTransform attributeName="transform" type="translate"
282-
from="{dx:.1} 0" to="0 0" dur="{dur}ms" fill="freeze" />
283-
{label}
282+
from="{dx:.1} 0" to="0 0" dur="{dur}ms" fill="freeze" /><tspan>{label}</tspan>
284283
</text>
285284
</g>
286285
"#,

0 commit comments

Comments
 (0)