Skip to content

feat: Improved test command and added file syncing#56

Merged
kevinwang5658 merged 4 commits intokevin/v1.0from
kevin/test-command-improvements
Mar 6, 2026
Merged

feat: Improved test command and added file syncing#56
kevinwang5658 merged 4 commits intokevin/v1.0from
kevin/test-command-improvements

Conversation

@kevinwang5658
Copy link
Collaborator

No description provided.

@kevinwang5658 kevinwang5658 changed the base branch from main to kevin/v1.0 March 6, 2026 18:37
@kevinwang5658 kevinwang5658 changed the title Kevin/test command improvements feat: Improved test command and added file syncing Mar 6, 2026
@kevinwang5658 kevinwang5658 merged commit 6ae774b into kevin/v1.0 Mar 6, 2026
2 checks passed
@kevinwang5658 kevinwang5658 deleted the kevin/test-command-improvements branch March 6, 2026 18:50
kevinwang5658 added a commit that referenced this pull request Mar 8, 2026
* feat: Added login method

* feat: Added connect integration with codify-dashboard

* feat: switched to hono server and added cors support

* feat: switched to express

* chore: refactored apply flow to use express

* Added login helper and trying out parser abstraction

* Added ability to load, apply and plan cloud files

* Moved login init to base command. Fixes

* Added new codify file resolution logic. WIP default document endpoint fetch

* Added path as an arg to apply and plan

* Added path as an arg to validate

* Fixed import logic to support cloud files

* Fixed login bugs.
- Resolve promise when logged in
- Fixed login manager bug
Added useful log message for connect

* Fixed codify apply via connect to supply tmpFile path. Added helpful log messages. Fixed header name error for websocket validation. Reduced size of token

* Switched to socketIO

* Switched back to websockets instead of socket io

* Prevent multiple pty instances from being created

* Improved the command handler to support more variations

* Fixed build bugs. Moved uuid to dependency. Fixed entry points that were messed up. Improved error handling for documents endpoint

* Improved session ending logic.

* Added missing import flag

* Changed connect commands to use rootCommand that way it updates with the current project and doesn't rely on global codify. Added error if port is already in use.

* Refactored how commands are handled. Allows for greater flexibility.

* Added import handler

* Added concept of clientId. Added import writer

* Re-worked login to get email, userId, claims directly from token. Switched to ES256 self signed tokens. Added codify edit command

* Removed extraneous logs. Added message for codify edit

* Added install beta script. Fixed urls to point to dashboard.codifycli.com. Fixed logins if another process is already using the port. Fixed logins not saving credentials if .codify folder doesn't exist.

* Fixed login behavior for connect and edit. Added log out command

* Add new refresh command

* Changed the parameterless import to mimic init (auto import everything)

* Added refresh method to connect and fixed bugs

* Fixed API calls to parse error messages as non-json

* Fixed bugs:
- Check for login expiration was in milliseconds (should be seconds)
- The proper node binary was not used by connect handlers
- Lack of refresh command name

+ Deploy script

* Added --updateExisting flag for import command. Made refresh orchestrator empty and reliant on the import orchestrator. Refactored save file type to an individual function

* Fixed file modification calculator handling of an empty file '[]'. Added tests for auto-import

* Fixed file modification calculator handling of an empty file '[]'. Added tests for auto-import

* fix: Fixed bugs with refresh and import

* feat: Added support for Codify remote files

* fix: Bug fix for files that don't currently exist. Import confirmation prompt

* fix: Bug fix for MacOS oclif installer bug. It doesn't clear the oclif update plugin directory so older versions are still usable after re-installing

* feat: Added auto complete, additional version flags, additional help flags and set the default command to edit

* fix: Added init command

* Added new finish event to unify sending the remote result back to the dashboard

* Added the useful ability to kill the previous codify connect so you don't have to go find it

* fix: Moved kill port to dependencies

* feat: Added connection start time and connection termination

* feat: Refactored the initialization process to return a resource definition. We can put info in here in the future if needed. Right now return if a resource has any sensitive parameters

* feat: Added sensitive parameter filtering to import and init. Added sensitive parameter hiding to displaying plans

* feat: Added improvements to import and init saving of results

* feat: Improved init experience (always new project for init)

* feat: Fixed build issues and improved help

* fix: Fixed existing tests

* feat: Added CLI logins without the browser

* feat: Added test for connect + improvements and fixes

* feat: Added test for connect commands (apply, plan, import, etc) + improvements and fixes

* feat: Added additional tests for edit, login and refresh

* feat: Add readme and license

* feat: Upgrade to node 22

* fix: Test and type fixes

* fix: Temp disable socket-server tests

* fix: Enable one of the disabled tests

* kevin/fix-tests (#50)

* fix: Enabled another test

* fix: Update test name

* fix: Enable more tests

* fix: Enabled all tests

* fix: Mock the pty call

* Added some logs

* Move server close above expect

* Fix terminal problems

* Attempt to make tests less flaky

* Add log

* Added sequential

* Added sequential

* Disable parallelism

* Add wait between tests

* Disable threading

* Skip connect tests altogether

* Fix: Bug fixes for help, and init using dev-dependency. Added extra cors header removing the need for PNA notification

* feat: Added new spawn code using node-pty. Root and stdin are both supported now

* feat: Removed the spinner powered by log messages (caused pointer issues previously) since it's no longer needed. Fix sudo util missing problems

* feat: Added codify test command that can spawn a tart vm to test codify configs

* feat: Improved the display for test. Added linux support on a macOS host.

* feat: Added support for validating by OS and distro. Added improved install script that works on linux

* feat: Allow beta plugins to be auto-magically be added when codify version is beta

* feat: Reverted commenting out xz

* feat: Added os filtering for codify init command

* feat: Updated github urls and description

* feat: Force arch to be arm64. Added linux to uplaod script.

* fix: Fixed sudo, reporters, os filtering, and others (mainly linux related)

* fix: Connect commands not working on other shells

* fix: Fixed running sudo commands on linux and commands with quotes

* chore: switch to public npm @codifycli/ink-form package

* fix: Fixed environment variables not carried over to sudo. Fixed bash only sudo command.

* fix: Fixed warnings on linux install. Bumped oclif version.

* feat: Updated ink. Switched to dots instead of half circles. Move sleep before displaying message.

* fix: Fixed weird memory problem with using spinner and status message from @inkjs/ui

* feat: Improved coloring for progress display

* fix: Fixed tests

* chore: commit package-lock.json

* fix: Linux tests and build errors

* feat: Allow CI builds to run on both macOS and linux

* feat: Improved test command and added file syncing (#56)

* WIP: fixed the test command and added a promptSecret to collect the user's password initially

* fix: Selectively sync either /usr/local/lib/codify or ~/.local/share/codify

* Undo un-needed changes

* feat: Added a block for non-mac os systems

* feat: Added test to list of remote commands

* chore: Updated packages. Switched to @codifycli/schemas

* chore: Updated package-lock.json

* feat: removed login requirement for connect command

* fix: Remove github token code in github actions

* chore: Update to @codifycli/plugin-core and update version of @codifycli/schemas

* feat: Updated README

* chore: new package-lock.json

* feat: Add CLAUDE.md and updated the README.md

* fix: Fix bugs with the test command

* chore: update version to 1.0.0
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