Giter Club home page Giter Club logo

documentation's People

Contributors

aarohib avatar alexshtin avatar antmendoza avatar axfelix avatar bergundy avatar dependabot[bot] avatar djmagee avatar djsanti avatar fairlydurable avatar feedmeapples avatar flossypurse avatar gracegardner avatar jsundai avatar lorensr avatar mjameswh avatar mnabe avatar napcs avatar rachfop avatar rylandg avatar seregazhuk avatar sergeybykov avatar spikhalskiy avatar sushisource avatar swyxio avatar taonic avatar tomwheeler avatar tsurdilo avatar vkarpov15 avatar wolfy-j avatar wxing1292 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

documentation's Issues

Temporal documentation should have information about Namespaces

Now there is literally no basic information about Namespaces in Temporal documentation.

You would expect to find the basic info about what Namespace on this page:
https://docs.temporal.io/docs/server/namespaces
But instead, this page is fully devoted to Multi-Cluster replication. There is no other place in server docs talking about namespaces.

You would also expect to find Namespace among basic Concepts: https://docs.temporal.io/docs/concepts/introduction
But there is nothing there. There is a page about task queues https://docs.temporal.io/docs/concepts/task-queues but this page doesn't mention namespaces and doesn't talk about relationships between task queues and namespaces.

It looks like right now Temporal users have no place to get familiar with the most basic Namespace concept right now.
I was able to find this page https://docs.temporal.io/docs/temporal-explained/introduction/#namespace using search, but this page/section is not presented on any main doc pages like:
https://docs.temporal.io/docs/concepts/introduction
or https://docs.temporal.io/docs/server/introduction

Testing Triagery

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Terminal ouput
If applicable, add screenshots or code blocks to help explain your problem. You can also use Loom to do short, free video bug reports.

Versions (please complete the following information where relevant):

  • OS: [e.g. Mac, Windows, Linux]
  • Temporal Version [e.g. 1.7.0?]
  • are you using Docker or Kubernetes or building Temporal from source?

Additional context
Add any other context about the problem here.

Possible relative link issue

Describe the bug
"Deterministic runtime" link seems to be relative and doesn't work in some cases.

To Reproduce
Steps to reproduce the behavior:
Per @dnr

if you do this:

  1. follow this link: https://docs.temporal.io/docs/node/introduction
  2. click "hello world in node" on the left
  3. url gets rewritten client-side to this: https://docs.temporal.io/docs/node/hello-world
  4. scroll down and click "deterministic runtime"
  5. it works
    but if you do this:
  6. follow this link: https://docs.temporal.io/docs/node/hello-world
  7. 301 redirect to same url but with a trailing slash
  8. scroll down and click "deterministic runtime"
  9. 404 (because it's a relative path and the "directory" is different)

Expected behavior
A clear and concise description of what you expected to happen.

Not to reach a 404 page.

[Bug] Edit Page and Scroll to top buttons overlap

Describe the bug

To Reproduce

  1. Go to https://docs.temporal.io/docs/java/activities/#activity-interface
  2. Scroll a little bit up so Scroll to top button appears
  3. Edit Page and Scroll to top buttons overflow

Expected behavior

Edit Page and Scroll to top buttons don't overflow

Screenshots/Terminal output

image

Versions

  • OS: [e.g. Mac, Windows, Linux]
  • Temporal Version [e.g. 1.7.0?]
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Add all `tctl` commands

Describe the bug
The tctl page should mention (even if briefly) all tctl commands.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'https://docs.temporal.io/docs/system-tools/tctl'
  2. Notice that tctl admin workflow delete is not mentioned on the page.

Expected behavior
All tctl commands should be mentioned, even if only very briefly.

Documentation Enhancement - Activity Registration

Expected Behavior

Documentation Enhancement

Actual Behavior

  1. Multiple Activity registration overwrites the previously registered Activities
    worker.registerActivitiesImplementations(new ActivityA());
    worker.registerActivitiesImplementations(new ActivityB());
    worker.registerActivitiesImplementations(new ActivityC());

This following approach works as expected. Since there can be only one registration it must be documented.
worker.registerActivitiesImplementations(new ActivityA(), new ActivityB(), new ActivityC());

  1. If I have multiple activities with the same activity method name, it throws that activity is registered already.

Instructions for adding new search attributes is confusing

Is your feature request related to a problem? Please describe.
When reading the documentation https://docs.temporal.io/docs/server/workflow-search#custom-attributes it should immediately be made clear that you need to manually set your new attributes.

The process is currently "hidden" down under the headline "Local testing", which feels odd in that it implies that you should only do this on your machine and there´s another way to handle things in a production environment.

Describe the solution you'd like
Change the documentation so that it's clear what the end user needs to do to get going - both "local testing" and "production".

What's the best practice for using custom search attributes in your temporal environment?

Additional context
My complaint is about the documentation, not about the system.

When running workflows/activities in testing environment temporal throws panic timeout 3s

Expected Behavior

To run successfully

Actual Behavior

--- FAIL: Test_Workflow (3.00s)
panic: test timeout: 3s, workflow stack: coroutine root [blocked on chan-2.Receive]:

Steps to Reproduce the Problem

Reproduction repository - https://github.com/yevgenypats/bug-repro

git clone  https://github.com/yevgenypats/bug-repro
go test .

I've added essentially a wait inside the activity and even though I've 10 seconds timeout in StartToCloseTimeout the test will always panic after 3 seconds. Anyidea? It essentially makes the testing infrastructure un-usable.

Home Page - use different colors for actual links and highlighted text

On the home page we currently use the same color text for links, as well as text that i supposed is meant to be highlighted but is actually not a link. This imo is very confusing. For example here:

Screen Shot 2021-08-28 at 6 50 48 PM

Those are not links (the greenish text) but have the same color as actual links on the same page.

Home page - "Microservices Orchestration" section text and link

Screen Shot 2021-08-28 at 6 36 54 PM

"Human-in-the-loop steps in case of failure":

  1. I think this is called just Human interactions/decision making. Also it's not only in case of failure but any decision (activity invocation) can have a human decision involved with it imo (calling a human decision service).
  2. The page section this "human-in-the-loop" link goes to says "human intervention step in the case of failure" so there is becomes "intervention", if possible let's at least try to keep those 2 consistent.
    Thanks!

[suggestion] document all event types

logging our internal discussion - suggesting to document all 40 event types to make them searchable

basically i envision a one sentence/one para description of what each is and, if warranted, where they come from, what they might mean, and implications of the more rarely seen types

i'd put this in a json or yml file, and then pipe to docusaurus somewhere, because we might also want to use this exact mapping of descriptions inside Temporal Web

Document periodic cleanup use case using CRON workflows

A common use case in all kinds of applications is periodic cleanups of all kinds of resources, typically run in a cron job.

Regular cron schedulers are sadly not fault tolerant though, so for long running cleanup tasks they are not necessarily the best tool.

Temporal also have cron support and can solve the problem in a fault tolerant way.

However, it adds an extra bit of work to the equation: workflows cannot run indefinitely on an infinite number of items. They need to be restarted at some point. For this, a proposed solution is:

I would start a child workflow from a cron workflow. The child can call continue as new as many times as necessary. The parent will get child completion only when the last run completes. - @mfateev

I think it would make sense to include this use case in the documentation, because it comes up more often than we might think.

More details in this thread: https://temporalio.slack.com/archives/CTRCR8RBP/p1610357452380800

Home page - Temporal section

Screen Shot 2021-08-28 at 6 59 48 PM

For people not familiar with Temporal this section not having like a "About Temporal" or some similar title is confusing.
When I looked at this page for the first time before joining I had 0 clue if Maxim and Samar are customers or users of Temporal or what , especially since section above shows the name title and company of the people that made the statements :)

docker-compose up does not work

This is what I got:

Digest: sha256:28a6905cf248df03163faa20c57f4da0e8747524de27047ee01040bbab5f5bff
Status: Downloaded newer image for temporalio/web:0.31.0
Creating c4milo_cassandra_1 ... done
Creating c4milo_temporal_1  ... error

ERROR: for c4milo_temporal_1  Cannot start service temporal: error while creating mount source path '/Users/config/dynamicconfig': mkdir /Users/config: permission denied

ERROR: for temporal  Cannot start service temporal: error while creating mount source path '/Users/config/dynamicconfig': mkdir /Users/config: permission denied
ERROR: Encountered errors while bringing up the project.

Relative paths broken in new versions

Whenever a new version is created some relative paths break. Specifically paths that are generated in the versioned content to reference components in the ROOT/src/components directory are being generated as ../src/components and actually need to be generated as ../../src/components.

To create a new working version these are the steps:

$ yarn run docusaurus docs:version <version string>

Then cd into versioned_docs and search for ../src and replace with ../../src

@feedmeapples has identified this issue as likely stemming from the node.js setup in this repo.

[Feature Request] Document TEMPORAL_DEBUG environment variable to assist in better debugging experience

Is your feature request related to a problem? Please describe.
Workflow fails with PotentialDeadlockException during debugging of workflows

Describe the solution you'd like
Temporal Java SDK has TEMPORAL_DEBUG environment variable that can be set to prevent workflow from throwing exceptions and provide better debugging experience. Unfortunately Temporal's Java SDK documentation is missing documenting this behavior as of now.

[Bug] Data Convert API link doesn't show relevant info

Describe the bug

To Reproduce

  1. Go to https://docs.temporal.io/docs/concepts/workers/#workers-can-be-encrypted-in-transit-and-at-rest
  2. Click on Data Converter API link, copying here: Data Converter API
  3. Shows up Java's SDK activity interface page which doesn't have any info on data converter API

Expected behavior

Should show up info specifically on Data Converter API and not necessarily for Java SDK

Screenshots/Terminal output

Versions

  • OS: [e.g. Mac, Windows, Linux]
  • Temporal Version [e.g. 1.7.0?]
  • Are you using Docker or Kubernetes or building Temporal from source?

Additional context

Home Page - large open space between top section and use cases

On the home page the top section with the title, getting started, video link and the sample code is pretty tightly packed.
After that there is an unnatural change of having a ton of space in the next two sections:

Screen Shot 2021-08-28 at 6 47 01 PM

It it possible to move those up a little by removing some of the space between things? It looks weird at least to me the way it is now.

Font color is broken for me

My docs site looks like this:

image

I'm on the latest Firefox/macOS. Microsoft Edge displays the font color okay.

I tried reloading, F12 - disable cache - reload, wiped the browser cache - with no improvement. No network or script errors are visible in the console.

"Glossary" not discoverable

hi gang!

I'm not sure how i found it but I randomly found https://docs.temporal.io/docs/learn-glossary/ yesterday. I find it very helpful for understanding Temporal. I was looking for it again today and couldnt find it. I realized this is because it is not in the left nav where i would expect it.

I'm not sure where you envision it - i was about to open a PR to add it to the sidebar (

items: [
'overview',
'workflows',
'activities',
'events',
'queries',
'task-queues',
'namespaces',
'system-architecture',
],
) but then the "learn_" prefix made me stop and think if you are setting up a separate learn section or something? So i figured i better file an issue.

Shawn

Testing of Triagery

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots/Terminal ouput
If applicable, add screenshots or code blocks to help explain your problem. You can also use Loom to do short, free video bug reports.

Versions (please complete the following information where relevant):

  • OS: [e.g. Mac, Windows, Linux]
  • Temporal Version [e.g. 1.7.0?]
  • are you using Docker or Kubernetes or building Temporal from source?

Additional context
Add any other context about the problem here.

Home Page - page background

The page background (stars) stop at the "Use Cases" section and then starts back up at the "Temporal Cloud" section. In-between its just black background.
Also why do we need those stars?

Stale content in "Accessing Activity Info" chapter

Direct link:
https://docs.temporal.io/docs/java-implementing-activities#accessing-activity-info

The Activity class provides ...

The current Activity class implementation doesn't provide neither Activity.getNamespace() nor Activity.getWorkflowExecution() static methods.

So the link is completely misleading. Also, it's not obvious how to actually get the workflow information (e.g. Memo content) from within the activity method.
what I could quickly come to:

        ActivityExecutionContext ctx = Activity.getExecutionContext();
        ListOpenWorkflowExecutionsResponse response = workflowClient().getWorkflowServiceStubs().blockingStub()
            .listOpenWorkflowExecutions(
                ListOpenWorkflowExecutionsRequest.newBuilder()
                    .setNamespace(NAMESPACE)
                    .setExecutionFilter(
                        WorkflowExecutionFilter.newBuilder()
                            .setWorkflowId(ctx.getInfo().getWorkflowId())
                            .setRunId(ctx.getInfo().getRunId())
                            .build()
                    )
                    .build());

        String name = null;
        if(response.getExecutionsCount()==1) {
            WorkflowExecutionInfo e = response.getExecutions(0);
            if (e.getMemo().getFieldsMap() != null && e.getMemo().getFieldsMap().get(NAME_FIELD) != null) {
                Payload payload = e.getMemo().getFieldsMap().get(NAME_FIELD);
                if (payload.getData() != null) {
                    try {
                        DataConverter dataConverter = DataConverter.getDefaultInstance();
                        name = dataConverter.fromPayload(payload, String.class, String.class);
                    } catch (Exception exception) {
                        // ignore
                    }
                }
            }
        }
        LOG.debug("Task name: {}", name);

Would you mind to advise if there is an easier way?

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.