+
Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ultravioletrs/cocos
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.2.0
Choose a base ref
...
head repository: ultravioletrs/cocos
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.3.0
Choose a head ref
  • 18 commits
  • 81 files changed
  • 5 contributors

Commits on Aug 1, 2024

  1. PRISM-312 : Fetch Backend Information (#187)

    * fetch backend info
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    WIP
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * add id to grpc response
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * read backend information
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    revert changes in test server
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * update info json
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * test on dell machine
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * update protoc
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    update protoc
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * refactor fetch backend info
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * remove computation definition
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * refactor manager service creation
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * refactor manager service creation:
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * return config to main
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * add tests on test/computation
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * update backend info path
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * use sudo
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * comment out sev testing section
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * update backend info json location
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * handle failed execution
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * return error on failed execution:
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    ---------
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    WashingtonKK authored Aug 1, 2024
    Configuration menu
    Copy the full SHA
    9161d30 View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2024

  1. NOISSUE - Handle larger manifests exceeding the default grpc limit (#161

    )
    
    * Handle larger manifests exceeding the default grpc limit
    
    Signed-off-by: Jilks Smith <smithjilks@gmail.com>
    
    * Update manager tests
    
    Signed-off-by: Jilks Smith <smithjilks@gmail.com>
    
    * Update manager tests
    
    * Update manager client.go
    
    * Update manager client.go
    
    * Update manager client.go
    
    * Update manager grpc server.go
    
    * Update manager grpc server and client
    
    ---------
    
    Signed-off-by: Jilks Smith <smithjilks@gmail.com>
    smithjilks authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    3c855e3 View commit details
    Browse the repository at this point in the history
  2. NOISSUE - Enable WASM Support and FileSystem Support (#189)

    * feat(algorithm): Add wasm as an algo type
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * feat(algorithm): Use filesystem to store results
    
    Move from unix socket for results storage to filesystem
    
    * test: test new filesystem changes
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * refactor(files): rename resultFile to resultsFilePath
    
    * feat(wasm-runtime): change from wasmtime to wasmedge
    
    Wasmedge enables easier directory mapping to get results
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * feat(algorithm): send results as zipped directory
    
    Create a new function to zip the results directory and send it back to the user
    
    * fix(wasm): runtime argument
    
    Fix the directory mapping for wasm runtime arguments
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * fix(errors): provide useful error message
    
    * chore(gitignore): add results zip to gitignore
    
    * feat(filesystem): Enable storing results on filesystem for python algos
    
    * refactor: revert to upstream cocos repo
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * fix: remove AddDataset from algorithm interface
    
    * fix: agent to handle results zipping
    
    * test: test zipping directories
    
    * refactor(agent): Handle file operations from agent
    
    * test: run test inside eos
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * refactor(test): Document and test algos are running
    
    Document steps on running the 2 python exampls and ensure they are running on eos
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    * fix: remove witheDataset option
    
    * test: test without dataset argument
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    ---------
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    rodneyosodo authored Aug 6, 2024
    Configuration menu
    Copy the full SHA
    afc306a View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2024

  1. PRISM-337: Add Filename to Dataset (#191)

    * add filename to dataset
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * update protoc
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    ---------
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    WashingtonKK authored Aug 7, 2024
    Configuration menu
    Copy the full SHA
    18cfa76 View commit details
    Browse the repository at this point in the history

Commits on Aug 8, 2024

  1. NOISSUE - Select from port range (#196)

    * select from port range
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix failing test
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * remove whitespace
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 8, 2024
    Configuration menu
    Copy the full SHA
    971e00a View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2024

  1. NOISSUE - Add optional Filename (#195)

    * add optional filename
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * cover all bases
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * maintain filename
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 9, 2024
    Configuration menu
    Copy the full SHA
    31391a3 View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. NOISSUE - Fix bug on same dataset provider for multiple datasets (#198)

    * fix bug on same dataset provider
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix failing test
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    f596702 View commit details
    Browse the repository at this point in the history
  2. bump port range (#206)

    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8f2cbd3 View commit details
    Browse the repository at this point in the history
  3. NOISSUE - Fix docs (#203)

    * fix docs
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix typos
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * cli
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * add build instructions
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * remove file
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    066dacd View commit details
    Browse the repository at this point in the history
  4. NOISSUE - Start Port Search At Known Port (#207)

    * feat(manager): start port search at minimum port range
    
    When getting free port to be use we start at the minimum port range i.e 6000. This makes the agent url more deterministic since in most cases the agent port will be 6000
    
    * fix(manager): Remove unused error channel
    
    The error channel is not used
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    
    ---------
    
    Signed-off-by: Rodney Osodo <socials@rodneyosodo.com>
    rodneyosodo authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    6aec555 View commit details
    Browse the repository at this point in the history
  5. COCOS-181 - Add failed state for algo execution (#197)

    * additional state failed
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * generate state string
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix logic
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix typo
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * conditional transition
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 20, 2024
    Configuration menu
    Copy the full SHA
    e4ef1aa View commit details
    Browse the repository at this point in the history

Commits on Aug 21, 2024

  1. COCOS-151 - Add compression/decompression option for CLI/Agent (#200)

    * on the fly compression
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * rename file-hash to checksum
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * check error properly
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix lint
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * fix connection handling
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    899bfb0 View commit details
    Browse the repository at this point in the history
  2. remove tmp directory (#204)

    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    f906593 View commit details
    Browse the repository at this point in the history
  3. COCOS-165 - Add Docker support (#180)

    * add docker support
    
    * add copyright clause
    
    * rebase docker support
    
    * address blank lines
    
    * update manual tests to include docker
    
    * fix algo test
    
    * fix docker command
    
    * add docker doc
    
    * fix AddDataset method
    
    * fixed lin_reg.py
    
    * rebsed docker implementation
    
    * fix NewAlgorithm error
    
    * change docker README.md based on rebase
    
    * fix docker README
    
    * fix docker.go gofumpt
    
    * add option for datasets and results mount
    
    * edit README for docker
    
    * make docker container run command a part of docker image
    
    * remove unused code
    
    * make /cocos the default directory
    
    * updated documentation
    
    * removed docker dir
    
    * rebased docker
    danko-miladinovic authored Aug 21, 2024
    Configuration menu
    Copy the full SHA
    ee83704 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Configuration menu
    Copy the full SHA
    4c80b57 View commit details
    Browse the repository at this point in the history
  2. NOISSUE: Return Response on Computation Termination. (#211)

    * send response to manager on computation termination
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * fix tests
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * refactor: enhance stop computation
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    * remove comment and add event
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    
    ---------
    
    Signed-off-by: WashingtonKK <washingtonkigan@gmail.com>
    WashingtonKK authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    7155027 View commit details
    Browse the repository at this point in the history
  3. COCOS-169 - Add support for algo arguments (#202)

    * custom args
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * DEBUG
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * args bug
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * switch to slice
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * add flags
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * switch to string array
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    c402248 View commit details
    Browse the repository at this point in the history
  4. COCOS-199 - Enable testing of SEV features on any machine (#205)

    * make attestation embeddable
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * mock backend info
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * embed files
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    * finish up
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    
    ---------
    
    Signed-off-by: Sammy Oina <sammyoina@gmail.com>
    SammyOina authored Aug 23, 2024
    Configuration menu
    Copy the full SHA
    bdbeb4e View commit details
    Browse the repository at this point in the history
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载