Skip to content

Fix: runs/{term_id}/ must use underscore form, not CURIE, in paths - #9

Merged
ubyndr merged 1 commit into
mainfrom
fix-colon-in-artifact-paths
Oct 1, 2026
Merged

ubyndr merged 1 commit into
mainfrom
fix-colon-in-artifact-paths

Conversation

@ubyndr

@ubyndr ubyndr commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Found via a real CI run (obophenotype/cell-ontology#3765): the colon-form term_id directory (runs/CL:0000037/) made actions/upload-artifact fail outright —

```
The path for one of the files in artifact is not valid: /CL:0000037/report.md. Contains the following character: Colon :
```

#8's cell_id->term_id cleanup reasoned that a colon is a valid POSIX filename character, which is true, but missed that actions/upload-artifact enforces its own stricter path validation (cross-platform/NTFS compatibility) independent of the runner's actual filesystem.

Keeps the single term_id field/concept from #8 (no reintroduction of a separate cell_id field) — only the path construction now calls for the underscore substitution, same as the pre-#8 cell_id convention, while the term_id field inside written JSON/markdown content stays in CURIE form.

Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com

Found via a real CI run (obophenotype/cell-ontology#3765): the
colon-form term_id directory (runs/CL:0000037/) made
actions/upload-artifact fail outright --

  "The path for one of the files in artifact is not valid:
  /CL:0000037/report.md. Contains the following character: Colon :"

#8's cell_id->term_id cleanup reasoned that a colon is a valid POSIX
filename character, which is true, but missed that
actions/upload-artifact enforces its own stricter path validation
(cross-platform/NTFS compatibility) independent of the runner's actual
filesystem.

Keeps the single term_id field/concept from #8 (no reintroduction of a
separate cell_id field) -- only the path construction now calls for
the underscore substitution, same as the pre-#8 cell_id convention
used for, while the term_id field inside written JSON/markdown content
stays in CURIE form.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@ubyndr
ubyndr merged commit 5c61100 into main Oct 1, 2026
@ubyndr
ubyndr deleted the fix-colon-in-artifact-paths branch October 1, 2026 11:48
ubyndr added a commit to obophenotype/uberon that referenced this pull request Oct 1, 2026
Cellular-Semantics/clara_workflow#9 merged: fixes runs/{term_id}/
using the CURIE form (colon) in artifact paths, which made
actions/upload-artifact fail outright and silently skipped the
summary-comment steps on every real run that reached stage 2/3
(confirmed via cell-ontology's PR #3765).

Signed-off-by: @ai4c-agent

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
ubyndr added a commit to obophenotype/cell-ontology that referenced this pull request Oct 1, 2026
Cellular-Semantics/clara_workflow#9 merged: fixes runs/{term_id}/
using the CURIE form (colon) in artifact paths, which made
actions/upload-artifact fail outright and silently skipped the
summary-comment steps on every real run that reached stage 2/3.

Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant