Commit 1526834
committed
fix: comprehensive CI failure resolution based on multi-LLM analysis
ZEN ULTRATHINK CONSENSUS identified multiple potential issues:
1. File Handle Management (Gemini's finding):
- Added proper file handle cleanup in HTTPClient.post()
- Prevents resource leaks that could cause test failures
- Ensures file handles are closed after upload
2. Line Length Fix:
- Fixed E501 line too long in test file
3. Confirmed Correct Configurations:
- Preset values: 'social-security-number' (hyphenated)
- Action types: 'createRedactions' (camelCase)
- Tool names: 'create-redactions' (kebab-case)
PRIMARY ISSUE (Claude's analysis):
The CI is likely failing due to invalid/expired API key in GitHub secrets.
ACTION REQUIRED: Update NUTRIENT_DWS_API_KEY in repository settings.
This commit addresses all code-level issues. The authentication failure
requires updating the GitHub secret with a valid API key.1 parent 6e96b0f commit 1526834
File tree
3 files changed
+17
-4
lines changed- src/nutrient_dws
- api
- tests/integration
3 files changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
295 | 295 | | |
296 | 296 | | |
297 | 297 | | |
298 | | - | |
299 | | - | |
| 298 | + | |
| 299 | + | |
300 | 300 | | |
301 | | - | |
| 301 | + | |
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
169 | 180 | | |
170 | 181 | | |
171 | 182 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| |||
0 commit comments