Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Architecture + events refactor (#22)
* Split up logger helpers, added tests * Deduplicate notification center event handlers * fileId rename * Refactor event sending apis * Added unit tests for push token registration * Expose ParraFeedback singleton * Make Parra shared instance publically accessible * Refactor config passing to init to be list of options * Refactor state management to be per Parra instance * more http header helpers * Expanding mock capabilities of network manager * Fixed incorrectly named schemes * More mock+test data refactor * Rewrote network mocks/tests * refactor core parra auth tests * Consistently use sleep ms helper * re-implement push token tests * Refactor remaining tests * Date.now helper * Fixed access specifiers * Better logging around filesystem errors * whoops * Maybe fix file reading error * Explore http metrics collection+reorg * Publicly expose static Parra methods * whoops * Removed obsolete data task mock * Started improving sync tests * Use TimeInterval for sleeping tasks * Fixes and coverage improvements for sync manager tests * Implemented more device events * Lazy load feedback module * formatting * Added UI test bundle * WIP logger/session manager overhaul * well, at least it builds * measurement -> timers * Support enabling and disabling logger instances * Fixed project structure * Log multiple/support caching pre-init logs and deferring processing * printDelimiter option * Still WIP logger and sessions refactor * changing some thread info types * Fixed dict convertible naming * Accepting defeat on formatting dictionaries this way * Support passing extra data with errors * Fixed name of session event key * fix time measurement in logs * Fix errors when logging errors * Properly pass down json coding dependencies * Added helper for create missing files * Added file handle type enum for session storage * Improve file system helper safety * Experimenting with os_log * Basic support for new session storage with file handles * Support for debugging events to sessions and console at the same time * Starting to connect session reader for uploading existing sessions * more withSync overloads for async/throwing * Reading and uploading sessions working again! * Abstraction around multiple session generator types * DI for shared FileManager instance * Generator to produce sessions without events * Improve post-sync cleanup * Cleanup after sync working properly * Implemented hasCompletedSessions check * Fix deleting old sessions * Audit for consistent completion handler invocation * Large refactor of how context is tracked * Removing autoclosures from extra fields * more * mm * Update app id * Track response data in networking errors * Set proper defaults for env vars * Auto open app container in Finder * Storage path improvements * Helper for removing sensitive information from URLs * Fix infinite sync loop for new log events * better default log format * Fix build errors in tests * Inlining things and starting sanitizers * Compilation error in tests * Fixed race condition for logger before logger init * Rewrite overly dangerous backtrace access * Ability to recover filesystem state after sync errors * access modifier audit * Fix errors clearing out failed session uploads * Fix warnings, update project settings for Xcode 15 * Xcode 15 * Fixed scopes * Fixed many things * more test fixes * init circle * gen2 * m1 * hmm * versions * fix config * demo * Introduced separate test host app * xcode 15.1.0 * Silicon * gems * working_directory * ls * add brew install script * bun * install rosetta * Removing fastlane * formatting * bun binary lockfile * ignore buildlog * remove package.json * commander * moving tests around * build for testing working * clean up vars * ignore artifacts dir * code signing * fixed dir * typo * more path fixes * -allowProvisioningUpdates * comment and grouping * first attempt at running tests * -allowProvisioningDeviceRegistration * no code sign * manual signing * platform * trying disabling catalyst * destination * preboot sim * whoops * wait for boot before building * back to medium * only run on main for now * Build * zip artifacts * speed * Bump bundler to 2.4.22 * script to disable physical hardware * fixed permissions * vars * Remove old GH actions CI and updated documented deploy target * maybe * passing vars between jobs * name is restricted * escape * param brackets * workspace dir * script dir * hmm * root * hmm * mm * hmm * idk * shallow * bump * come on now * async * background * no parallel * race * do we even need to? * cool * yay * hmm * cleanup * WIP moving CLI * Most of CLI implementent * sigh * bun * Install bun first * mhm * using the orb * more quiet * fixed cli/bin not checked in * disable keyboard can have stderr * Fix log levels and common args * whatever * Update code and utilities * hm * xcode 15.2 * Fixed buffer overrun * Xcode 15.2 * comments * demo scheme * delete dead code * Fix JSON converion * Fix error output * Support console logs when events occur * Store SDK version in sessions * these tests * results * maybe don’t wait * or do * yeah don’t * warnings and todos * dropped unneeded #availability * Contextual info on events in console * WIP refactoring forms SwiftUI * removed fonts * cleanup * parra logo button * Maybe fixed tests 🤞
- Loading branch information