Skip to content

Conversation

@Deepak-Kesavan
Copy link
Collaborator

Summary

Fixed all blocking issues identified during n8n cloud review process.

Changes Made

High Priority (Blocking) Fixes

  • Removed dependency overrides from package.json
  • Removed prepublishOnly script - moved all checks to build script
  • Added pairedItem linkage to all returnData.push() calls across all nodes
  • Replaced deprecated helpers.request() with helpers.httpRequestWithAuthentication() in all nodes

Additional Improvements

  • Updated LLMWhispererApi credentials to use correct unstract-key header format
  • Added build:dev script for faster development builds (no lint/audit)
  • Simplified GitHub Actions workflow to use single build step (includes lint + audit)

Files Changed

  • package.json - Removed overrides, updated build script
  • .github/workflows/publish.yml - Simplified build steps
  • credentials/LLMWhispererApi.credentials.ts - Fixed authentication header
  • nodes/LlmWhisperer/LlmWhisperer.node.ts - Added pairedItem, updated auth
  • nodes/Unstract/Unstract.node.ts - Added pairedItem, updated auth
  • nodes/UnstractHitlFetch/UnstractHitlFetch.node.ts - Added pairedItem, updated auth
  • nodes/UnstractHitlPush/UnstractHitlPush.node.ts - Added pairedItem, updated auth

Medium Priority (Recommended - Not Implemented)

[MEDIUM] External test endpoint for credentials - Not implemented due to:

  1. No dedicated test endpoints available in our APIs
  2. Host is workflow-configurable (not credential-level) for multi-tenant support
  3. Backward compatibility concerns with existing user workflows
  4. Validation happens on first actual API call

Testing

  • All changes maintain backward compatibility
  • Existing workflows will continue to work
  • New validation logic integrated into build process

Related Issue

Closes UN-2894

@Deepak-Kesavan Deepak-Kesavan force-pushed the UN-2894-n-8-n-review-changes branch 2 times, most recently from aacea7b to 3b302ef Compare October 16, 2025 03:24
- Remove dependency overrides from package.json
- Remove prepublishOnly script, add validate script instead
- Add pairedItem linkage to all returnData.push() calls
- Replace helpers.request() with helpers.httpRequestWithAuthentication()
- Update LLMWhispererApi credentials to use unstract-key header
- Add build:dev script for fast development builds
- Update workflows to use validate script for comprehensive checks
- Update package-lock.json

All blocking issues from n8n cloud review have been addressed.
@Deepak-Kesavan Deepak-Kesavan force-pushed the UN-2894-n-8-n-review-changes branch from 3b302ef to a0f74b1 Compare October 16, 2025 03:30
- Add dedicated 'audit' script for security checks with high severity threshold
- Remove audit from 'validate' script to allow independent execution
- Update package-lock.json to reflect current dependency tree
- Add npm audit step after validation
- Set continue-on-error to true for visibility without blocking PRs
- Audit failures will be visible in CI but won't fail the workflow
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