Skip to content

Fix some JET warnings regarding matching methods for strip(...) and parse(...)#87

Open
DilumAluthge wants to merge 1 commit intomasterfrom
dpa/fix-jet-errors-strip-parse
Open

Fix some JET warnings regarding matching methods for strip(...) and parse(...)#87
DilumAluthge wants to merge 1 commit intomasterfrom
dpa/fix-jet-errors-strip-parse

Conversation

@DilumAluthge
Copy link
Member

Cherry-picked out of #86

┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:210
│ no matching method found `parse(::Type{Int64}, ::Nothing)` (1/2 union split): SlurmClusterManager.parse(SlurmClusterManager.Int, (m::RegexMatch{String})[1]::Union{Nothing, SubString{String}})
└────────────────────
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:210
│ no matching method found `parse(::Type{Int64}, ::Nothing)` (1/2 union split): SlurmClusterManager.parse(SlurmClusterManager.Int, (m::RegexMatch{String})[1]::Union{Nothing, SubString{String}})::Int64
└────────────────────
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:211
│ no matching method found `strip(::Nothing)` (1/2 union split): SlurmClusterManager.strip((m::RegexMatch{String})[2]::Union{Nothing, SubString{String}})
└────────────────────
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:211
│ no matching method found `strip(::Nothing)` (1/2 union split): SlurmClusterManager.strip((m::RegexMatch{String})[2]::Union{Nothing, SubString{String}})::SubString{String}
└────────────────────

@DilumAluthge DilumAluthge changed the title Fix some JET warning regarding matching methods for strip(...) and parse(...) Fix some JET warnings regarding matching methods for strip(...) and parse(...) Feb 14, 2026
@DilumAluthge DilumAluthge marked this pull request as ready for review February 14, 2026 06:53
@codecov
Copy link

codecov bot commented Feb 14, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.75%. Comparing base (0120dba) to head (daa709e).

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   93.61%   93.75%   +0.13%     
==========================================
  Files           2        2              
  Lines          94       96       +2     
==========================================
+ Hits           88       90       +2     
  Misses          6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

…`parse(...)`

```
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:210
│ no matching method found `parse(::Type{Int64}, ::Nothing)` (1/2 union split): SlurmClusterManager.parse(SlurmClusterManager.Int, (m::RegexMatch{String})[1]::Union{Nothing, SubString{String}})
└────────────────────
```

```
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:210
│ no matching method found `parse(::Type{Int64}, ::Nothing)` (1/2 union split): SlurmClusterManager.parse(SlurmClusterManager.Int, (m::RegexMatch{String})[1]::Union{Nothing, SubString{String}})::Int64
└────────────────────
```

```
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:211
│ no matching method found `strip(::Nothing)` (1/2 union split): SlurmClusterManager.strip((m::RegexMatch{String})[2]::Union{Nothing, SubString{String}})
└────────────────────
```

```
┌ (::SlurmClusterManager.var"#25#26")() @ SlurmClusterManager /mystuff/SlurmClusterManager.jl/src/slurmmanager.jl:211
│ no matching method found `strip(::Nothing)` (1/2 union split): SlurmClusterManager.strip((m::RegexMatch{String})[2]::Union{Nothing, SubString{String}})::SubString{String}
└────────────────────
```

(cherry picked from commit 79b9476)
@DilumAluthge DilumAluthge force-pushed the dpa/fix-jet-errors-strip-parse branch from 8199397 to daa709e Compare February 14, 2026 06:57
@DilumAluthge
Copy link
Member Author

@kleinhenz Could you review this?

@DilumAluthge
Copy link
Member Author

Bump @kleinhenz - any objection to me merging this?

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