Giter VIP home page Giter VIP logo

gangaextension's Introduction

gangaextension's People

Contributors

apsknight avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gangaextension's Issues

Make all SWAN tabs behave the same

Because the ganga tab looks like the other tabs in SWAN (projects, cernbox and sharing), they should all behave the same.
You already import the tree/main.min.js but not everything works. If you click "..." and then in "Running processes", nothing happens.
To fix this, add the corresponding html elements of the tree.html OR merge your part into the tree.html and use some ifs.

add a button to quickly access jobs tab

It would be good to quickly access the Ganga Jobs tab from the notebook page.

For example, a button that opens a new tab could be added in the toolbar on the right:

image

Delay rendering job widget

When job is submitted there is a considerable delay between the widget appears.

What is blocking and causing this delay?

Improve job detection regexp

Currently it will fail more complex job constructor:

image

Also you need to document current limitations, for example this code will not detect the job:

image

Exception: Incorrect index cache of 'jobs' object #4 was corrected!

Tested on swan-qa004 (with previously created job). I don't know how to reproduce it.

When job is accessed there is an exception: Incorrect index cache of 'jobs' object #4 was corrected!

This error disappeared after a while -- maybe the job was reloaded from disk?

Exception:

image

Job widget not updated if j.submit() in another cell

The first job I submitted (j.submit() in another cell!) stays in the submitted state in the widget.

The second job (submitted later) has completed (so the first one should be completed too).

image

On the monitoring page both are completed:

image

Bugs / Issues in Extension

Missing Features:

  • Implement Job Cancellation button.
  • Add Job Duration time column in Job Info.
  • Implement resubmit button for failed/killed jobs.
  • Add individual subjob info/status collapsible menu below job info row.

Known Bugs:

  • Handle execution of magic cell before kernel starts.
  • Create new thread for Ganga to avoid interruption of kernel.
  • Improve code quality and refactor Kernel and Cell Monitor code.
  • Filter out unnecessary CSS.

Unhandled exception

This happens where there is no kerberos ticket.

Problem 1: unhandled exception
Problem 2: it will likely cause the subsequent cell to hang forever

Correct behaviour should be: error message to the user, job not submitted (in new state).

Please check if you get the same problem with unhandled exception on Ganga without your modification.


image

image

add Architecure Diagram

Please add architecture diagram (draw.io) which shows how Ganga and Notebook components (threads, processes) interact with each other in a SWAN session.

job with REMOVED status

I submitted several jobs one after the other in the same cell.

image

The I opened the Jobs tab and I noticed that one of my jobs has REMOVE status (but it was submitted).

image

Could this be some race condition with widget/ganga communication if the same cell is re-evaluated to early and new job crated?

Detect multiple job defintions in the cell

Design choice is: one job per cell only. It needs documentation.

If more jobs detected in the cell then give a warning to the user: “Only displaying the first job” or alike.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.