mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-26 22:18:38 +00:00
3875db1974
Adds a read-only Actions job queue: running jobs first, then waiting jobs in the order a runner picks them up. It is shown instance-wide in the admin Actions section with owner, repository and status filters, and per repository in the Actions tab. Both lists refresh in place. Pending work is currently only visible per repository and newest-first, so nothing shows what is queued, in which order, or what occupies the runners. Reordering the queue will be proposed separately. A migration adds indexes for the runner pickup query and repository-scoped status lookups. * Fix #34198 <img width="1345" height="451" alt="image" src="https://github.com/user-attachments/assets/7d52ff76-81b4-44e8-b583-d7d89c9dffcd" /> <img width="1809" height="1134" alt="image" src="https://github.com/user-attachments/assets/4d56c0cb-bae7-4ce2-8f3c-75163b2bc7f4" /> --------- Co-authored-by: Zettat123 <zettat123@gmail.com> Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
declare module '*.svg' {
|
|
const value: string;
|
|
export default value;
|
|
}
|
|
|
|
declare module '*.txt' {
|
|
const value: string;
|
|
export default value;
|
|
}
|
|
|
|
declare module '*.vue' {
|
|
import type {DefineComponent} from 'vue';
|
|
const component: DefineComponent<unknown, unknown, any>;
|
|
export default component;
|
|
}
|
|
|
|
declare module 'idiomorph' {
|
|
interface Idiomorph {
|
|
morph(existing: Node | string, replacement: Node | string, options?: {
|
|
morphStyle: 'innerHTML' | 'outerHTML',
|
|
callbacks?: {
|
|
beforeNodeMorphed?: (oldNode: Node, newNode: Node) => boolean,
|
|
},
|
|
}): Node[];
|
|
}
|
|
export const Idiomorph: Idiomorph;
|
|
}
|
|
|
|
declare module 'swagger-ui-dist/swagger-ui-es-bundle.js' {
|
|
const value = await import('swagger-ui-dist');
|
|
export default value.SwaggerUIBundle;
|
|
}
|
|
|
|
declare module '@citation-js/core' {
|
|
export class Cite {
|
|
constructor(data: string);
|
|
format(format: string, options?: Record<string, any>): string;
|
|
}
|
|
export const plugins: {
|
|
config: {
|
|
get(name: string): any;
|
|
};
|
|
};
|
|
}
|
|
|
|
declare module '@citation-js/plugin-software-formats' {}
|
|
declare module '@citation-js/plugin-bibtex' {}
|
|
declare module '@citation-js/plugin-csl' {}
|