[Bug]: ExternalVolumeStatus.volume_type demands a prefix of "substrate.io" which we do not own
Maintainers usually reply within 2 days
@msau42 is already working on this.
Since Nov 26, 2026.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 62/100
Research direction
The bad prefix check is in ValidateVolumeType in internal/resources/validate.go, which trims the "substrate.io/" prefix before running validation.IsDNS1123Subdomain. Read that function and find where the prefix constant is used elsewhere before changing it. Done means the accepted prefixes match the maintainers' decision (ate.dev/ and the agent-substrate domains) and the validation tests are updated, though the maintainers still need to confirm which prefixes to accept.
Written by the indexing model from the issue text.
Description
What happened?
Auditing code, I found this.
// ValidateVolumeType allows an optional "substrate.io/" prefix, followed by a
// valid DNS-1123 subdomain.
func ValidateVolumeType(fldPath *field.Path, volumeType string) field.ErrorList {
if volumeType == "" {
return nil
}
var errs field.ErrorList
for _, msg := range validation.IsDNS1123Subdomain(strings.TrimPrefix(volumeType, "substrate.io/")) {
errs = append(errs, field.Invalid(fldPath, volumeType, msg))
}
return errs
}
We do not own that domain
Expected Behavior
It should be "ate.dev/" or "agent-substrate.io/" or "agent-substrate.ai/" -- we almost always use "ate.dev", though.
@msau42 Should we fix this in 1.1 or leave it until the other changes land?
Steps to Reproduce
Look at internal/resources/validate.go
Sandbox Runtime
gVisor (runsc)
Agent Substrate Version / Commit SHA
1.0.1
Kubernetes Version & Environment
k8s 1.37
Host OS & Architecture
Linux
Relevant Logs and Diagnostic Output
Additional Context
No response
Confirmation
- I have searched existing issues and verified that this is not a duplicate.
- I have verified that this issue occurs on the latest commit on
main.
- Dominant language
- Go
- Stars
- 8.7k
- Forks
- 969
- Avg merge
- 5d 1h
- Merged PRs (30d)
- 128
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from agent-substrate/substrate
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
agent-substrate/substrate#4308 ·
Maintainers usually reply within 2 days
-
area/observability kind/feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agent-substrate/substrate#4275 ·
Maintainers usually reply within 2 days
-
area/dev-infra kind/bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agent-substrate/substrate#4248 · 1 comment ·
Maintainers usually reply within 2 days
-
area/node area/security kind/feature
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
agent-substrate/substrate#4188 · 1 comment ·
Maintainers usually reply within 2 days
-
area/security kind/feature
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
agent-substrate/substrate#4171 · 1 comment ·
Maintainers usually reply within 2 days
All issues in agent-substrate/substrate
Similar issues
-
bug effort:s impact:med raised-by:worker risk:low to:worker
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
medici-finance/assay#8120 · 1 comment ·
Maintainers usually reply within 1 day
-
factory:subtask
Difficulty 1/5 Under an hour Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
ci good first issue severity: low
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
TMHSDigital/Spackle#206 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
celestiaorg/celestia-app#8877 ·
Maintainers usually reply within 1 day
-
sweep
Difficulty 1/5 Under an hour Newbie friendliness 84/100
bketelsen/truenas-mcp#112 ·
Maintainers usually reply within 1 day